2 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
7 <title>tree_assoc_cntnr Interface
22 <p>A tree-based associative container.
27 <a href =
"../../../../include/ext/pb_assoc/assoc_cntnr.hpp"><tt>assoc_cntnr.hpp
</tt>
33 <a href =
"#link1">Template parameters.
39 <a href =
"#link2">Base classes.
45 Public Types and Constants:
50 <a href =
"#link3">Policy definitions.
65 <a href =
"#link4">Constructors, destructor, and related.
78 <a name =
"link1">Template parameters.
83 <table WIDTH =
"100%" BORDER =
"1">
84 <TR><TD Width =
"20%" ALIGN =
"left"><b>Parameter
</b></TD><TD Width =
"50%" ALIGN =
"left"><b>Description
</b></TD><TD Width =
"30%" ALIGN =
"left"><b>Default Value
</b></TD></TR>
89 <pre><a name =
"Key3735928856">Key
</a></pre>
110 <pre><a name =
"Data3735928937">Data
</a></pre>
131 <pre><a name =
"Cmp_Fn3735929122">Cmp_Fn
</a></pre>
137 <p>Comparison functor.
</p>
143 <pre>std::less
<<a href =
"#Key3735928856">Key
</a>></pre>
152 <pre><a name =
"DS_Tag3735929089">DS_Tag
</a></pre>
158 <p>Data-structure tag.
</p>
173 <pre><a name =
"Node_Updator3735929779">Node_Updator
</a></pre>
179 <p>Node updator type.
</p>
182 <p><a href =
"concepts.html#concepts_node_invariants">Node Invariants
</a> explains this concept.
</p>
188 <a href =
"null_node_updator.html"><tt>null_node_updator
</tt></a>
197 <pre><a name =
"Allocator3735929488">Allocator
</a></pre>
203 <p>Allocator type.
</p>
209 <pre>std::allocator
<<b>char
</b>></pre>
219 <a name =
"link2">Base classes.
224 <table WIDTH =
"100%" BORDER =
"1">
225 <TR><TD Width =
"80%" ALIGN =
"left"><b>Class
</b></TD><TD Width =
"20%" ALIGN =
"left"><b>Derivation Type
</b></TD></TR>
230 <pre>Depending on whether
<a href =
"#DS_Tag3735929089">DS_Tag
</a> is a type supporting reverse iteration,
<ol> <li> <a href =
"basic_tree_assoc_cntnr.html"><tt>basic_tree_assoc_cntnr
</tt></a> no reverse-iteration specialization
</li> <li> <a href =
"basic_tree_assoc_cntnr_rev_it.html"><tt>basic_tree_assoc_cntnr
</tt></a> reverse-iteration specialization
</li></ol></pre>
246 <a name =
"link3">Policy definitions.
251 <table WIDTH =
"100%" BORDER =
"1">
252 <TR><TD Width =
"30%" ALIGN =
"left"><b>Type
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Definition
</b></TD><TD Width =
"15%" ALIGN =
"left"><b>Description
</b></TD></TR>
257 <pre><a name =
"cmp_fn3735929186">cmp_fn
</a></pre>
263 <pre><a href =
"#Cmp_Fn3735929122">Cmp_Fn
</a></pre>
269 <p>Comparison functor type.
</p>
278 <pre><a name =
"node_updator3735929843">node_updator
</a></pre>
284 <pre><a href =
"#Node_Updator3735929779">Node_Updator
</a></pre>
290 <p>Node updator type.
</p>
300 <a name =
"link4">Constructors, destructor, and related.
305 <table WIDTH =
"100%" BORDER =
"1">
306 <TR><TD Width =
"45%" ALIGN =
"left"><b>Method
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Description
</b></TD></TR>
311 <pre> tree_assoc_cntnr
318 <p>Default constructor.
</p>
327 <pre> tree_assoc_cntnr
328 (
<b>const
</b> <a href =
"#cmp_fn3735929186">cmp_fn
</a> &r_cmp_fn)
</pre>
334 <p>Constructor taking some policy objects.
<font color =
"#666666"><tt>r_cmp_fn
</tt></font> will be copied by the
<a href =
"#Cmp_Fn3735929122"><tt>Cmp_Fn
</tt></a> object of the container object.
</p>
343 <pre> tree_assoc_cntnr
344 (
<b>const
</b> <a href =
"#cmp_fn3735929186">cmp_fn
</a> &r_cmp_fn,
345 <b>const
</b> <a href =
"#Node_Updator3735929779">Node_Updator
</a> &r_node_updator)
</pre>
351 <p>Constructor taking some policy objects.
<font color =
"#666666"><tt>r_cmp_fn
</tt></font> will be copied by the
<a href =
"#Cmp_Fn3735929122"><tt>Cmp_Fn
</tt></a> object of the container object, and
<font color =
"#666666"><tt>r_node_updator
</tt></font> will be copied by the
<a href =
"#Node_Updator3735929779"><tt>Node_Updator
</tt></a> object of the container object.
</p>
360 <pre><b>template
</b><
370 <p>Constructor taking iterators to a range of value_types. The value_types between
<font color =
"#666666"><tt>first_it
</tt></font> and
<font color =
"#666666"><tt>last_it
</tt></font> will be inserted into the container object.
</p>
379 <pre><b>template
</b><
384 <b>const
</b> <a href =
"#cmp_fn3735929186">cmp_fn
</a> &r_cmp_fn)
</pre>
390 <p>Constructor taking iterators to a range of value_types and some policy objects The value_types between
<font color =
"#666666"><tt>first_it
</tt></font> and
<font color =
"#666666"><tt>last_it
</tt></font> will be inserted into the container object.
<font color =
"#666666"><tt>r_cmp_fn
</tt></font> will be copied by the
<a href =
"#Cmp_Fn3735929122"><tt>Cmp_Fn
</tt></a> object of the container object.
</p>
399 <pre><b>template
</b><
404 <b>const
</b> <a href =
"#cmp_fn3735929186">cmp_fn
</a> &r_cmp_fn,
405 <b>const
</b> <a href =
"#Node_Updator3735929779">Node_Updator
</a> &r_node_updator)
</pre>
411 <p>Constructor taking iterators to a range of value_types and some policy objects The value_types between
<font color =
"#666666"><tt>first_it
</tt></font> and
<font color =
"#666666"><tt>last_it
</tt></font> will be inserted into the container object.
<font color =
"#666666"><tt>r_cmp_fn
</tt></font> will be copied by the
<a href =
"#Cmp_Fn3735929122"><tt>Cmp_Fn
</tt></a> object of the container object, and
<font color =
"#666666"><tt>r_node_updator
</tt></font> will be copied by the
<a href =
"#Node_Updator3735929779"><tt>Node_Updator
</tt></a> object of the container object.
</p>
420 <pre> tree_assoc_cntnr
421 (
<b>const
</b> <font color =
"olive">tree_assoc_cntnr
</font> &r_other)
</pre>
427 <p>Copy constructor.
</p>
453 <pre><font color =
"olive">tree_assoc_cntnr
</font> &
455 (
<b>const
</b> <font color =
"olive">tree_assoc_cntnr
</font> &r_other)
</pre>
461 <p>Assignment operator.
</p>
472 (
<font color =
"olive">tree_assoc_cntnr
</font> &r_other)
</pre>
478 <p>Swaps content.
</p>