2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
7 <title>tree_assoc_cntnr::const_node_iterator Interface
14 <tt><font color = "olive">tree_assoc_cntnr</font>::const_node_iterator
22 <p>Const node iterator.
30 Public Types and Constants:
35 <a href = "#link1">Iterator definitions.
41 <a href = "#link2">Value-type definitions.
56 <a href = "#link3">Constructors, destructor, and related.
62 <a href = "#link4">Access methods.
68 <a href = "#link5">Movement methods.
74 <a href = "#link6">Comparison methods.
87 <a name = "link1">Iterator definitions.
92 <table WIDTH = "100%" BORDER = "1">
93 <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>
98 <pre><a name = "iterator_category3735929377">iterator_category</a></pre>
104 <pre>trivial_iterator_tag</pre>
110 <p>Category. comment = </p>
119 <pre><a name = "difference_type3735930139">difference_type</a></pre>
125 <pre><b>void</b></pre>
131 <p>Difference type.</p>
141 <a name = "link2">Value-type definitions.
146 <p>Note that a node iterator's value type is actually a tree iterator.</p>
149 <table WIDTH = "100%" BORDER = "1">
150 <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>
155 <pre><a name = "value_type3735929645">value_type</a></pre>
161 <pre><a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#const_iterator3735930079">const_iterator</a></pre>
167 <p>Iterator's value type.</p>
176 <pre><a name = "pointer3735929328">pointer</a></pre>
182 <pre><a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#const_iterator3735930079">const_iterator</a> *</pre>
188 <p>Iterator's pointer type.</p>
197 <pre><a name = "const_pointer3735929974">const_pointer</a></pre>
203 <pre><a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#const_iterator3735930079">const_iterator</a> *</pre>
209 <p>Iterator's const pointer type.</p>
218 <pre><a name = "reference3735929502">reference</a></pre>
224 <pre><a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#const_iterator3735930079">const_iterator</a> &</pre>
230 <p>Iterator's reference type.</p>
239 <pre><a name = "const_reference3735930148">const_reference</a></pre>
245 <pre><b>const</b> <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#iterator3735929433">iterator</a> &</pre>
251 <p>Iterator's const reference type.</p>
261 <a name = "link3">Constructors, destructor, and related.
266 <table WIDTH = "100%" BORDER = "1">
267 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "40%" ALIGN = "left"><b>Description</b></TD><TD Width = "10%" ALIGN = "left"><b>Complexity Guarantee</b></TD><TD Width = "5%" ALIGN = "left"><b>Exception Guarantee</b></TD></TR>
274 (<b>const</b> node_pointer p_nd = NULL)</pre>
280 <p>Default constructor.</p>
286 <p> <i>O(1)</i> worst.</p>
292 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>
302 <a name = "link4">Access methods.
307 <table WIDTH = "100%" BORDER = "1">
308 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "40%" ALIGN = "left"><b>Description</b></TD><TD Width = "10%" ALIGN = "left"><b>Complexity Guarantee</b></TD><TD Width = "5%" ALIGN = "left"><b>Exception Guarantee</b></TD></TR>
313 <pre><b>inline</b> <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#const_iterator3735930079">const_iterator</a>
315 () <b>const</b></pre>
327 <p> <i>O(1)</i> worst.</p>
333 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>
343 <a name = "link5">Movement methods.
348 <table WIDTH = "100%" BORDER = "1">
349 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "40%" ALIGN = "left"><b>Description</b></TD><TD Width = "10%" ALIGN = "left"><b>Complexity Guarantee</b></TD><TD Width = "5%" ALIGN = "left"><b>Exception Guarantee</b></TD></TR>
354 <pre><b>inline</b> const_node_iterator
356 () <b>const</b></pre>
362 <p>Returns the <tt><b>const</b></tt> node <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#iterator3735929433">iterator</a> associated with the left node.</p>
368 <p> <i>O(1)</i> worst.</p>
374 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>
383 <pre><b>inline</b> const_node_iterator
385 () <b>const</b></pre>
391 <p>Returns the <tt><b>const</b></tt> node <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#iterator3735929433">iterator</a> associated with the right node.</p>
397 <p> <i>O(1)</i> worst.</p>
403 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>
413 <a name = "link6">Comparison methods.
418 <table WIDTH = "100%" BORDER = "1">
419 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "40%" ALIGN = "left"><b>Description</b></TD><TD Width = "10%" ALIGN = "left"><b>Complexity Guarantee</b></TD><TD Width = "5%" ALIGN = "left"><b>Exception Guarantee</b></TD></TR>
424 <pre><b>inline</b> <b>bool</b>
426 (<b>const</b> const_node_iterator &r_other) <b>const</b></pre>
432 <p>Compares content to a different <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#iterator3735929433">iterator</a> object.</p>
438 <p> <i>O(1)</i> worst.</p>
444 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>
453 <pre><b>inline</b> <b>bool</b>
455 (<b>const</b> const_node_iterator &r_other) <b>const</b></pre>
461 <p>Compares content (negatively) to a different <a href = "../../pb_assoc/doc/tree_assoc_cntnr.html#iterator3735929433">iterator</a> object.</p>
467 <p> <i>O(1)</i> worst.</p>
473 <a href = "exception_guarantees_specifics.html#cannot_throw_guarantee">3</a>