ROSE
0.11.96.11
|
Combination user-defined value and ID number.
This class represents the user-defined value and an ID number and serves as the type of object stored by the underlying list.
Definition at line 130 of file IndexedList.h.
#include <IndexedList.h>
Public Member Functions | |
const size_t & | id () const |
Unique identification number. More... | |
Value & | value () |
Accessor for user-defined value. More... | |
const Value & | value () const |
Accessor for user-defined value. More... | |
Value & | operator* () |
Accessor for user-defined value. More... | |
const Value & | operator* () const |
Accessor for user-defined value. More... | |
Value * | operator-> () |
Accessor for user-defined value. More... | |
const Value * | operator-> () const |
Accessor for user-defined value. More... | |
|
inline |
Unique identification number.
Obtains the unique (within this container) identification number for a storage node. Identification numbers are zero through the size of the list (exclusive) but not necessarily in the same order as the nodes of the list. IDs are stable across insertion but not erasure. When a node is erased from the list, the node that had the highest ID number (if not the one being erased) is renumbered to fill the gap left by the one that was erased.
Definition at line 143 of file IndexedList.h.
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 151 of file IndexedList.h.
Referenced by Sawyer::Container::IndexedList< Edge, Allocator >::backValue(), Sawyer::Container::IndexedList< Edge, Allocator >::frontValue(), and Sawyer::Container::IndexedList< Edge, Allocator >::indexedValue().
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 152 of file IndexedList.h.
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 153 of file IndexedList.h.
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 154 of file IndexedList.h.
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 155 of file IndexedList.h.
|
inline |
Accessor for user-defined value.
The user defined value can be accessed by this method, which returns either a reference to a const value or a reference to a mutable value depending on whether this container is const or mutable.
Definition at line 156 of file IndexedList.h.