STLdoc
STLdocumentation
|
#include <ext/pb_ds/trie_policy.hpp>
Public Types | |
enum | { reverse = Reverse } |
enum | { min_e_val = Min_E_Val, max_e_val = Max_E_Val, max_size = max_e_val - min_e_val + 1 } |
typedef _Alloc::size_type | size_type |
typedef String | key_type |
typedef _Alloc::template rebind< key_type > | __rebind_k |
typedef __rebind_k::other::const_reference | key_const_reference |
typedef detail::__conditional_type < Reverse, typename String::const_reverse_iterator, typename String::const_iterator > ::__type | const_iterator |
Element const iterator type. More... | |
typedef std::iterator_traits < const_iterator >::value_type | e_type |
Element type. More... | |
Public Member Functions | |
PB_DS_STATIC_ASSERT (min_max_size, max_size >=2) | |
Static Public Member Functions | |
static const_iterator | begin (key_const_reference) |
static const_iterator | end (key_const_reference) |
static size_type | e_pos (e_type e) |
Maps an element to a position. More... | |
Static Private Member Functions | |
static const_iterator | begin_imp (key_const_reference, detail::false_type) |
static const_iterator | begin_imp (key_const_reference, detail::true_type) |
static const_iterator | end_imp (key_const_reference, detail::false_type) |
static const_iterator | end_imp (key_const_reference, detail::true_type) |
Static Private Attributes | |
static detail::integral_constant< int, Reverse > | s_rev_ind |
Element access traits for string types.
String | String type. |
Min_E_Val | Minimal element value. |
Max_E_Val | Maximum element value. |
Reverse | Reverse iteration should be used. Default: false. |
_Alloc | Allocator type. |
typedef _Alloc::template rebind<key_type> __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::__rebind_k |
typedef detail::__conditional_type<Reverse, typename String::const_reverse_iterator, typename String::const_iterator>::__type __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::const_iterator |
Element const iterator type.
typedef std::iterator_traits<const_iterator>::value_type __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::e_type |
Element type.
typedef __rebind_k::other::const_reference __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::key_const_reference |
typedef String __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::key_type |
typedef _Alloc::size_type __gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::size_type |
anonymous enum |
anonymous enum |
|
inlinestatic |
Returns a const_iterator to the first element of key_const_reference agumnet.
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
Maps an element to a position.
|
inlinestatic |
Returns a const_iterator to the after-last element of key_const_reference argument.
|
inlinestaticprivate |
|
inlinestaticprivate |
__gnu_pbds::trie_string_access_traits< String, Min_E_Val, Max_E_Val, Reverse, _Alloc >::PB_DS_STATIC_ASSERT | ( | min_max_size | , |
max_size >= | 2 | ||
) |
|
staticprivate |