Dead
[official-gcc.git] / gomp-20050608-branch / libstdc++-v3 / docs / html / ext / pb_assoc / order_statistics_node_updator.html
bloba9acbb408674f8d7499f70dd8b824e884e82d612
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <html>
6 <head>
7 <title>order_statistics_node_updator Interface
8 </title>
10 </head>
12 <body>
13 <h1>
14 <tt>order_statistics_node_updator
15 </tt>
17 Interface
20 </h1>
22 <p>Functor updating ranks of entries.
23 </p>
25 <ol>
26 <li>
27 <a href = "../../../../include/ext/pb_assoc/order_statistics_key.hpp"><tt>order_statistics_key.hpp</tt>
28 </a>
30 </li>
32 <li>
33 <a href = "#link1">Template parameters.
34 </a>
36 </li>
38 <li>
39 Public Types and Constants:
42 <ol>
43 <li>
44 <a href = "#link2">Policy definitions.
45 </a>
47 </li>
49 <li>
50 <a href = "#link3">Key-type definitions.
51 </a>
53 </li>
55 </ol>
57 </li>
59 <li>
60 Public Methods:
63 <ol>
64 <li>
65 <a href = "#link4">Constructors, destructor, and related.
66 </a>
68 </li>
70 </ol>
72 </li>
74 </ol>
77 <h2>
78 <a name = "link1">Template parameters.
79 </a>
81 </h2>
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>
87 <tr>
88 <td>
89 <pre><a name = "Key3735928856">Key</a></pre>
92 </td>
94 <td>
95 <p>Key type.</p>
98 </td>
100 <td>
104 </td>
106 </tr>
108 <tr>
109 <td>
110 <pre><a name = "Allocator3735929488">Allocator</a></pre>
113 </td>
115 <td>
116 <p>Allocator type.</p>
119 <p>The allocator is only used for definitions, e.g., size_type, pointer, and reference.</p>
122 </td>
124 <td>
125 <pre>std::allocator&lt;<b>char</b>&gt;</pre>
128 </td>
130 </tr>
132 </table>
134 <h2>
135 <a name = "link2">Policy definitions.
136 </a>
138 </h2>
140 <table WIDTH = "100%" BORDER = "1">
141 <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>
144 <tr>
145 <td>
146 <pre><a name = "allocator3735929520">allocator</a></pre>
149 </td>
151 <td>
152 <pre><a href = "#Allocator3735929488">Allocator</a></pre>
155 </td>
157 <td>
158 <p>Allocator type.</p>
161 </td>
163 </tr>
165 </table>
167 <h2>
168 <a name = "link3">Key-type definitions.
169 </a>
171 </h2>
173 <table WIDTH = "100%" BORDER = "1">
174 <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>
177 <tr>
178 <td>
179 <pre><a name = "key_type3735929433">key_type</a></pre>
182 </td>
184 <td>
185 <pre>order_statistics_key&lt;
186 <a href = "#Key3735928856">Key</a>,
187 <a href = "#Allocator3735929488">Allocator</a>&gt;</pre>
190 </td>
192 <td>
193 <p>Key-type on which this functor operates.</p>
196 </td>
198 </tr>
200 <tr>
201 <td>
202 <pre><a name = "const_key_pointer3735929445">const_key_pointer</a></pre>
205 </td>
207 <td>
208 <pre><b>typename</b> <a href = "#Allocator3735929488">Allocator</a>::<b>template</b> rebind&lt;
209 <a href = "#key_type3735929433">key_type</a>&gt;::other::const_pointer</pre>
212 </td>
214 <td>
215 <p>Key pointer-type on which this functor operates.</p>
218 </td>
220 </tr>
222 </table>
224 <h2>
225 <a name = "link4">Constructors, destructor, and related.
226 </a>
228 </h2>
230 <table WIDTH = "100%" BORDER = "1">
231 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
234 <tr>
235 <td>
236 <pre><b>inline</b> <b>void</b>
237 swap
238 (<font color = "olive">order_statistics_node_updator</font> &amp;r_other)</pre>
241 </td>
243 <td>
244 <p>Swaps content.</p>
247 </td>
249 </tr>
251 <tr>
252 <td>
253 <pre><b>inline</b> <b>void</b>
254 <b>operator</b>()
255 (<a href = "#const_key_pointer3735929445">const_key_pointer</a> p_key,
256 <a href = "#const_key_pointer3735929445">const_key_pointer</a> p_l_child_key,
257 <a href = "#const_key_pointer3735929445">const_key_pointer</a> p_r_child_key)</pre>
260 </td>
262 <td>
263 <p>Updates the rank of a key given its child keys.</p>
266 </td>
268 </tr>
270 </table>
274 </body>
276 </html>