X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fext%2Fpb_ds%2Ftrie_prefix_search_node_update.html;fp=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fext%2Fpb_ds%2Ftrie_prefix_search_node_update.html;h=e136495c584119d5124e8ef16a63ea55151f65e8;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libstdc++-v3/doc/html/ext/pb_ds/trie_prefix_search_node_update.html b/libstdc++-v3/doc/html/ext/pb_ds/trie_prefix_search_node_update.html new file mode 100644 index 00000000..e136495c --- /dev/null +++ b/libstdc++-v3/doc/html/ext/pb_ds/trie_prefix_search_node_update.html @@ -0,0 +1,628 @@ + + + + + + + trie_prefix_search_node_update Interface + + + + +
+

trie_prefix_search_node_update Interface

+ +

A node updater that allows tries to be searched for the + range of values that match a certain prefix.

+ +

Defined in: trie_policy.hpp

+ +

Template Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterDescriptionDefault Value
+
+class Const_Node_Iterator
+
+
+

Const node iterator type.

+
-
+
+class Node_Iterator
+
+
+

Node iterator type.

+
-
+
+class E_Access_Traits
+
+
+

Comparison functor.

+
-
+
+class Allocator
+
+
+

Allocator type.

+
-
+ +

Public Types and + Constants

+ +

Key-Type Definitions

+ + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+key_type
+
+
+
+The instantiating container's key type.
+
+
+

Key type.

+
+
+const_key_reference
+
+
+
+The instantiating container's const key reference type.
+
+
+

Const key reference.

+
+ +

Policy Definitions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+e_access_traits
+
+
+
+E_Access_Traits
+
+
+

Element access traits.

+
+
+const_e_iterator
+
+
+
+typename e_access_traits::const_iterator
+
+
+

Const element iterator.

+
+
+allocator
+
+
+
+Allocator
+
+
+

Allocator + type.

+
+ +

General Definitions

+ + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+size_type
+
+
+
+typename allocator::size_type
+
+
+

Size type.

+
+ +

Metadata-Type + Definitions

+ + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+metadata_type
+
+
+
+__gnu_pbds::detail::null_node_metadata
+
+
+

Metadata type.

+
+ +

Iterator Definitions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+const_node_iterator
+
+
+
+Const_Node_Iterator
+
+
+

Const node iterator type.

+
+
+node_iterator
+
+
+
+Node_Iterator
+
+
+

Node iterator type.

+
+
+const_iterator
+
+
+
+typename const_node_iterator::value_type
+
+
+

Const iterator type.

+
+
+iterator
+
+
+
+typename node_iterator::value_type
+
+
+

Iterator type.

+
+ +

Public Methods

+ +

Find Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
+
+std::pair<
+    const_iterator,
+    const_iterator>
+  prefix_range
+  (const_key_reference r_key) const
+
+
+

Finds the const iterator range + corresponding to all values whose prefixes match + r_key.

+
+
+std::pair<
+    iterator,
+    iterator>
+  prefix_range
+  (const_key_reference r_key)
+
+
+

Finds the iterator range + corresponding to all values whose prefixes match + r_key.

+
+
+std::pair<
+    const_iterator,
+    const_iterator>
+  prefix_range
+  (const_e_iterator b,
+    const_e_iterator e) const
+
+
+

Finds the const iterator range + corresponding to all values whose prefixes match [b, + e).

+
+
+std::pair<
+    iterator,
+    iterator>
+  prefix_range
+  (const_e_iterator b,
+    const_e_iterator e)
+
+
+

Finds the iterator range + corresponding to all values whose prefixes match [b, + e).

+
+ +

Protected Methods

+ +

Operators

+ + + + + + + + + + + + + +
MethodDescription
+
+inline void
+  operator()
+  (node_iterator node_it,
+    const_node_iterator end_nd_it) const
+
+
+

Called to update a node's metadata.

+
+ +

Private Methods

+ +

Overrides

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
+
+virtual const_iterator
+  end
+  () const = 0
+
+
+

Returns the const iterator associated with + the just-after last element.

+
+
+virtual iterator
+  end
+  () = 0
+
+
+

Returns the iterator associated with + the just-after last element.

+
+
+virtual const_node_iterator
+  node_begin
+  () const = 0
+
+
+

Returns the const_node_iterator + associated with the trie's root node.

+
+
+virtual node_iterator
+  node_begin
+  () = 0
+
+
+

Returns the node_iterator + associated with the trie's root node.

+
+
+virtual const_node_iterator
+  node_end
+  () const = 0
+
+
+

Returns the const_node_iterator + associated with a just-after leaf node.

+
+
+virtual node_iterator
+  node_end
+  () = 0
+
+
+

Returns the node_iterator + associated with a just-after leaf node.

+
+
+virtual const e_access_traits &
+  get_e_access_traits
+  () const = 0
+
+
+

Access to the cmp_fn object.

+
+
+ +