Const point-type iterator. More...
#include <const_iterator.hpp>
Public Types | |
typedef base_type::const_pointer | const_pointer |
Iterator's const pointer type. More... | |
typedef base_type::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 base_type::pointer | pointer |
Iterator's pointer type. More... | |
typedef base_type::reference | reference |
Iterator's reference type. More... | |
typedef base_type::value_type | value_type |
Iterator's value type. More... | |
Public Member Functions | |
binary_heap_const_iterator_ (entry_pointer p_e) | |
binary_heap_const_iterator_ () | |
Default constructor. More... | |
binary_heap_const_iterator_ (const binary_heap_const_iterator_ &other) | |
Copy constructor. More... | |
bool | operator!= (const binary_heap_const_iterator_ &other) const |
Compares content (negatively) to a different iterator object. More... | |
bool | operator!= (const binary_heap_point_const_iterator_ &other) const |
Compares content (negatively) to a different iterator object. More... | |
const_reference | operator* () const |
Access. More... | |
binary_heap_const_iterator_ & | operator++ () |
binary_heap_const_iterator_ | operator++ (int) |
const_pointer | operator-> () const |
Access. More... | |
bool | operator== (const binary_heap_const_iterator_ &other) const |
Compares content to a different iterator object. More... | |
bool | operator== (const binary_heap_point_const_iterator_ &other) const |
Compares content to a different iterator object. More... | |
Public Attributes | |
entry_pointer | m_p_e |
Private Types | |
typedef binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc > | base_type |
typedef base_type::entry_pointer | entry_pointer |
Private Member Functions | |
void | inc () |
Const point-type iterator.
|
private |
typedef base_type::const_pointer __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::const_pointer |
Iterator's const pointer type.
typedef base_type::const_reference __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::const_reference |
Iterator's const reference type.
typedef _Alloc::difference_type __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::difference_type |
Difference type.
|
private |
typedef std::forward_iterator_tag __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::iterator_category |
Category.
typedef base_type::pointer __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::pointer |
Iterator's pointer type.
typedef base_type::reference __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::reference |
Iterator's reference type.
typedef base_type::value_type __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::value_type |
Iterator's value type.
|
inline |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inlineprivate |
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
Referenced by __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator++().
|
inline |
Compares content (negatively) to a different iterator object.
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
|
inlineinherited |
Compares content (negatively) to a different iterator object.
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
|
inlineinherited |
Access.
References _GLIBCXX_DEBUG_ASSERT, __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e, and __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::to_ptr().
|
inline |
References _GLIBCXX_DEBUG_ASSERT, __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::inc(), and __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
Referenced by __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator++().
|
inline |
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e, and __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator++().
|
inlineinherited |
Access.
References _GLIBCXX_DEBUG_ASSERT, __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e, and __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::to_ptr().
|
inline |
Compares content to a different iterator object.
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
|
inlineinherited |
Compares content to a different iterator object.
References __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::m_p_e.
|
inherited |
Referenced by __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::inc(), __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator!=(), __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator!=(), __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator*(), __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator++(), __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator->(), __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator==(), __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator==(), and __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::to_ptr().