![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/index-iter.hpp"
Implementation of a »IterStateCore« to access the container through an embedded index variable.
Definition at line 46 of file index-iter.hpp.
Public Types | |
| using | ResVal = decltype(data_->operator[](0)) |
| using | value_type = meta::RefTraits< ResVal >::Value |
| using | reference = meta::RefTraits< ResVal >::Reference |
| using | IterWrapper = lib::IterStateWrapper< IndexAccessCore > |
Public Attributes | |
| PTR | data_ {} |
| size_t | idx_ {0} |
Public Member Functions | |
| bool | checkPoint () const |
| reference | yield () const |
| void | iterNext () |
| bool | isValidIDX (size_t idx) const |
Friends | |
| bool | operator== (IndexAccessCore const &c1, IndexAccessCore const &c2) |
| bool | operator!= (IndexAccessCore const &c1, IndexAccessCore const &c2) |
Definition at line 51 of file index-iter.hpp.
| using value_type = meta::RefTraits<ResVal>::Value |
Definition at line 53 of file index-iter.hpp.
| using reference = meta::RefTraits<ResVal>::Reference |
Definition at line 54 of file index-iter.hpp.
| using IterWrapper = lib::IterStateWrapper<IndexAccessCore> |
Definition at line 82 of file index-iter.hpp.
|
inline |
Definition at line 57 of file index-iter.hpp.
References IndexAccessCore< PTR >::idx_, and IndexAccessCore< PTR >::isValidIDX().
Here is the call graph for this function:
|
inline |
Definition at line 63 of file index-iter.hpp.
References IndexAccessCore< PTR >::data_, and IndexAccessCore< PTR >::idx_.
|
inline |
Definition at line 69 of file index-iter.hpp.
References IndexAccessCore< PTR >::idx_.
|
inline |
Definition at line 76 of file index-iter.hpp.
References IndexAccessCore< PTR >::data_.
Referenced by IndexAccessCore< PTR >::checkPoint().
Here is the caller graph for this function:| PTR data_ {} |
Definition at line 48 of file index-iter.hpp.
Referenced by IndexAccessCore< PTR >::isValidIDX(), and IndexAccessCore< PTR >::yield().
| size_t idx_ {0} |
Definition at line 49 of file index-iter.hpp.
Referenced by IndexAccessCore< PTR >::checkPoint(), IndexAccessCore< PTR >::iterNext(), and IndexAccessCore< PTR >::yield().
|
friend |
Definition at line 85 of file index-iter.hpp.
|
friend |
Definition at line 89 of file index-iter.hpp.
Collaboration diagram for IndexAccessCore< PTR >: