Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libstdc++-v3 / docs / html / ext / pb_assoc / order_by_key.html
blob0b37f5399b5744cb123786b03e5dcaf11b775314
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <html>
6 <head>
7 <title>order_by_key Interface
8 </title>
10 </head>
12 <body>
13 <h1>
14 <tt>order_by_key
15 </tt>
17 Interface
20 </h1>
22 <p>Finds an order corresponding to an entry within the sequence.
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">Key-type definitions.
45 </a>
47 </li>
49 <li>
50 <a href = "#link3">Container definitions.
51 </a>
53 </li>
55 </ol>
57 </li>
59 <li>
60 Public Methods:
63 <ol>
64 <li>
65 <a href = "#link4">Operators.
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 = "Cntnr3735929076">Cntnr</a></pre>
92 </td>
94 <td>
95 <p>Container type.</p>
98 </td>
100 <td>
104 </td>
106 </tr>
108 </table>
110 <h2>
111 <a name = "link2">Key-type definitions.
112 </a>
114 </h2>
116 <table WIDTH = "100%" BORDER = "1">
117 <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>
120 <tr>
121 <td>
122 <pre><a name = "order_statistics_key_type3735929828">order_statistics_key_type</a></pre>
125 </td>
127 <td>
128 <pre><b>typename</b> <a href = "#Cntnr3735929076">Cntnr</a>::key_type</pre>
131 </td>
133 <td>
134 <p>Order-statistics key type.</p>
137 </td>
139 </tr>
141 <tr>
142 <td>
143 <pre><a name = "underlying_key_type3735929533">underlying_key_type</a></pre>
146 </td>
148 <td>
149 <pre><b>typename</b> <a href = "#order_statistics_key_type3735929828">order_statistics_key_type</a>::key_type</pre>
152 </td>
154 <td>
155 <p>Underlying key type.</p>
158 </td>
160 </tr>
162 </table>
164 <h2>
165 <a name = "link3">Container definitions.
166 </a>
168 </h2>
170 <table WIDTH = "100%" BORDER = "1">
171 <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>
174 <tr>
175 <td>
176 <pre><a name = "cntnr3735929108">cntnr</a></pre>
179 </td>
181 <td>
182 <pre><a href = "#Cntnr3735929076">Cntnr</a></pre>
185 </td>
187 <td>
188 <p>Container type.</p>
191 </td>
193 </tr>
195 <tr>
196 <td>
197 <pre><a name = "size_type3735929547">size_type</a></pre>
200 </td>
202 <td>
203 <pre><b>typename</b> <a href = "#cntnr3735929108">cntnr</a>::size_type</pre>
206 </td>
208 <td>
209 <p>Container's size type.</p>
212 </td>
214 </tr>
216 </table>
218 <h2>
219 <a name = "link4">Operators.
220 </a>
222 </h2>
224 <table WIDTH = "100%" BORDER = "1">
225 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
228 <tr>
229 <td>
230 <pre><b>inline</b> <a href = "#size_type3735929547">size_type</a>
231 <b>operator</b>()
232 (<b>const</b> <a href = "#Cntnr3735929076">Cntnr</a> &amp;r_c,
233 <b>const</b> <a href = "#underlying_key_type3735929533">underlying_key_type</a> &amp;r_key) <b>const</b></pre>
236 </td>
238 <td>
239 <p>Returns the order of a key within a sequence. For exapmle, if <font color = "#666666"><tt>r_key</tt></font> is the smallest key in <font color = "#666666"><tt>r_c</tt></font>, this method will return 0; if <font color = "#666666"><tt>r_key</tt></font> is a key between the smallest and next key in <font color = "#666666"><tt>r_c</tt></font>, this method will return 1; if <font color = "#666666"><tt>r_key</tt></font> is a key larger than the largest key in <font color = "#666666"><tt>r_c</tt></font>, this method will return the size of <font color = "#666666"><tt>r_c</tt></font>.</p>
242 </td>
244 </tr>
246 </table>
250 </body>
252 </html>