Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/string_algo/quickref.html @ 25

Last change on this file since 25 was 12, checked in by landauf, 17 years ago

added boost

File size: 28.3 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>Quick Reference</title>
5<link rel="stylesheet" href="../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries">
8<link rel="up" href="../string_algo.html" title="Chapter 11. Boost String Algorithms Library">
9<link rel="prev" href="usage.html" title="Usage">
10<link rel="next" href="design.html" title="Design Topics">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../boost.png"></td>
15<td align="center"><a href="../../../index.htm">Home</a></td>
16<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../../people/people.htm">People</a></td>
18<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="usage.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="design.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="string_algo.quickref"></a>Quick Reference</h3></div></div></div>
28<div class="toc"><dl>
29<dt><span class="section"><a href="quickref.html#id2743361">Algorithms</a></span></dt>
30<dt><span class="section"><a href="quickref.html#id2744766">Finders and Formatters</a></span></dt>
31<dt><span class="section"><a href="quickref.html#id2745026">Iterators</a></span></dt>
32<dt><span class="section"><a href="quickref.html#id2745083">Classification</a></span></dt>
33</dl></div>
34<div class="section" lang="en">
35<div class="titlepage"><div><div><h4 class="title">
36<a name="id2743361"></a>Algorithms</h4></div></div></div>
37<div class="table">
38<a name="id2743364"></a><p class="title"><b>Table 11.1. Case Conversion</b></p>
39<table class="table" summary="Case Conversion">
40<colgroup>
41<col>
42<col>
43<col>
44</colgroup>
45<thead><tr>
46<th align="left">Algorithm name</th>
47<th align="left">Description</th>
48<th align="left">Functions</th>
49</tr></thead>
50<tbody>
51<tr>
52<td align="left"><code class="computeroutput">to_upper</code></td>
53<td align="left">Convert a string to upper case</td>
54<td align="left">
55<code class="computeroutput"><a href="../to_upper_copy.html" title="Function to_upper_copy">to_upper_copy()</a></code><br><code class="computeroutput"><a href="../to_upper.html" title="Function template to_upper">to_upper()</a></code>
56</td>
57</tr>
58<tr>
59<td align="left"><code class="computeroutput">to_lower</code></td>
60<td align="left">Convert a string to lower case</td>
61<td align="left">
62<code class="computeroutput"><a href="../to_lower_copy.html" title="Function to_lower_copy">to_lower_copy()</a></code><br><code class="computeroutput"><a href="../to_lower.html" title="Function template to_lower">to_lower()</a></code>
63</td>
64</tr>
65</tbody>
66</table>
67</div>
68<div class="table">
69<a name="id2743446"></a><p class="title"><b>Table 11.2. Trimming</b></p>
70<table class="table" summary="Trimming">
71<colgroup>
72<col>
73<col>
74<col>
75</colgroup>
76<thead><tr>
77<th align="left">Algorithm name</th>
78<th align="left">Description</th>
79<th align="left">Functions</th>
80</tr></thead>
81<tbody>
82<tr>
83<td align="left"><code class="computeroutput">trim_left</code></td>
84<td align="left">Remove leading spaces from a string</td>
85<td align="left">
86<code class="computeroutput"><a href="../trim_left_copy_if.html" title="Function trim_left_copy_if">trim_left_copy_if()</a></code><br><code class="computeroutput"><a href="../trim_left_if.html" title="Function template trim_left_if">trim_left_if()</a></code><br><code class="computeroutput"><a href="../trim_left_copy.html" title="Function template trim_left_copy">trim_left_copy()</a></code><br><code class="computeroutput"><a href="../trim_left.html" title="Function template trim_left">trim_left()</a></code>
87</td>
88</tr>
89<tr>
90<td align="left"><code class="computeroutput">trim_right</code></td>
91<td align="left">Remove trailing spaces from a string</td>
92<td align="left">
93<code class="computeroutput"><a href="../trim_right_copy_if.html" title="Function trim_right_copy_if">trim_right_copy_if()</a></code><br><code class="computeroutput"><a href="../trim_right_if.html" title="Function template trim_right_if">trim_right_if()</a></code><br><code class="computeroutput"><a href="../trim_right_copy.html" title="Function template trim_right_copy">trim_right_copy()</a></code><br><code class="computeroutput"><a href="../trim_right.html" title="Function template trim_right">trim_right()</a></code>
94</td>
95</tr>
96<tr>
97<td align="left"><code class="computeroutput">trim</code></td>
98<td align="left">Remove leading and trailing spaces from a string</td>
99<td align="left">
100<code class="computeroutput"><a href="../trim_copy_if.html" title="Function trim_copy_if">trim_copy_if()</a></code><br><code class="computeroutput"><a href="../trim_if.html" title="Function template trim_if">trim_if()</a></code><br><code class="computeroutput"><a href="../trim_copy.html" title="Function template trim_copy">trim_copy()</a></code><br><code class="computeroutput"><a href="../trim.html" title="Function template trim">trim()</a></code>
101</td>
102</tr>
103</tbody>
104</table>
105</div>
106<div class="table">
107<a name="id2743633"></a><p class="title"><b>Table 11.3. Predicates</b></p>
108<table class="table" summary="Predicates">
109<colgroup>
110<col>
111<col>
112<col>
113</colgroup>
114<thead><tr>
115<th align="left">Algorithm name</th>
116<th align="left">Description</th>
117<th align="left">Functions</th>
118</tr></thead>
119<tbody>
120<tr>
121<td align="left"><code class="computeroutput">starts_with</code></td>
122<td align="left">Check if a string is a prefix of the other one</td>
123<td align="left">
124<code class="computeroutput"><a href="../starts_with.html" title="Function starts_with">starts_with()</a></code><br><code class="computeroutput"><a href="../istarts_with.html" title="Function template istarts_with">istarts_with()</a></code>
125</td>
126</tr>
127<tr>
128<td align="left"><code class="computeroutput">ends_with</code></td>
129<td align="left">Check if a string is a suffix of the other one</td>
130<td align="left">
131<code class="computeroutput"><a href="../ends_with.html" title="Function ends_with">ends_with()</a></code><br><code class="computeroutput"><a href="../iends_with.html" title="Function template iends_with">iends_with()</a></code>
132</td>
133</tr>
134<tr>
135<td align="left"><code class="computeroutput">contains</code></td>
136<td align="left">Check if a string is contained of the other one</td>
137<td align="left">
138<code class="computeroutput"><a href="../contains.html" title="Function contains">contains()</a></code><br><code class="computeroutput"><a href="../icontains.html" title="Function template icontains">icontains()</a></code>
139</td>
140</tr>
141<tr>
142<td align="left"><code class="computeroutput">equals</code></td>
143<td align="left">Check if two strings are equal</td>
144<td align="left">
145<code class="computeroutput"><a href="../equals.html" title="Function equals">equals()</a></code><br><code class="computeroutput"><a href="../iequals.html" title="Function template iequals">iequals()</a></code>
146</td>
147</tr>
148<tr>
149<td align="left"><code class="computeroutput">all</code></td>
150<td align="left">Check if all elements of a string satisfy the given predicate</td>
151<td align="left"><code class="computeroutput"><a href="../all.html" title="Function template all">all()</a></code></td>
152</tr>
153</tbody>
154</table>
155</div>
156<div class="table">
157<a name="id2743802"></a><p class="title"><b>Table 11.4. Find algorithms</b></p>
158<table class="table" summary="Find algorithms">
159<colgroup>
160<col>
161<col>
162<col>
163</colgroup>
164<thead><tr>
165<th align="left">Algorithm name</th>
166<th align="left">Description</th>
167<th align="left">Functions</th>
168</tr></thead>
169<tbody>
170<tr>
171<td align="left">find_first</td>
172<td align="left">Find the first occurrence of a string in the input</td>
173<td align="left">
174<code class="computeroutput"><a href="../find_first.html" title="Function template find_first">find_first()</a></code><br><code class="computeroutput"><a href="../ifind_first.html" title="Function template ifind_first">ifind_first()</a></code>
175</td>
176</tr>
177<tr>
178<td align="left">find_last</td>
179<td align="left">Find the last occurrence of a string in the input</td>
180<td align="left">
181<code class="computeroutput"><a href="../find_last.html" title="Function template find_last">find_last()</a></code><br><code class="computeroutput"><a href="../ifind_last.html" title="Function template ifind_last">ifind_last()</a></code>
182</td>
183</tr>
184<tr>
185<td align="left">find_nth</td>
186<td align="left">Find the nth (zero-indexed) occurrence of a string in the input</td>
187<td align="left">
188<code class="computeroutput"><a href="../find_nth.html" title="Function template find_nth">find_nth()</a></code><br><code class="computeroutput"><a href="../ifind_nth.html" title="Function template ifind_nth">ifind_nth()</a></code>
189</td>
190</tr>
191<tr>
192<td align="left">find_head</td>
193<td align="left">Retrieve the head of a string</td>
194<td align="left"><code class="computeroutput"><a href="../find_head.html" title="Function template find_head">find_head()</a></code></td>
195</tr>
196<tr>
197<td align="left">find_tail</td>
198<td align="left">Retrieve the tail of a string</td>
199<td align="left"><code class="computeroutput"><a href="../find_tail.html" title="Function template find_tail">find_tail()</a></code></td>
200</tr>
201<tr>
202<td align="left">find_token</td>
203<td align="left">Find first matching token in the string</td>
204<td align="left"><code class="computeroutput"><a href="../find_token.html" title="Function template find_token">find_token()</a></code></td>
205</tr>
206<tr>
207<td align="left">find_regex</td>
208<td align="left">Use the regular expression to search the string</td>
209<td align="left"><code class="computeroutput"><a href="../find_regex.html" title="Function template find_regex">find_regex()</a></code></td>
210</tr>
211<tr>
212<td align="left">find</td>
213<td align="left">Generic find algorithm</td>
214<td align="left"><code class="computeroutput"><a href="../find.html" title="Function template find">find()</a></code></td>
215</tr>
216</tbody>
217</table>
218</div>
219<div class="table">
220<a name="id2743994"></a><p class="title"><b>Table 11.5. Erase/Replace</b></p>
221<table class="table" summary="Erase/Replace">
222<colgroup>
223<col>
224<col>
225<col>
226</colgroup>
227<thead><tr>
228<th align="left">Algorithm name</th>
229<th align="left">Description</th>
230<th align="left">Functions</th>
231</tr></thead>
232<tbody>
233<tr>
234<td align="left">replace/erase_first</td>
235<td align="left">Replace/Erase the first occurrence of a string in the input</td>
236<td align="left">
237<code class="computeroutput"><a href="../replace_first.html" title="Function template replace_first">replace_first()</a></code><br><code class="computeroutput"><a href="../replace_first_copy.html" title="Function replace_first_copy">replace_first_copy()</a></code><br><code class="computeroutput"><a href="../ireplace_first.html" title="Function template ireplace_first">ireplace_first()</a></code><br><code class="computeroutput"><a href="../ireplace_first_copy.html" title="Function ireplace_first_copy">ireplace_first_copy()</a></code><br><code class="computeroutput"><a href="../erase_first.html" title="Function template erase_first">erase_first()</a></code><br><code class="computeroutput"><a href="../erase_first_copy.html" title="Function erase_first_copy">erase_first_copy()</a></code><br><code class="computeroutput"><a href="../ierase_first.html" title="Function template ierase_first">ierase_first()</a></code><br><code class="computeroutput"><a href="../ierase_first_copy.html" title="Function ierase_first_copy">ierase_first_copy()</a></code>
238</td>
239</tr>
240<tr>
241<td align="left">replace/erase_last</td>
242<td align="left">Replace/Erase the last occurrence of a string in the input</td>
243<td align="left">
244<code class="computeroutput"><a href="../replace_last.html" title="Function template replace_last">replace_last()</a></code><br><code class="computeroutput"><a href="../replace_last_copy.html" title="Function replace_last_copy">replace_last_copy()</a></code><br><code class="computeroutput"><a href="../ireplace_last.html" title="Function template ireplace_last">ireplace_last()</a></code><br><code class="computeroutput"><a href="../ireplace_last_copy.html" title="Function ireplace_last_copy">ireplace_last_copy()</a></code><br><code class="computeroutput"><a href="../erase_last.html" title="Function template erase_last">erase_last()</a></code><br><code class="computeroutput"><a href="../erase_last_copy.html" title="Function erase_last_copy">erase_last_copy()</a></code><br><code class="computeroutput"><a href="../ierase_last.html" title="Function template ierase_last">ierase_last()</a></code><br><code class="computeroutput"><a href="../ierase_last_copy.html" title="Function ierase_last_copy">ierase_last_copy()</a></code>
245</td>
246</tr>
247<tr>
248<td align="left">replace/erase_nth</td>
249<td align="left">Replace/Erase the nth (zero-indexed) occurrence of a string in the input</td>
250<td align="left">
251<code class="computeroutput"><a href="../replace_nth.html" title="Function template replace_nth">replace_nth()</a></code><br><code class="computeroutput"><a href="../replace_nth_copy.html" title="Function replace_nth_copy">replace_nth_copy()</a></code><br><code class="computeroutput"><a href="../ireplace_nth.html" title="Function template ireplace_nth">ireplace_nth()</a></code><br><code class="computeroutput"><a href="../ireplace_nth_copy.html" title="Function ireplace_nth_copy">ireplace_nth_copy()</a></code><br><code class="computeroutput"><a href="../erase_nth.html" title="Function template erase_nth">erase_nth()</a></code><br><code class="computeroutput"><a href="../erase_nth_copy.html" title="Function erase_nth_copy">erase_nth_copy()</a></code><br><code class="computeroutput"><a href="../ierase_nth.html" title="Function template ierase_nth">ierase_nth()</a></code><br><code class="computeroutput"><a href="../ierase_nth_copy.html" title="Function ierase_nth_copy">ierase_nth_copy()</a></code>
252</td>
253</tr>
254<tr>
255<td align="left">replace/erase_all</td>
256<td align="left">Replace/Erase the all occurrences of a string in the input</td>
257<td align="left">
258<code class="computeroutput"><a href="../replace_all.html" title="Function template replace_all">replace_all()</a></code><br><code class="computeroutput"><a href="../replace_all_copy.html" title="Function replace_all_copy">replace_all_copy()</a></code><br><code class="computeroutput"><a href="../ireplace_all.html" title="Function template ireplace_all">ireplace_all()</a></code><br><code class="computeroutput"><a href="../ireplace_all_copy.html" title="Function ireplace_all_copy">ireplace_all_copy()</a></code><br><code class="computeroutput"><a href="../erase_all.html" title="Function template erase_all">erase_all()</a></code><br><code class="computeroutput"><a href="../erase_all_copy.html" title="Function erase_all_copy">erase_all_copy()</a></code><br><code class="computeroutput"><a href="../ierase_all.html" title="Function template ierase_all">ierase_all()</a></code><br><code class="computeroutput"><a href="../ierase_all_copy.html" title="Function ierase_all_copy">ierase_all_copy()</a></code>
259</td>
260</tr>
261<tr>
262<td align="left">replace/erase_head</td>
263<td align="left">Replace/Erase the head of the input</td>
264<td align="left">
265<code class="computeroutput"><a href="../replace_head.html" title="Function template replace_head">replace_head()</a></code><br><code class="computeroutput"><a href="../replace_head_copy.html" title="Function replace_head_copy">replace_head_copy()</a></code><br><code class="computeroutput"><a href="../erase_head.html" title="Function template erase_head">erase_head()</a></code><br><code class="computeroutput"><a href="../erase_head_copy.html" title="Function erase_head_copy">erase_head_copy()</a></code><br>
266</td>
267</tr>
268<tr>
269<td align="left">replace/erase_tail</td>
270<td align="left">Replace/Erase the tail of the input</td>
271<td align="left">
272<code class="computeroutput"><a href="../replace_tail.html" title="Function template replace_tail">replace_tail()</a></code><br><code class="computeroutput"><a href="../replace_tail_copy.html" title="Function replace_tail_copy">replace_tail_copy()</a></code><br><code class="computeroutput"><a href="../erase_tail.html" title="Function template erase_tail">erase_tail()</a></code><br><code class="computeroutput"><a href="../erase_tail_copy.html" title="Function erase_tail_copy">erase_tail_copy()</a></code><br>
273</td>
274</tr>
275<tr>
276<td align="left">replace/erase_regex</td>
277<td align="left">Replace/Erase a substring matching the given regular expression</td>
278<td align="left">
279<code class="computeroutput"><a href="../replace_regex.html" title="Function template replace_regex">replace_regex()</a></code><br><code class="computeroutput"><a href="../replace_regex_copy.html" title="Function replace_regex_copy">replace_regex_copy()</a></code><br><code class="computeroutput"><a href="../erase_regex.html" title="Function template erase_regex">erase_regex()</a></code><br><code class="computeroutput"><a href="../erase_regex_copy.html" title="Function erase_regex_copy">erase_regex_copy()</a></code><br>
280</td>
281</tr>
282<tr>
283<td align="left">replace/erase_regex_all</td>
284<td align="left">Replace/Erase all substrings matching the given regular expression</td>
285<td align="left">
286<code class="computeroutput"><a href="../replace_all_regex.html" title="Function template replace_all_regex">replace_all_regex()</a></code><br><code class="computeroutput"><a href="../replace_all_regex_copy.html" title="Function replace_all_regex_copy">replace_all_regex_copy()</a></code><br><code class="computeroutput"><a href="../erase_all_regex.html" title="Function template erase_all_regex">erase_all_regex()</a></code><br><code class="computeroutput"><a href="../erase_all_regex_copy.html" title="Function erase_all_regex_copy">erase_all_regex_copy()</a></code><br>
287</td>
288</tr>
289<tr>
290<td align="left">find_format</td>
291<td align="left">Generic replace algorithm</td>
292<td align="left">
293<code class="computeroutput"><a href="../find_format.html" title="Function template find_format">find_format()</a></code><br><code class="computeroutput"><a href="../find_format_copy.html" title="Function find_format_copy">find_format_copy()</a></code><br><code class="computeroutput"><a href="../find_format_all.html" title="Function template find_format_all">find_format_all()</a></code><br><code class="computeroutput"><a href="../find_format_all_copy.html" title="Function find_format_all_copy">find_format_all_copy()()</a></code>
294</td>
295</tr>
296</tbody>
297</table>
298</div>
299<div class="table">
300<a name="id2744680"></a><p class="title"><b>Table 11.6. Split</b></p>
301<table class="table" summary="Split">
302<colgroup>
303<col>
304<col>
305<col>
306</colgroup>
307<thead><tr>
308<th align="left">Algorithm name</th>
309<th align="left">Description</th>
310<th align="left">Functions</th>
311</tr></thead>
312<tbody>
313<tr>
314<td align="left">find_all</td>
315<td align="left">Find/Extract all matching substrings in the input</td>
316<td align="left">
317<code class="computeroutput"><a href="../find_all.html" title="Function template find_all">find_all()</a></code><br><code class="computeroutput"><a href="../ifind_all.html" title="Function template ifind_all">ifind_all()</a></code><br><code class="computeroutput"><a href="../find_all_regex.html" title="Function template find_all_regex">find_all_regex()</a></code>
318</td>
319</tr>
320<tr>
321<td align="left">split</td>
322<td align="left">Split input into parts</td>
323<td align="left">
324<code class="computeroutput"><a href="../id2580251.html" title="Function template split">split()</a></code><br><code class="computeroutput"><a href="../split_regex.html" title="Function template split_regex">split_regex()</a></code>
325</td>
326</tr>
327</tbody>
328</table>
329</div>
330</div>
331<div class="section" lang="en">
332<div class="titlepage"><div><div><h4 class="title">
333<a name="id2744766"></a>Finders and Formatters</h4></div></div></div>
334<div class="table">
335<a name="id2744769"></a><p class="title"><b>Table 11.7. Finders</b></p>
336<table class="table" summary="Finders">
337<colgroup>
338<col>
339<col>
340<col>
341</colgroup>
342<thead><tr>
343<th align="left">Finder</th>
344<th align="left">Description</th>
345<th align="left">Generators</th>
346</tr></thead>
347<tbody>
348<tr>
349<td align="left">first_finder</td>
350<td align="left">Search for the first match of the string in an input</td>
351<td align="left"><code class="computeroutput"><a href="../first_finder.html" title="Function first_finder">first_finder()</a></code></td>
352</tr>
353<tr>
354<td align="left">last_finder</td>
355<td align="left">Search for the last match of the string in an input</td>
356<td align="left"><code class="computeroutput"><a href="../last_finder.html" title="Function last_finder">last_finder()</a></code></td>
357</tr>
358<tr>
359<td align="left">nth_finder</td>
360<td align="left">Search for the nth (zero-indexed) match of the string in an input</td>
361<td align="left"><code class="computeroutput"><a href="../nth_finder.html" title="Function nth_finder">nth_finder()</a></code></td>
362</tr>
363<tr>
364<td align="left">head_finder</td>
365<td align="left">Retrieve the head of an input</td>
366<td align="left"><code class="computeroutput"><a href="../head_finder.html" title="Function head_finder">head_finder()</a></code></td>
367</tr>
368<tr>
369<td align="left">tail_finder</td>
370<td align="left">Retrieve the tail of an input</td>
371<td align="left"><code class="computeroutput"><a href="../tail_finder.html" title="Function tail_finder">tail_finder()</a></code></td>
372</tr>
373<tr>
374<td align="left">token_finder</td>
375<td align="left">Search for a matching token in an input</td>
376<td align="left"><code class="computeroutput"><a href="../token_finder.html" title="Function template token_finder">token_finder()</a></code></td>
377</tr>
378<tr>
379<td align="left">range_finder</td>
380<td align="left">Do no search, always returns the given range</td>
381<td align="left"><code class="computeroutput"><a href="../range_finder.html" title="Function range_finder">range_finder()</a></code></td>
382</tr>
383<tr>
384<td align="left">regex_finder</td>
385<td align="left">Search for a substring matching the given regex</td>
386<td align="left"><code class="computeroutput"><a href="../id2559243.html" title="Function template regex_finder">regex_finder()</a></code></td>
387</tr>
388</tbody>
389</table>
390</div>
391<div class="table">
392<a name="id2744934"></a><p class="title"><b>Table 11.8. Formatters</b></p>
393<table class="table" summary="Formatters">
394<colgroup>
395<col>
396<col>
397<col>
398</colgroup>
399<thead><tr>
400<th align="left">Formatter</th>
401<th align="left">Description</th>
402<th align="left">Generators</th>
403</tr></thead>
404<tbody>
405<tr>
406<td align="left">const_formatter</td>
407<td align="left">Constant formatter. Always return the specified string</td>
408<td align="left"><code class="computeroutput"><a href="../const_formatter.html" title="Function template const_formatter">const_formatter()</a></code></td>
409</tr>
410<tr>
411<td align="left">identity_formatter</td>
412<td align="left">Identity formatter. Return unmodified input input</td>
413<td align="left"><code class="computeroutput"><a href="../identity_formatter.html" title="Function template identity_formatter">identity_formatter()</a></code></td>
414</tr>
415<tr>
416<td align="left">empty_formatter</td>
417<td align="left">Null formatter. Always return an empty string</td>
418<td align="left"><code class="computeroutput"><a href="../empty_formatter.html" title="Function template empty_formatter">empty_formatter()</a></code></td>
419</tr>
420<tr>
421<td align="left">regex_formatter</td>
422<td align="left">Regex formatter. Format regex match using the specification in the format string</td>
423<td align="left"><code class="computeroutput"><a href="../id2586835.html" title="Function template regex_formatter">regex_formatter()</a></code></td>
424</tr>
425</tbody>
426</table>
427</div>
428</div>
429<div class="section" lang="en">
430<div class="titlepage"><div><div><h4 class="title">
431<a name="id2745026"></a>Iterators</h4></div></div></div>
432<div class="table">
433<a name="id2745029"></a><p class="title"><b>Table 11.9. Find Iterators</b></p>
434<table class="table" summary="Find Iterators">
435<colgroup>
436<col>
437<col>
438<col>
439</colgroup>
440<thead><tr>
441<th align="left">Iterator name</th>
442<th align="left">Description</th>
443<th align="left">Iterator class</th>
444</tr></thead>
445<tbody>
446<tr>
447<td align="left">find_iterator</td>
448<td align="left">Iterates through matching substrings in the input</td>
449<td align="left"><code class="computeroutput"><a href="../find_iterator.html" title="Class template find_iterator">find_iterator</a></code></td>
450</tr>
451<tr>
452<td align="left">split_iterator</td>
453<td align="left">Iterates through gaps between matching substrings in the input</td>
454<td align="left"><code class="computeroutput"><a href="../split_iterator.html" title="Class template split_iterator">split_iterator</a></code></td>
455</tr>
456</tbody>
457</table>
458</div>
459</div>
460<div class="section" lang="en">
461<div class="titlepage"><div><div><h4 class="title">
462<a name="id2745083"></a>Classification</h4></div></div></div>
463<div class="table">
464<a name="id2745087"></a><p class="title"><b>Table 11.10. Predicates</b></p>
465<table class="table" summary="Predicates">
466<colgroup>
467<col>
468<col>
469<col>
470</colgroup>
471<thead><tr>
472<th align="left">Predicate name</th>
473<th align="left">Description</th>
474<th align="left">Generator</th>
475</tr></thead>
476<tbody>
477<tr>
478<td align="left">is_classified</td>
479<td align="left">Generic <code class="computeroutput">ctype</code> mask based classification</td>
480<td align="left"><code class="computeroutput"><a href="../is_classified.html" title="Function is_classified">is_classified()</a></code></td>
481</tr>
482<tr>
483<td align="left">is_space</td>
484<td align="left">Recognize spaces</td>
485<td align="left"><code class="computeroutput"><a href="../is_space.html" title="Function is_space">is_space()</a></code></td>
486</tr>
487<tr>
488<td align="left">is_alnum</td>
489<td align="left">Recognize alphanumeric characters</td>
490<td align="left"><code class="computeroutput"><a href="../is_alnum.html" title="Function is_alnum">is_alnum()</a></code></td>
491</tr>
492<tr>
493<td align="left">is_alpha</td>
494<td align="left">Recognize letters</td>
495<td align="left"><code class="computeroutput"><a href="../is_alpha.html" title="Function is_alpha">is_alpha()</a></code></td>
496</tr>
497<tr>
498<td align="left">is_cntrl</td>
499<td align="left">Recognize control characters</td>
500<td align="left"><code class="computeroutput"><a href="../is_cntrl.html" title="Function is_cntrl">is_cntrl()</a></code></td>
501</tr>
502<tr>
503<td align="left">is_digit</td>
504<td align="left">Recognize decimal digits</td>
505<td align="left"><code class="computeroutput"><a href="../is_digit.html" title="Function is_digit">is_digit()</a></code></td>
506</tr>
507<tr>
508<td align="left">is_graph</td>
509<td align="left">Recognize graphical characters</td>
510<td align="left"><code class="computeroutput"><a href="../is_graph.html" title="Function is_graph">is_graph()</a></code></td>
511</tr>
512<tr>
513<td align="left">is_lower</td>
514<td align="left">Recognize lower case characters</td>
515<td align="left"><code class="computeroutput"><a href="../is_lower.html" title="Function is_lower">is_lower()</a></code></td>
516</tr>
517<tr>
518<td align="left">is_print</td>
519<td align="left">Recognize printable characters</td>
520<td align="left"><code class="computeroutput"><a href="../is_print.html" title="Function is_print">is_print()</a></code></td>
521</tr>
522<tr>
523<td align="left">is_punct</td>
524<td align="left">Recognize punctuation characters</td>
525<td align="left"><code class="computeroutput"><a href="../is_punct.html" title="Function is_punct">is_punct()</a></code></td>
526</tr>
527<tr>
528<td align="left">is_upper</td>
529<td align="left">Recognize uppercase characters</td>
530<td align="left"><code class="computeroutput"><a href="../is_upper.html" title="Function is_upper">is_upper()</a></code></td>
531</tr>
532<tr>
533<td align="left">is_xdigit</td>
534<td align="left">Recognize hexadecimal digits</td>
535<td align="left"><code class="computeroutput"><a href="../is_xdigit.html" title="Function is_xdigit">is_xdigit()</a></code></td>
536</tr>
537</tbody>
538</table>
539</div>
540</div>
541</div>
542<table width="100%"><tr>
543<td align="left"><small><p>Last revised: July 16, 2004 at 09:06:39 GMT</p></small></td>
544<td align="right"><small>Copyright © 2002-2004 Pavol Droba</small></td>
545</tr></table>
546<hr>
547<div class="spirit-nav">
548<a accesskey="p" href="usage.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="design.html"><img src="../images/next.png" alt="Next"></a>
549</div>
550</body>
551</html>
Note: See TracBrowser for help on using the repository browser.