Position with one index for e.g. array access. More...
#include <position.hpp>
Public Types | |
using | NestedPosition = T_NestedPosition |
See ArrayPosition. | |
Public Member Functions | |
ArrayPosition () | |
Constructor. | |
ArrayPosition (size_t const &data, NestedPosition const &inner) | |
Constructor. | |
bool | operator!= (ArrayPosition const &o) const |
Operator != also compares with nested data. | |
bool | operator< (ArrayPosition const &o) const |
Operator < also compares with nested data. | |
bool | operator<= (ArrayPosition const &o) const |
Operator <= also compares with nested data. | |
bool | operator== (ArrayPosition const &o) const |
Operator == also compares with nested data. | |
bool | operator> (ArrayPosition const &o) const |
Operator > also compares with nested data. | |
bool | operator>= (ArrayPosition const &o) const |
Operator >= also compares with nested data. | |
Public Attributes | |
size_t | data |
Array position index. | |
NestedPosition | inner |
Position of nested data. | |
Position with one index for e.g. array access.
Used for data that is allocated en bloc, e.g. BlockData.
T_NestedPosition | Position implementation |