ADTF
|
Random access iterator interface. More...
Public Member Functions | |
virtual T * | Forward (size_t i_nIncrement) const =0 |
Increment iterator by n - may be used with mutable member iterators. More... | |
virtual T * | Backward (size_t i_nDecrement) const =0 |
Decrement iterator by n - may be used with mutable member iterators. More... | |
Public Member Functions inherited from IBidirectionalIterator< T > | |
virtual T * | Previous () const =0 |
Decrement iterator by one - may be used with mutable member iterators. More... | |
Public Member Functions inherited from IForwardIterator< T > | |
virtual T * | Next () const =0 |
Increment iterator by one - may be used with mutable member iterators. More... | |
Protected Member Functions | |
~IRandomAccessIterator ()=default | |
Default destructor. | |
Protected Member Functions inherited from IBidirectionalIterator< T > | |
~IBidirectionalIterator ()=default | |
Default destructor. | |
Protected Member Functions inherited from IForwardIterator< T > | |
~IForwardIterator ()=default | |
Default destructor. | |
Random access iterator interface.
Additionally providing methods Forward(size_t)
and Backward(size_t)
for POD random access iterator types.
T | Value type of the container the iterator operates on |
Definition at line 354 of file iterator_intf.h.
|
pure virtual |
Decrement iterator by n
- may be used with mutable member iterators.
[in] | i_nDecrement | Amount of decrements the iterator must go backward |
|
pure virtual |
Increment iterator by n
- may be used with mutable member iterators.
[in] | i_nIncrement | Amount of increments the iterator must go forward |