3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Character Generators</title>
5 <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="../../../../index.html" title="Spirit 2.5.2">
8 <link rel="up" href="../primitive_generators.html" title="Karma Generators">
9 <link rel="prev" href="../primitive_generators.html" title="Karma Generators">
10 <link rel="next" href="string.html" title="String Generators">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../primitive_generators.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../primitive_generators.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h5 class="title">
27 <a name="spirit.karma.quick_reference.primitive_generators.char"></a><a class="link" href="char.html" title="Character Generators">Character
29 </h5></div></div></div>
31 See here for more information about <a class="link" href="../../reference/char.html" title="Char Generators">Character
34 <div class="informaltable"><table class="table">
61 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">ch</span></code></a>
66 <code class="computeroutput"><span class="identifier">Unused</span></code>
71 Generate <code class="computeroutput"><span class="identifier">ch</span></code>
78 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">lit</span><span class="special">(</span><span class="identifier">ch</span><span class="special">)</span></code></a>
83 <code class="computeroutput"><span class="identifier">Unused</span></code>
88 Generate <code class="computeroutput"><span class="identifier">ch</span></code>
95 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">char_</span></code></a>
100 <code class="computeroutput"><span class="identifier">Ch</span></code>
105 Generate character supplied as the attribute
112 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="identifier">ch</span><span class="special">)</span></code></a>
117 <code class="computeroutput"><span class="identifier">Ch</span></code>
122 Generate <code class="computeroutput"><span class="identifier">ch</span></code>,
123 if an attribute is supplied it must match
130 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="string">"c"</span><span class="special">)</span></code></a>
135 <code class="computeroutput"><span class="identifier">Ch</span></code>
140 Generate a single char string literal, <code class="computeroutput"><span class="identifier">c</span></code>,
141 if an attribute is supplied it must match
148 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="identifier">ch</span><span class="special">,</span>
149 <span class="identifier">ch2</span><span class="special">)</span></code></a>
154 <code class="computeroutput"><span class="identifier">Ch</span></code>
159 Generate the character supplied as the attribute, if it belongs
160 to the character range from <code class="computeroutput"><span class="identifier">ch</span></code>
161 to <code class="computeroutput"><span class="identifier">ch2</span></code>
168 <a class="link" href="../../reference/char/char_generator.html" title="Character Generators (char_, lit)"><code class="computeroutput"><span class="identifier">char_</span><span class="special">(</span><span class="identifier">charset</span><span class="special">)</span></code></a>
173 <code class="computeroutput"><span class="identifier">Ch</span></code>
178 Generate the character supplied as the attribute, if it belongs
179 to the character set <code class="computeroutput"><span class="identifier">charset</span></code>
186 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">alnum</span></code></a>
191 <code class="computeroutput"><span class="identifier">Ch</span></code>
196 Generate the character supplied as the attribute if it satisfies
197 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isalnum</span></code>
198 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
205 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">alpha</span></code></a>
210 <code class="computeroutput"><span class="identifier">Ch</span></code>
215 Generate the character supplied as the attribute if it satisfies
216 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isalpha</span></code>
217 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
224 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">blank</span></code></a>
229 <code class="computeroutput"><span class="identifier">Ch</span></code>
234 Generate the character supplied as the attribute if it satisfies
235 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isblank</span></code>
236 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
243 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">cntrl</span></code></a>
248 <code class="computeroutput"><span class="identifier">Ch</span></code>
253 Generate the character supplied as the attribute if it satisfies
254 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">iscntrl</span></code>
255 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
262 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">digit</span></code></a>
267 <code class="computeroutput"><span class="identifier">Ch</span></code>
272 Generate the character supplied as the attribute if it satisfies
273 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isdigit</span></code>
274 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
281 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">graph</span></code></a>
286 <code class="computeroutput"><span class="identifier">Ch</span></code>
291 Generate the character supplied as the attribute if it satisfies
292 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isgraph</span></code>
293 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
300 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">print</span></code></a>
305 <code class="computeroutput"><span class="identifier">Ch</span></code>
310 Generate the character supplied as the attribute if it satisfies
311 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isprint</span></code>
312 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
319 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">punct</span></code></a>
324 <code class="computeroutput"><span class="identifier">Ch</span></code>
329 Generate the character supplied as the attribute if it satisfies
330 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">ispunct</span></code>
331 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
338 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">space</span></code></a>
343 <code class="computeroutput"><span class="identifier">Ch</span></code>
348 Generate the character supplied as the attribute if it satisfies
349 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isspace</span></code>,
350 or a single space character in the character set defined by
351 <code class="computeroutput"><span class="identifier">NS</span></code>
358 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">xdigit</span></code></a>
363 <code class="computeroutput"><span class="identifier">Ch</span></code>
368 Generate the character supplied as the attribute if it satisfies
369 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isxdigit</span></code>
370 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
377 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">lower</span></code></a>
382 <code class="computeroutput"><span class="identifier">Ch</span></code>
387 Generate the character supplied as the attribute if it satisfies
388 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">islower</span></code>
389 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
396 <a class="link" href="../../reference/char/char_class.html" title="Character Classification Generators (alnum, digit, etc.)"><code class="computeroutput"><span class="identifier">upper</span></code></a>
401 <code class="computeroutput"><span class="identifier">Ch</span></code>
406 Generate the character supplied as the attribute if it satisfies
407 the concept of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">isupper</span></code>
408 in the character set defined by <code class="computeroutput"><span class="identifier">NS</span></code>
415 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
416 <td align="left"></td>
417 <td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
418 Distributed under the Boost Software License, Version 1.0. (See accompanying
419 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
424 <div class="spirit-nav">
425 <a accesskey="p" href="../primitive_generators.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../primitive_generators.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="string.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>