1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <meta name="generator" content=
7 "HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />
9 <title>tree::const_node_iterator
11 <meta http-equiv="Content-Type" content=
12 "text/html; charset=us-ascii" />
18 "c2"><tt>tree</tt></span>::const_node_iterator</tt>
21 <p>Const node iterator.</p>
23 <p>This is an &qout;iterator to an iterator&qout; - it
24 iterates over nodes, and de-referencing it returns one of the
27 <h2><a name="link1" id="link1">Public Types and
30 <h3><a name="link2" id="link2">Iterator Definitions</a></h3>
32 <table class="c2" width="100%" border="1" summary="Types">
34 <td width="30%" align="left"><b>Type</b></td>
36 <td width="55%" align="left"><b>Definition</b></td>
38 <td width="15%" align="left"><b>Description</b></td>
44 <a name="iterator_category2821876439" id=
45 "iterator_category2821876439">iterator_category</a>
58 <p>This tag identifies that the iterator has none of the
59 STL's iterators' movement abilities.</p>
66 <a name="difference_type868028452" id=
67 "difference_type868028452">difference_type</a>
78 <p>Difference type.</p>
83 <h3><a name="link3" id="link3">Value-Type Definitions</a></h3>
85 <p>Note that a node iterator's value type is actually a tree
88 <table class="c2" width="100%" border="1" summary="Types">
90 <td width="30%" align="left"><b>Type</b></td>
92 <td width="55%" align="left"><b>Definition</b></td>
94 <td width="15%" align="left"><b>Description</b></td>
100 <a name="value_type279018186" id=
101 "value_type279018186">value_type</a>
108 "container_base.html#const_iterator98626788"><span class="c2"><tt>container_base</tt></span>::const_iterator</a>
113 <p>Iterator's value type.</p>
120 <a name="reference54418471" id="reference54418471">reference</a>
127 "container_base.html#const_iterator98626788"><span class="c2"><tt>container_base</tt></span>::const_iterator</a>
132 <p>Iterator's reference type.</p>
139 <a name="const_reference495461441" id=
140 "const_reference495461441">const_reference</a>
147 "container_base.html#const_iterator98626788"><span class="c2"><tt>container_base</tt></span>::const_iterator</a>
152 <p>Iterator's const <a href=
153 "#reference54418471"><tt>reference</tt></a> type.</p>
158 <h3><a name="link4" id="link4">Metadata Definitions</a></h3>
160 <p>These are only defined if <a href=
161 "basic_tree.html#Node_Update841554648"><span class="c2">
162 <tt>basic_tree</tt></span>::Node_Update</a>
163 is not <a href="null_tree_node_update.html"><span class=
164 "c2"><tt>null_tree_node_update</tt></span></a></p>
166 <table class="c2" width="100%" border="1" summary="Types">
168 <td width="30%" align="left"><b>Type</b></td>
170 <td width="55%" align="left"><b>Definition</b></td>
172 <td width="15%" align="left"><b>Description</b></td>
178 <a name="metadata_type2849297114" id=
179 "metadata_type2849297114">metadata_type</a>
185 <tt><b>typename</b></tt> <a href=
186 "basic_tree.html#Node_Update841554648"><span class="c2"><tt>basic_tree</tt></span>::Node_Update</a><tt>::metadata_type</tt>
191 <p>Metadata type.</p>
198 <a name="const_metadata_reference1108857465" id=
199 "const_metadata_reference1108857465">const_metadata_reference</a>
205 <b>typename</b> Allocator::<b>template</b> rebind<
207 "#metadata_type2849297114"><tt>metadata_type</tt></a>>::other::<a href="#const_reference495461441"><tt>const_reference</tt></a>
212 <p>Const metadata <a href=
213 "#reference54418471"><tt>reference</tt></a> type.</p>
218 <h2><a name="link5" id="link5">Public Methods</a></h2>
220 <h3><a name="link6" id="link6">Constructors, Destructor, and
223 <table class="c2" width="100%" border="1" summary="Methods">
225 <td width="45%" align="left"><b>Method</b></td>
227 <td width="55%" align="left"><b>Description</b></td>
240 <p>Default constructor.</p>
245 <h3><a name="link7" id="link7">Access Methods</a></h3>
247 <table class="c2" width="100%" border="1" summary="Methods">
249 <td width="45%" align="left"><b>Method</b></td>
251 <td width="55%" align="left"><b>Description</b></td>
257 <b>inline</b> <a href=
258 "#const_reference495461441"><tt>const_reference</tt></a>
270 <h3><a name="link8" id="link8">Metadata Access Methods</a></h3>
272 <p>These are only defined if <a href=
273 "basic_tree.html#Node_Update841554648"><span class="c2">
274 <tt>basic_tree</tt></span>::Node_Update</a>
275 is not <a href="null_tree_node_update.html"><span class=
276 "c2"><tt>null_tree_node_update</tt></span></a></p>
278 <table class="c2" width="100%" border="1" summary="Methods">
280 <td width="45%" align="left"><b>Method</b></td>
282 <td width="55%" align="left"><b>Description</b></td>
288 <b>inline</b> <a href=
289 "#const_metadata_reference1108857465"><tt>const_metadata_reference</tt></a>
296 <p>Metadata access.</p>
301 <h3><a name="link9" id="link9">Movement Methods</a></h3>
303 <table class="c2" width="100%" border="1" summary="Methods">
305 <td width="45%" align="left"><b>Method</b></td>
307 <td width="55%" align="left"><b>Description</b></td>
313 <b>inline</b> <span class="c2"><tt>const_node_iterator</tt></span>
320 <p>Returns the const node iterator associated with the
328 <b>inline</b> <span class="c2"><tt>const_node_iterator</tt></span>
335 <p>Returns the const node iterator associated with the
341 <h3><a name="link10" id="link10">Comparison Methods</a></h3>
343 <table class="c2" width="100%" border="1" summary="Methods">
345 <td width="45%" align="left"><b>Method</b></td>
347 <td width="55%" align="left"><b>Description</b></td>
353 <b>inline</b> <b>bool</b>
355 (<b>const</b> <span class=
356 "c2"><tt>const_node_iterator</tt></span> &other) <b>const</b>
361 <p>Compares to a different iterator object.</p>
368 <b>inline</b> <b>bool</b>
370 (<b>const</b> <span class=
371 "c2"><tt>const_node_iterator</tt></span> &other) <b>const</b>
376 <p>Compares (negatively) to a different iterator