GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > Class Template Reference

Const node iterator. More...

#include <node_iterators.hpp>

Inheritance diagram for __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >:
Collaboration diagram for __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >:

Public Types

typedef Const_Iterator const_reference
 Iterator's __const reference type. More...
 
typedef trivial_iterator_difference_type difference_type
 Difference type. More...
 
typedef trivial_iterator_tag iterator_category
 Category. More...
 
typedef _Alloc::template rebind< metadata_type >::other::const_reference metadata_const_reference
 Const metadata reference type. More...
 
typedef Node::metadata_type metadata_type
 Metadata type. More...
 
typedef Const_Iterator reference
 Iterator's reference type. More...
 
typedef Const_Iterator value_type
 Iterator's value type. More...
 

Public Member Functions

 bin_search_tree_const_node_it_ (const node_pointer p_nd=0)
 
bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > get_l_child () const
 Returns the __const node iterator associated with the left node. More...
 
metadata_const_reference get_metadata () const
 Metadata access. More...
 
bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > get_r_child () const
 Returns the __const node iterator associated with the right node. More...
 
bool operator!= (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) const
 Compares (negatively) to a different iterator object. More...
 
const_reference operator* () const
 Access. More...
 
bool operator== (const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &other) const
 Compares to a different iterator object. More...
 

Public Attributes

node_pointer m_p_nd
 

Private Types

typedef _Alloc::template rebind< Node >::other::pointer node_pointer
 

Detailed Description

template<typename Node, class Const_Iterator, class Iterator, typename _Alloc>
class __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >

Const node iterator.

Member Typedef Documentation

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Const_Iterator __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::const_reference

Iterator's __const reference type.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef trivial_iterator_difference_type __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::difference_type

Difference type.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef trivial_iterator_tag __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::iterator_category

Category.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef _Alloc::template rebind<metadata_type>::other::const_reference __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::metadata_const_reference

Const metadata reference type.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Node::metadata_type __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::metadata_type

Metadata type.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef _Alloc::template rebind< Node>::other::pointer __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::node_pointer
private
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Const_Iterator __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::reference

Iterator's reference type.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
typedef Const_Iterator __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::value_type

Iterator's value type.

Constructor & Destructor Documentation

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
__gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::bin_search_tree_const_node_it_ ( const node_pointer  p_nd = 0)
inline

Member Function Documentation

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bin_search_tree_const_node_it_<Node, Const_Iterator, Iterator, _Alloc> __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_l_child ( ) const
inline
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
metadata_const_reference __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_metadata ( ) const
inline
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bin_search_tree_const_node_it_<Node, Const_Iterator, Iterator, _Alloc> __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::get_r_child ( ) const
inline
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bool __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator!= ( const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &  other) const
inline

Compares (negatively) to a different iterator object.

References __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::m_p_nd.

template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
const_reference __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator* ( ) const
inline
template<typename Node , class Const_Iterator , class Iterator , typename _Alloc >
bool __gnu_pbds::detail::bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc >::operator== ( const bin_search_tree_const_node_it_< Node, Const_Iterator, Iterator, _Alloc > &  other) const
inline

Member Data Documentation


The documentation for this class was generated from the following file: