Base class for trie policies. More...
#include <trie_policy_base.hpp>
Public Types | |
typedef _ATraits | access_traits |
typedef _Alloc | allocator_type |
typedef node_const_iterator::value_type | const_iterator |
typedef node_iterator::value_type | iterator |
typedef base_type::key_const_reference | key_const_reference |
typedef base_type::key_type | key_type |
typedef null_type | metadata_type |
typedef Node_CItr | node_const_iterator |
typedef Node_Itr | node_iterator |
typedef allocator_type::size_type | size_type |
Protected Types | |
typedef rebind_v::const_pointer | const_pointer |
typedef rebind_v::const_reference | const_reference |
typedef Node_Itr::value_type | it_type |
typedef remove_const< key_type >::type | rckey_type |
typedef remove_const< value_type >::type | rcvalue_type |
typedef _Alloc::template rebind< rckey_type >::other | rebind_k |
typedef _Alloc::template rebind< rcvalue_type >::other | rebind_v |
typedef rebind_v::reference | reference |
typedef std::iterator_traits< it_type >::value_type | value_type |
Protected Member Functions | |
virtual const_iterator | end () const =0 |
virtual iterator | end ()=0 |
it_type | end_iterator () const |
virtual const access_traits & | get_access_traits () const =0 |
virtual node_const_iterator | node_begin () const =0 |
virtual node_iterator | node_begin ()=0 |
virtual node_const_iterator | node_end () const =0 |
virtual node_iterator | node_end ()=0 |
Static Protected Member Functions | |
static size_type | common_prefix_len (node_iterator, e_const_iterator, e_const_iterator, const access_traits &) |
static key_const_reference | extract_key (const_reference r_val) |
static iterator | leftmost_it (node_iterator) |
static bool | less (e_const_iterator, e_const_iterator, e_const_iterator, e_const_iterator, const access_traits &) |
static iterator | rightmost_it (node_iterator) |
Private Types | |
typedef branch_policy< Node_CItr, Node_Itr, _Alloc > | base_type |
typedef access_traits::const_iterator | e_const_iterator |
typedef std::pair< e_const_iterator, e_const_iterator > | prefix_range_t |
Base class for trie policies.
typedef _ATraits __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::access_traits |
typedef _Alloc __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::allocator_type |
|
private |
typedef node_const_iterator::value_type __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::const_iterator |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
typedef node_iterator::value_type __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::iterator |
typedef base_type::key_const_reference __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::key_const_reference |
typedef base_type::key_type __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::key_type |
typedef null_type __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::metadata_type |
typedef Node_CItr __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::node_const_iterator |
typedef Node_Itr __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::node_iterator |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
typedef allocator_type::size_type __gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >::size_type |
|
protectedinherited |
|
staticprotected |
|
protectedpure virtual |
|
protectedpure virtual |
|
inlineprotectedinherited |
References __gnu_pbds::detail::branch_policy< Node_CItr, Node_Itr, _Alloc >::end().
|
inlinestaticprotectedinherited |
|
protectedpure virtual |
|
staticprotected |
|
staticprotected |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
staticprotected |