Const range-type iterator. More...
#include <const_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 | |
const_iterator_ () | |
Default constructor. 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... | |
const_reference | operator* () const |
Access. More... | |
const_iterator_ & | operator++ () |
Increments. More... | |
const_iterator_ | operator++ (int) |
Increments. More... | |
const_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 point_const_iterator_ | base_type |
Protected Member Functions | |
const_iterator_ (const_pointer_ p_value, PB_DS_GEN_POS pos, const 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 |
Const range-type iterator.
|
protected |
typedef const_pointer_ const_iterator_::const_pointer |
Iterator's const pointer type.
typedef const_reference_ const_iterator_::const_reference |
Iterator's const reference type.
typedef _Alloc::difference_type const_iterator_::difference_type |
Difference type.
typedef std::forward_iterator_tag const_iterator_::iterator_category |
Category.
typedef pointer_ const_iterator_::pointer |
Iterator's pointer type.
typedef reference_ const_iterator_::reference |
Iterator's reference type.
typedef value_type_ const_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.
|
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.
|
inlineinherited |
Access.
References _GLIBCXX_DEBUG_ASSERT, and point_const_iterator_::m_p_value.
|
inline |
Increments.
References m_p_tbl, point_const_iterator_::m_p_value, and m_pos.
|
inline |
Increments.
References m_p_tbl, point_const_iterator_::m_p_value, and m_pos.
|
inlineinherited |
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 |
|
protected |
Pointer to the table object which created the iterator (used for incrementing its position.
Referenced by operator++(), and iterator_::operator++().
|
protectedinherited |
Referenced by iterator_::operator const point_iterator_(), iterator_::operator point_iterator_(), point_iterator_::operator!=(), point_const_iterator_::operator!=(), iterator_::operator*(), point_const_iterator_::operator*(), operator++(), iterator_::operator++(), iterator_::operator->(), point_const_iterator_::operator->(), point_iterator_::operator==(), and point_const_iterator_::operator==().
|
protected |
Referenced by operator++(), and iterator_::operator++().