Range-type iterator. More...
#include <iterator.hpp>
Public Types | |
typedef const_pointer_ | const_pointer |
Iterator's const pointer type. More... | |
typedef const_reference_ | const_reference |
Iterator's const reference type. More... | |
typedef _Alloc::difference_type | difference_type |
Difference type. More... | |
typedef std::forward_iterator_tag | iterator_category |
Category. More... | |
typedef pointer_ | pointer |
Iterator's pointer type. More... | |
typedef reference_ | reference |
Iterator's reference type. More... | |
typedef value_type_ | value_type |
Iterator's value type. More... | |
Public Member Functions | |
iterator_ () | |
Default constructor. More... | |
operator const point_iterator_ () const | |
Conversion to a point-type iterator. More... | |
operator point_iterator_ () | |
Conversion to a point-type iterator. More... | |
bool | operator!= (const point_iterator_ &other) const |
Compares content (negatively) to a different iterator object. More... | |
bool | operator!= (const point_const_iterator_ &other) const |
Compares content (negatively) to a different iterator object. More... | |
reference | operator* () const |
Access. More... | |
iterator_ & | operator++ () |
Increments. More... | |
iterator_ | operator++ (int) |
Increments. More... | |
pointer | operator-> () const |
Access. More... | |
bool | operator== (const point_iterator_ &other) const |
Compares content to a different iterator object. More... | |
bool | operator== (const point_const_iterator_ &other) const |
Compares content to a different iterator object. More... | |
Protected Types | |
typedef const_iterator_ | base_type |
Protected Member Functions | |
iterator_ (pointer p_value, PB_DS_GEN_POS pos, PB_DS_CLASS_C_DEC *p_tbl) | |
Constructor used by the table to initiate the generalized pointer and position (e.g., this is called from within a find() of a table. More... | |
Protected Attributes | |
const PB_DS_CLASS_C_DEC * | m_p_tbl |
Pointer to the table object which created the iterator (used for incrementing its position. More... | |
const_pointer | m_p_value |
PB_DS_GEN_POS | m_pos |
Friends | |
class | PB_DS_CLASS_C_DEC |
Range-type iterator.
|
protected |
typedef const_pointer_ iterator_::const_pointer |
Iterator's const pointer type.
typedef const_reference_ iterator_::const_reference |
Iterator's const reference type.
typedef _Alloc::difference_type iterator_::difference_type |
Difference type.
typedef std::forward_iterator_tag iterator_::iterator_category |
Category.
typedef pointer_ iterator_::pointer |
Iterator's pointer type.
typedef reference_ iterator_::reference |
Iterator's reference type.
typedef value_type_ iterator_::value_type |
Iterator's value type.
|
inline |
Default constructor.
|
inlineprotected |
Constructor used by the table to initiate the generalized pointer and position (e.g., this is called from within a find() of a table.
|
inline |
Conversion to a point-type iterator.
References point_const_iterator_::m_p_value, and point_const_iterator_::point_iterator_.
|
inline |
Conversion to a point-type iterator.
References point_const_iterator_::m_p_value, and point_const_iterator_::point_iterator_.
|
inlineinherited |
Compares content (negatively) to a different iterator object.
References point_iterator_::m_p_value, and point_const_iterator_::m_p_value.
|
inlineinherited |
Compares content (negatively) to a different iterator object.
References point_const_iterator_::m_p_value.
|
inline |
Access.
References _GLIBCXX_DEBUG_ASSERT, and point_const_iterator_::m_p_value.
|
inline |
Increments.
References const_iterator_::m_p_tbl, point_const_iterator_::m_p_value, and const_iterator_::m_pos.
|
inline |
Increments.
References const_iterator_::m_p_tbl, point_const_iterator_::m_p_value, and const_iterator_::m_pos.
|
inline |
Access.
References _GLIBCXX_DEBUG_ASSERT, and point_const_iterator_::m_p_value.
|
inlineinherited |
Compares content to a different iterator object.
References point_iterator_::m_p_value, and point_const_iterator_::m_p_value.
|
inlineinherited |
Compares content to a different iterator object.
References point_const_iterator_::m_p_value.
|
friend |
|
protectedinherited |
Pointer to the table object which created the iterator (used for incrementing its position.
Referenced by const_iterator_::operator++(), and operator++().
|
protectedinherited |
Referenced by operator const point_iterator_(), operator point_iterator_(), point_iterator_::operator!=(), point_const_iterator_::operator!=(), operator*(), point_const_iterator_::operator*(), const_iterator_::operator++(), operator++(), operator->(), point_const_iterator_::operator->(), point_iterator_::operator==(), and point_const_iterator_::operator==().
|
protectedinherited |
Referenced by const_iterator_::operator++(), and operator++().