.TH "__gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc >" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc > \- A node updator that allows tries to be searched for the range of values that match a certain prefix\&. .SH SYNOPSIS .br .PP .PP Inherits \fB__gnu_pbds::detail::trie_policy_base< Node_CItr, Node_Itr, _ATraits, _Alloc >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef access_traits::const_iterator \fBa_const_iterator\fP" .br .RI "Const element iterator\&. " .ti -1c .RI "typedef _ATraits \fBaccess_traits\fP" .br .RI "Element access traits\&. " .ti -1c .RI "typedef _Alloc \fBallocator_type\fP" .br .RI "_Alloc type\&. " .ti -1c .RI "typedef node_const_iterator::value_type \fBconst_iterator\fP" .br .ti -1c .RI "typedef node_iterator::value_type \fBiterator\fP" .br .ti -1c .RI "typedef base_type::key_const_reference \fBkey_const_reference\fP" .br .ti -1c .RI "typedef base_type::key_type \fBkey_type\fP" .br .ti -1c .RI "typedef \fBnull_type\fP \fBmetadata_type\fP" .br .ti -1c .RI "typedef Node_CItr \fBnode_const_iterator\fP" .br .ti -1c .RI "typedef Node_Itr \fBnode_iterator\fP" .br .ti -1c .RI "typedef allocator_type::size_type \fBsize_type\fP" .br .RI "Size type\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBstd::pair\fP< iterator, iterator > \fBprefix_range\fP (\fBa_const_iterator\fP, \fBa_const_iterator\fP)" .br .RI "Finds the iterator range corresponding to all values whose prefixes match [b, e)\&. " .ti -1c .RI "\fBstd::pair\fP< const_iterator, const_iterator > \fBprefix_range\fP (\fBa_const_iterator\fP, \fBa_const_iterator\fP) const" .br .RI "Finds the const iterator range corresponding to all values whose prefixes match [b, e)\&. " .ti -1c .RI "\fBstd::pair\fP< iterator, iterator > \fBprefix_range\fP (key_const_reference)" .br .RI "Finds the iterator range corresponding to all values whose prefixes match r_key\&. " .ti -1c .RI "\fBstd::pair\fP< const_iterator, const_iterator > \fBprefix_range\fP (key_const_reference) const" .br .RI "Finds the const iterator range corresponding to all values whose prefixes match r_key\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBoperator()\fP (node_iterator node_it, node_const_iterator end_nd_it) const" .br .RI "Called to update a node's metadata\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_pbds::trie_prefix_search_node_update< Node_CItr, Node_Itr, _ATraits, _Alloc >" A node updator that allows tries to be searched for the range of values that match a certain prefix\&. .PP Definition at line 155 of file trie_policy\&.hpp\&. .SH "Member Typedef Documentation" .PP .SS "template typedef access_traits::const_iterator \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::\fBa_const_iterator\fP" .PP Const element iterator\&. .PP Definition at line 168 of file trie_policy\&.hpp\&. .SS "template typedef _ATraits \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::\fBaccess_traits\fP" .PP Element access traits\&. .PP Definition at line 165 of file trie_policy\&.hpp\&. .SS "template typedef _Alloc \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::\fBallocator_type\fP" .PP _Alloc type\&. .PP Definition at line 171 of file trie_policy\&.hpp\&. .SS "template typedef allocator_type::size_type \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::\fBsize_type\fP" .PP Size type\&. .PP Definition at line 174 of file trie_policy\&.hpp\&. .SH "Member Function Documentation" .PP .SS "template void \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::operator() (node_iterator node_it, node_const_iterator end_nd_it) const\fC [inline]\fP, \fC [protected]\fP" .PP Called to update a node's metadata\&. .SS "template \fBstd::pair\fP \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::prefix_range (\fBa_const_iterator\fP, \fBa_const_iterator\fP)" .PP Finds the iterator range corresponding to all values whose prefixes match [b, e)\&. .SS "template \fBstd::pair\fP \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::prefix_range (\fBa_const_iterator\fP, \fBa_const_iterator\fP) const" .PP Finds the const iterator range corresponding to all values whose prefixes match [b, e)\&. .SS "template \fBstd::pair\fP \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::prefix_range (key_const_reference)" .PP Finds the iterator range corresponding to all values whose prefixes match r_key\&. .SS "template \fBstd::pair\fP \fB__gnu_pbds::trie_prefix_search_node_update\fP< Node_CItr, Node_Itr, _ATraits, _Alloc >::prefix_range (key_const_reference) const" .PP Finds the const iterator range corresponding to all values whose prefixes match r_key\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.