ADTF
|
POD forward iterator type using a forward iterator interface to iterate over a sequence. More...
Public Types | |
typedef T | value_type |
value type | |
typedef forward_iterator< T > | self_type |
self type | |
typedef T * | pointer |
value pointer type | |
typedef const T * | const_pointer |
const value pointer type | |
typedef T & | reference |
value reference type | |
typedef const T & | const_reference |
const value reference type | |
typedef std::forward_iterator_tag | iterator_category |
category of the iterator | |
typedef std::ptrdiff_t | difference_type |
pointer difference type | |
Public Member Functions | |
self_type | operator++ () |
Pre-increment operator using iterator interface method Next() More... | |
self_type | operator++ (int32_t) |
Post-increment operator. More... | |
pointer | operator-> () |
Pointer operator. More... | |
const_pointer | operator-> () const |
Pointer operator const version. More... | |
reference | operator* () |
Dereference operator. More... | |
const_reference | operator* () const |
Dereference operator const version. More... | |
Private Types | |
typedef std::conditional< std::is_const< value_type >::value, const IForwardIterator< T > *, IForwardIterator< T > * >::type | iterator_interface_pointer |
const correct pointer to the iterator interface used to increment this iterator | |
Private Attributes | |
iterator_interface_pointer | m_pIt |
Pointer to iterator interface providing Next() | |
pointer | m_pCur |
Pointer to the current value inside the sequence. | |
POD forward iterator type using a forward iterator interface to iterate over a sequence.
Objects of this type are restricted to be correctly assigned only by friend type iterator_adapter
T | Value type of the container to iterator over |
Definition at line 37 of file iterator_intf.h.
|
inline |
Dereference operator.
Definition at line 77 of file iterator_intf.h.
References forward_iterator< T >::m_pCur.
|
inline |
Dereference operator const version.
Definition at line 83 of file iterator_intf.h.
References forward_iterator< T >::m_pCur.
|
inline |
Pre-increment operator using iterator interface method Next()
Definition at line 53 of file iterator_intf.h.
References forward_iterator< T >::m_pCur, and forward_iterator< T >::m_pIt.
|
inline |
Post-increment operator.
Definition at line 59 of file iterator_intf.h.
|
inline |
Pointer operator.
Definition at line 65 of file iterator_intf.h.
References forward_iterator< T >::m_pCur.
|
inline |
Pointer operator const version.
Definition at line 71 of file iterator_intf.h.
References forward_iterator< T >::m_pCur.