GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc > Class Template Reference

Const node reference. More...

#include <node_iterators.hpp>

Inheritance diagram for __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >:
Collaboration diagram for __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >:

Public Types

typedef _Alloc::template rebind< typename remove_const< Value_Type >::type >::other::const_pointer const_reference
 
typedef trivial_iterator_difference_type difference_type
 
typedef trivial_iterator_tag iterator_category
 
typedef _Alloc::template rebind< metadata_type >::other::const_reference metadata_const_reference
 
typedef Metadata_Type metadata_type
 
typedef _Alloc::template rebind< typename remove_const< Value_Type >::type >::other::const_pointer reference
 
typedef _Alloc::template rebind< Value_Type >::other::const_pointer value_type
 

Public Member Functions

 ov_tree_node_const_it_ (const_pointer p_nd=0, const_pointer p_begin_nd=0, const_pointer p_end_nd=0, const_metadata_pointer p_metadata=0)
 
this_type get_l_child () const
 Returns the node iterator associated with the left node. More...
 
metadata_const_reference get_metadata () const
 
this_type get_r_child () const
 Returns the node iterator associated with the right node. More...
 
bool operator!= (const this_type &other) const
 
const_reference operator* () const
 
bool operator== (const this_type &other) const
 

Public Attributes

pointer m_p_begin_value
 
pointer m_p_end_value
 
const_metadata_pointer m_p_metadata
 
pointer m_p_value
 

Protected Types

typedef _Alloc::template rebind< Metadata_Type >::other::const_pointer const_metadata_pointer
 
typedef _Alloc::template rebind< Value_Type >::other::const_pointer const_pointer
 
typedef _Alloc::template rebind< Value_Type >::other::pointer pointer
 
typedef ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc > this_type
 

Static Protected Member Functions

template<typename Ptr >
static Ptr mid_pointer (Ptr p_begin, Ptr p_end)
 

Detailed Description

template<typename Value_Type, typename Metadata_Type, typename _Alloc>
class __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >

Const node reference.

Member Typedef Documentation

template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< Metadata_Type>::other::const_pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::const_metadata_pointer
protected
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< Value_Type>::other::const_pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::const_pointer
protected
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< typename remove_const< Value_Type>::type>::other::const_pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::const_reference
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef trivial_iterator_difference_type __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::difference_type
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef trivial_iterator_tag __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::iterator_category
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< metadata_type>::other::const_reference __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::metadata_const_reference
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef Metadata_Type __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::metadata_type
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< Value_Type>::other::pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::pointer
protected
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< typename remove_const< Value_Type>::type>::other::const_pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::reference
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef ov_tree_node_const_it_<Value_Type, Metadata_Type, _Alloc> __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::this_type
protected
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
typedef _Alloc::template rebind< Value_Type>::other::const_pointer __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::value_type

Constructor & Destructor Documentation

template<typename Value_Type , typename Metadata_Type , typename _Alloc >
__gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::ov_tree_node_const_it_ ( const_pointer  p_nd = 0,
const_pointer  p_begin_nd = 0,
const_pointer  p_end_nd = 0,
const_metadata_pointer  p_metadata = 0 
)
inline

Member Function Documentation

template<typename Value_Type , typename Metadata_Type , typename _Alloc >
metadata_const_reference __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::get_metadata ( ) const
inline
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
template<typename Ptr >
static Ptr __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::mid_pointer ( Ptr  p_begin,
Ptr  p_end 
)
inlinestaticprotected
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
bool __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::operator!= ( const this_type other) const
inline
template<typename Value_Type , typename Metadata_Type , typename _Alloc >
const_reference __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::operator* ( ) const
inline

Member Data Documentation


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