Scroll to navigation

__gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >(3cxx) __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >(3cxx)

NAME

__gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc > - Const node reference.

SYNOPSIS

#include <node_iterators.hpp>

Inherited by __gnu_pbds::detail::ov_tree_node_it_< Value_Type, Metadata_Type, _Alloc >.

Public Types


typedef rebind_traits< _Alloc, typenameremove_const< Value_Type >::type >::const_pointer const_reference
typedef trivial_iterator_difference_type difference_type
typedef trivial_iterator_tag iterator_category
typedef rebind_traits< _Alloc, metadata_type >::const_reference metadata_const_reference
typedef Metadata_Type metadata_type
typedef rebind_traits< _Alloc, typenameremove_const< Value_Type >::type >::const_pointer reference
typedef rebind_traits< _Alloc, Value_Type >::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. metadata_const_reference get_metadata () const
this_type get_r_child () const
Returns the node iterator associated with the right node. 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 rebind_traits< _Alloc, Metadata_Type >::const_pointer const_metadata_pointer
typedef rebind_traits< _Alloc, Value_Type >::const_pointer const_pointer
typedef rebind_traits< _Alloc, Value_Type >::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 Function Documentation

template<typename Value_Type , typename Metadata_Type , typename _Alloc > this_type __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::get_l_child () const [inline]

Returns the node iterator associated with the left node.

template<typename Value_Type , typename Metadata_Type , typename _Alloc > this_type __gnu_pbds::detail::ov_tree_node_const_it_< Value_Type, Metadata_Type, _Alloc >::get_r_child () const [inline]

Returns the node iterator associated with the right node.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++