|
My Project
|
#include <STLExtras.h>


Public Member Functions | |
| ptrdiff_t | operator- (const indexed_accessor_iterator &rhs) const |
| bool | operator== (const indexed_accessor_iterator &rhs) const |
| bool | operator< (const indexed_accessor_iterator &rhs) const |
| DerivedT & | operator+= (ptrdiff_t offset) |
| DerivedT & | operator-= (ptrdiff_t offset) |
| ptrdiff_t | getIndex () const |
| Returns the current index of the iterator. More... | |
| const BaseT & | getBase () const |
| Returns the current base of the iterator. More... | |
Protected Member Functions | |
| indexed_accessor_iterator (BaseT base, ptrdiff_t index) | |
Protected Attributes | |
| BaseT | base |
| ptrdiff_t | index |
A utility class used to implement an iterator that contains some base object and an index. The iterator moves the index but keeps the base constant.
|
inlineprotected |
|
inline |
Returns the current base of the iterator.
|
inline |
Returns the current index of the iterator.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
1.8.13