SheafSystem
0.0.0.0
|
Record index equivalent to namespace_relative_member_index and namespace_relative_subposet_index. More...
#include <record_index.h>
Public Types | |
typedef namespace_relative_record_index_pod_type | pod_type |
The POD (plain old data) type associated this. More... | |
Public Member Functions | |
namespace_relative_record_index () | |
Default constructor. More... | |
namespace_relative_record_index (const namespace_relative_record_index &xother) | |
Copy constructor. More... | |
namespace_relative_record_index & | operator= (const namespace_relative_record_index &xother) |
Assignment operator. More... | |
bool | operator== (const namespace_relative_record_index &xother) const |
Equality operator. More... | |
bool | is_valid () const |
True if this is a valid id. More... | |
void | invalidate () |
Make this invalid. More... | |
pod_type | pod () const |
The "plain old data" storage of this. More... | |
void | put_pod (pod_type xpod) |
Sets pod() to xpod. More... | |
Static Public Member Functions | |
static const namespace_relative_record_index & | INVALID () |
The invalid id. More... | |
Public Attributes | |
record_index | poset_id |
The record index of the poset relative to the namespace. More... | |
record_index | member_id |
The record index of the member relative to the poset. More... | |
Record index equivalent to namespace_relative_member_index and namespace_relative_subposet_index.
Definition at line 67 of file record_index.h.
The POD (plain old data) type associated this.
Definition at line 74 of file record_index.h.
|
inline |
Default constructor.
Definition at line 79 of file record_index.h.
References sheaf::is_valid().
|
inline |
|
inlinestatic |
The invalid id.
Definition at line 216 of file record_index.h.
References is_valid().
|
inline |
Make this invalid.
Definition at line 195 of file record_index.h.
References sheaf::scoped_index::invalidate(), and sheaf::is_valid().
|
inline |
True if this is a valid id.
Definition at line 175 of file record_index.h.
References sheaf::scoped_index::is_valid().
Referenced by INVALID().
|
inline |
|
inline |
Equality operator.
Definition at line 153 of file record_index.h.
|
inline |
The "plain old data" storage of this.
Definition at line 238 of file record_index.h.
References sheaf::scoped_index::pod().
Referenced by sheaf::poset_scaffold::convert_subposet_id_to_record_id().
|
inline |
Sets pod() to xpod.
Definition at line 250 of file record_index.h.
References sheaf::is_valid(), and sheaf::scoped_index::put_pod().
record_index sheaf::namespace_relative_record_index::member_id |
The record index of the member relative to the poset.
Definition at line 104 of file record_index.h.
Referenced by sheaf::poset_scaffold::convert_subposet_id_to_record_id(), operator=(), and operator==().
record_index sheaf::namespace_relative_record_index::poset_id |
The record index of the poset relative to the namespace.
Definition at line 94 of file record_index.h.
Referenced by sheaf::poset_scaffold::convert_record_id_to_member_id(), sheaf::poset_scaffold::convert_record_id_to_subposet_id(), sheaf::poset_scaffold::convert_subposet_id_to_record_id(), operator=(), and operator==().