__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >(3cxx)

NAME
__gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata > - Internal node type, PATRICIA tree.

SYNOPSIS

#include <pat_trie_base.hpp>

Inherits __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata >.

  Classes

struct const_iterator
Constant child iterator.
struct iterator
Child iterator.

  Public Types

enum { arr_size }
typedef _Alloc::template rebind< _ATraits > __rebind_at
typedef _Alloc::template rebind< node_pointer >::other __rebind_np
typedef base_type::allocator_type _Alloc
typedef base_type::access_traits access_traits
typedef _Alloc allocator_type
typedef _Node_base< _ATraits, Metadata > base_type
typedef __rebind_np::pointer node_pointer_pointer
typedef __rebind_np::reference node_pointer_reference
typedef _Alloc::size_type size_type
typedef base_type::type_traits type_traits
typedef type_traits::value_type value_type

  Public Member Functions

_Inode (size_type, const a_const_iterator)
node_pointer add_child (node_pointer, a_const_iterator, a_const_iterator, a_const_pointer)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
iterator get_child_it (a_const_iterator, a_const_iterator, a_const_pointer)
node_pointer get_child_node (a_const_iterator, a_const_iterator, a_const_pointer)
node_const_pointer get_child_node (a_const_iterator, a_const_iterator, a_const_pointer) const
size_type get_e_ind () const
node_const_pointer get_join_child (node_const_pointer, a_const_pointer) const
node_pointer get_join_child (node_pointer, a_const_pointer)
node_pointer get_lower_bound_child_node (a_const_iterator, a_const_iterator, size_type, a_const_pointer)
leaf_pointer leftmost_descendant ()
leaf_const_pointer leftmost_descendant () const
a_const_iterator pref_b_it () const
a_const_iterator pref_e_it () const
void remove_child (iterator)
void remove_child (node_pointer)
void replace_child (node_pointer, a_const_iterator, a_const_iterator, a_const_pointer)
leaf_pointer rightmost_descendant ()
leaf_const_pointer rightmost_descendant () const
bool should_be_mine (a_const_iterator, a_const_iterator, size_type, a_const_pointer) const
void update_prefixes (a_const_pointer)

  Public Attributes

node_pointer m_p_parent
const node_type m_type

Detailed Description

  template<typename _ATraits, typename Metadata>
struct __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >"Internal node type, PATRICIA tree.

Definition at line 211 of file pat_trie_base.hpp.

Member Typedef Documentation

  template<typename _ATraits , typename Metadata > typedef _Alloc::template rebind<_ATraits> __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata >::__rebind_at [inherited]

Definition at line 111 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef _Alloc::template rebind<node_pointer>::other __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::__rebind_np

Definition at line 243 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef base_type::allocator_type __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::_Alloc

Definition at line 218 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef base_type::access_traits __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::access_traits

Definition at line 216 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef _Alloc __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::allocator_type

Definition at line 219 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef _Node_base<_ATraits, Metadata> __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::base_type

Definition at line 214 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef __rebind_np::pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer_pointer

Definition at line 244 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef __rebind_np::reference __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer_reference

Definition at line 245 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef _Alloc::size_type __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::size_type

Definition at line 220 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef base_type::type_traits __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::type_traits

Definition at line 215 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > typedef type_traits::value_type __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::value_type

Definition at line 217 of file pat_trie_base.hpp.

Member Enumeration Documentation

  template<typename _ATraits , typename Metadata > anonymous enum

Definition at line 247 of file pat_trie_base.hpp.

Constructor & Destructor Documentation

  template<typename _ATraits , typename Metadata > __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::_Inode (size_type len, const a_const_iterator it)

Definition at line 1017 of file pat_trie_base.hpp.

Member Function Documentation

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::add_child (node_pointer p_nd, a_const_iterator b_it, a_const_iterator e_it, a_const_pointer p_traits) [inline]

Definition at line 1152 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::begin ()

Definition at line 1059 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::begin () const

Definition at line 1049 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::end ()

Definition at line 1078 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::const_iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::end () const

Definition at line 1068 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_child_it (a_const_iterator b_it, a_const_iterator e_it, a_const_pointer p_traits) [inline]

Definition at line 1095 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_child_node (a_const_iterator b_it, a_const_iterator e_it, a_const_pointer p_traits) [inline]

Definition at line 1084 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_const_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_child_node (a_const_iterator b_it, a_const_iterator e_it, a_const_pointer p_traits) const [inline]

Definition at line 1107 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > size_type __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_e_ind () const [inline]

Definition at line 453 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_const_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_join_child (node_const_pointer p_nd, a_const_pointer p_tr) const [inline]

Definition at line 1169 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_join_child (node_pointer p_nd, a_const_pointer p_traits) [inline]

Definition at line 1179 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::node_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::get_lower_bound_child_node (a_const_iterator b_it, a_const_iterator e_it, size_type checked_ind, a_const_pointer p_traits) [inline]

Definition at line 1114 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::leaf_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::leftmost_descendant ()

Definition at line 1280 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::leaf_const_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::leftmost_descendant () const

Definition at line 1292 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::a_const_iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::pref_b_it () const [inline]

Definition at line 1240 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::a_const_iterator __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::pref_e_it () const [inline]

Definition at line 1246 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > void __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::remove_child (iterator it)

Definition at line 1221 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > void __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::remove_child (node_pointer p_nd)

Definition at line 1206 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > void __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::replace_child (node_pointer p_nd, a_const_iterator b_it, a_const_iterator e_it, a_const_pointer p_traits)

Definition at line 1227 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::leaf_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::rightmost_descendant ()

Definition at line 1298 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > pat_trie_base::_Inode< _ATraits, Metadata >::leaf_const_pointer __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::rightmost_descendant () const

Definition at line 1315 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > bool __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::should_be_mine (a_const_iterator b_it, a_const_iterator e_it, size_type checked_ind, a_const_pointer p_traits) const

Definition at line 1252 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > void __gnu_pbds::detail::pat_trie_base::_Inode< _ATraits, Metadata >::update_prefixes (a_const_pointer p_traits)

Definition at line 1028 of file pat_trie_base.hpp.

Member Data Documentation

  template<typename _ATraits , typename Metadata > node_pointer __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata >::m_p_parent [inherited]

Definition at line 105 of file pat_trie_base.hpp.

  template<typename _ATraits , typename Metadata > const node_type __gnu_pbds::detail::pat_trie_base::_Node_base< _ATraits, Metadata >::m_type [inherited]

Definition at line 106 of file pat_trie_base.hpp.

Author

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