From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libstdc++-v3/doc/html/ext/pb_ds/tree.html | 516 ++++++++++++++++++++++++++++++ 1 file changed, 516 insertions(+) create mode 100644 libstdc++-v3/doc/html/ext/pb_ds/tree.html (limited to 'libstdc++-v3/doc/html/ext/pb_ds/tree.html') diff --git a/libstdc++-v3/doc/html/ext/pb_ds/tree.html b/libstdc++-v3/doc/html/ext/pb_ds/tree.html new file mode 100644 index 000000000..3202a6e9f --- /dev/null +++ b/libstdc++-v3/doc/html/ext/pb_ds/tree.html @@ -0,0 +1,516 @@ + + + + + + + tree Interface + + + + +
+

tree Interface

+ +

A concrete basic tree-based associative container.

+ +

Defined in: assoc_container.hpp

+ +

Template Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterDescriptionDefault Value
+
+typename Key
+
+
+

Key type.

+
-
+
+typename Mapped
+
+
+

Mapped type.

+
-
+
+class Cmp_Fn 
+
+
+

Comparison functor.

+
+
+std::less<Key>
+
+
+
+class Tag 
+
+
+

Mapped-structure tag.

+
rb_tree_tag
+
+template< 
+  typename Const_Node_Iterator, 
+  typename Node_Iterator, 
+  class Cmp_Fn_, 
+  typename Allocator_>
+class Node_Update 
+
+
+

Node updater type.

+ +

Design::Tree-Based + Containers::Node Invariants explains this + concept.

+
null_tree_node_update
+
+class Allocator 
+
+
+

Allocator type.

+
+
+std::allocator<char>
+
+
+ +

Base Classes

+ + + + + + + + + + + + + +
ClassDerivation Type
+
+basic_tree
+
+
+

public

+
+ +

Public Types and + Constants

+ +

Policy Definitions

+ + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+cmp_fn
+
+
+
+Cmp_Fn
+
+
+

Comparison functor type.

+
+ +

Iterator Definitions

+ + + + + + + + + + + + + + + + + + + + + + + + + +
TypeDefinitionDescription
+
+const_node_iterator
+
+
+
+const_node_iterator
+
+
+

Const node iterator.

+
+
+node_iterator
+
+
+
+node_iterator
+
+
+

Node iterator.

+
+ +

Public Methods

+ +

Constructors, Destructor, and + Related

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
+
+  tree
+  ()
+
+
+

Default constructor.

+
+
+  tree
+  (const cmp_fn &r_cmp_fn)
+
+
+

Constructor taking some policy objects. r_cmp_fn will be copied by the + Cmp_Fn object of the + container object.

+
+
+template<
+    class It>
+  tree
+  (It first_it, 
+    It last_it)
+
+
+

Constructor taking iterators to a range of + value_types. The value_types between first_it and last_it will be inserted into the + container object.

+
+
+template<
+    class It>
+  tree
+  (It first_it, 
+    It last_it,
+    const cmp_fn &r_cmp_fn)
+
+
+

Constructor taking iterators to a range of value_types + and some policy objects The value_types between + first_it and + last_it will be inserted + into the container object. r_cmp_fn will be copied by the + cmp_fn object of the + container object.

+
+
+  tree
+  (const tree &other)
+
+
+

Copy constructor.

+
+
+virtual 
+  ~tree
+  ()
+
+
+

Destructor.

+
+
+tree &
+  operator=
+  (const tree &other)
+
+
+

Assignment operator.

+
+
+void
+  swap
+  (tree &other)
+
+
+

Swaps content.

+
+ +

Policy Access Methods

+ + + + + + + + + + + + + + + + + + + +
MethodDescription
+
+cmp_fn &
+  get_cmp_fn
+  ()
+
+
+

Access to the cmp_fn object.

+
+
+const cmp_fn &
+  get_cmp_fn
+  () const
+
+
+

Const access to the cmp_fn object.

+
+ +

Node-Iteration Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
+
+node_iterator
+  node_begin
+  ()
+
+
+

Returns a node_iterator + corresponding to the node at the root of the tree.

+
+
+const_node_iterator
+  node_begin
+  () const
+
+
+

Returns a const_node_iterator + corresponding to the node at the root of the tree.

+
+
+node_iterator
+  node_end
+  ()
+
+
+

Returns a node_iterator + corresponding to a node just after a leaf of the + tree.

+
+
+const_node_iterator
+  node_end
+  () const
+
+
+

Returns a const_node_iterator + corresponding to a node just after a leaf of the + tree.

+
+
+ + -- cgit v1.2.3