ADTF
|
Adapter for beginning and end iterators which are pointers (e.g. More...
Public Types | |
typedef T | value_type |
value type | |
typedef iterator_adapter< value_type, pointer_iterator > | self_type |
self type | |
typedef const value_type * | const_iterator |
const iterator type | |
typedef std::conditional< std::is_const< value_type >::value, const_iterator, value_type * >::type | iterator |
iterator type | |
Public Member Functions | |
iterator | begin () const |
Get pointer to the beginning of the container sequence (STL compliant) More... | |
iterator | end () const |
Get pointer to the end of the container sequence (STL compliant) More... | |
const_iterator | cbegin () const |
Get const pointer to the beginning of the container sequence (STL compliant) More... | |
const_iterator | cend () const |
Get const pointer to the end of the container sequence (STL compliant) More... | |
Static Public Member Functions | |
static self_type | create (iterator i_oBegin, iterator i_oEnd) |
Create the adapter by assigning begin and end iterators (pointers) More... | |
Private Attributes | |
iterator | m_oBegin |
pointer to the beginning of the containers values | |
iterator | m_oEnd |
pointer past the last element of the container values | |
Adapter for beginning and end iterators which are pointers (e.g.
std::array<>::iterator)
T | Value type of the container both end and begin iterators operate on |
Definition at line 255 of file iterator_intf.h.
|
inline |
Get pointer to the beginning of the container sequence (STL compliant)
Definition at line 269 of file iterator_intf.h.
References iterator_adapter< T, IteratorType >::m_oBegin.
|
inline |
Get const pointer to the beginning of the container sequence (STL compliant)
Definition at line 281 of file iterator_intf.h.
References iterator_adapter< T, IteratorType >::begin().
|
inline |
Get const pointer to the end of the container sequence (STL compliant)
Definition at line 287 of file iterator_intf.h.
References iterator_adapter< T, IteratorType >::end().
Create the adapter by assigning begin and end iterators (pointers)
[in] | i_oBegin | Pointer to the beginning of the container sequence |
[in] | i_oEnd | Pointer to the end of the container sequence |
self_type
Definition at line 295 of file iterator_intf.h.
References iterator_adapter< T, IteratorType >::m_oBegin, and iterator_adapter< T, IteratorType >::m_oEnd.
|
inline |
Get pointer to the end of the container sequence (STL compliant)
Definition at line 275 of file iterator_intf.h.
References iterator_adapter< T, IteratorType >::m_oEnd.