Iterator base, const be parameterized with 'T' or 'const T'. More...
#include <index_space.hh>
Public Member Functions | |
iterator_base_ (storage_t *s, const id_storage_t &items, size_t index, size_t end) | |
Initialize iterator from items and range. | |
iterator_base_ (const storage_t *s, const id_storage_t &items, size_t index, size_t end) | |
Initialize iterator from items and range. | |
bool | operator== (const iterator_base_ &itr) const |
Equality operator. | |
bool | operator!= (const iterator_base_ &itr) const |
Inequality operator. | |
bool | operator< (const iterator_base_ &itr) const |
Less than operator. | |
bool | operator<= (const iterator_base_ &itr) const |
Less than equal operator. | |
bool | operator> (const iterator_base_ &itr) const |
Greater than operator. | |
bool | operator>= (const iterator_base_ &itr) const |
Greater than equal operator. | |
size_t | operator- (const iterator_base_ &itr) const |
Difference. | |
auto | get_ (size_t index) |
Helper method. Get item at index. | |
auto | operator[] (size_t index) const |
Get item at index. | |
Protected Attributes | |
const id_storage_t * | items_ |
size_t | index_ |
size_t | end_ |
storage_t * | s_ |
Iterator base, const be parameterized with 'T' or 'const T'.