• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Generator Directives</title>
5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../../index.html" title="Spirit 2.5.8">
8<link rel="up" href="../primitive_generators.html" title="Karma Generators">
9<link rel="prev" href="operators.html" title="Generator Operators">
10<link rel="next" href="action.html" title="Generator Semantic Actions">
11</head>
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>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="operators.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="action.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h5 class="title">
27<a name="spirit.karma.quick_reference.primitive_generators.directives"></a><a class="link" href="directives.html" title="Generator Directives">Generator
28          Directives</a>
29</h5></div></div></div>
30<p>
31            See here for more information about <a class="link" href="../../reference/directive.html" title="Generator Directives">Generator
32            Directives</a>.
33          </p>
34<div class="informaltable"><table class="table">
35<colgroup>
36<col>
37<col>
38<col>
39</colgroup>
40<thead><tr>
41<th>
42                    <p>
43                      Expression
44                    </p>
45                  </th>
46<th>
47                    <p>
48                      Attribute
49                    </p>
50                  </th>
51<th>
52                    <p>
53                      Description
54                    </p>
55                  </th>
56</tr></thead>
57<tbody>
58<tr>
59<td>
60                    <p>
61                      <a class="link" href="../../reference/directive/upperlower.html" title="Generator Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">lower</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
62                    </p>
63                  </td>
64<td>
65                    <p>
66                      <code class="computeroutput"><span class="identifier">A</span></code>
67                    </p>
68                  </td>
69<td>
70                    <p>
71                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
72                      as lower case
73                    </p>
74                  </td>
75</tr>
76<tr>
77<td>
78                    <p>
79                      <a class="link" href="../../reference/directive/upperlower.html" title="Generator Directives Controlling Case Sensitivity (upper[], lower[])"><code class="computeroutput"><span class="identifier">upper</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
80                    </p>
81                  </td>
82<td>
83                    <p>
84                      <code class="computeroutput"><span class="identifier">A</span></code>
85                    </p>
86                  </td>
87<td>
88                    <p>
89                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
90                      as upper case
91                    </p>
92                  </td>
93</tr>
94<tr>
95<td>
96                    <p>
97                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
98                    </p>
99                  </td>
100<td>
101                    <p>
102                      <code class="computeroutput"><span class="identifier">A</span></code>
103                    </p>
104                  </td>
105<td>
106                    <p>
107                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
108                      left aligned in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
109                    </p>
110                  </td>
111</tr>
112<tr>
113<td>
114                    <p>
115                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
116                    </p>
117                  </td>
118<td>
119                    <p>
120                      <code class="computeroutput"><span class="identifier">A</span></code>
121                    </p>
122                  </td>
123<td>
124                    <p>
125                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
126                      left aligned in column of width <code class="computeroutput"><span class="identifier">num</span></code>
127                    </p>
128                  </td>
129</tr>
130<tr>
131<td>
132                    <p>
133                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
134                    </p>
135                  </td>
136<td>
137                    <p>
138                      <code class="computeroutput"><span class="identifier">A</span></code>
139                    </p>
140                  </td>
141<td>
142                    <p>
143                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
144                      left aligned in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
145                      while using <code class="computeroutput"><span class="identifier">g</span></code>
146                      to generate the necessary padding
147                    </p>
148                  </td>
149</tr>
150<tr>
151<td>
152                    <p>
153                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">left_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">,</span> <span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
154                    </p>
155                  </td>
156<td>
157                    <p>
158                      <code class="computeroutput"><span class="identifier">A</span></code>
159                    </p>
160                  </td>
161<td>
162                    <p>
163                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
164                      left aligned in column of width <code class="computeroutput"><span class="identifier">num</span></code>
165                      while using <code class="computeroutput"><span class="identifier">g</span></code>
166                      to generate the necessary padding
167                    </p>
168                  </td>
169</tr>
170<tr>
171<td>
172                    <p>
173                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
174                    </p>
175                  </td>
176<td>
177                    <p>
178                      <code class="computeroutput"><span class="identifier">A</span></code>
179                    </p>
180                  </td>
181<td>
182                    <p>
183                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
184                      centered in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
185                    </p>
186                  </td>
187</tr>
188<tr>
189<td>
190                    <p>
191                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
192                    </p>
193                  </td>
194<td>
195                    <p>
196                      <code class="computeroutput"><span class="identifier">A</span></code>
197                    </p>
198                  </td>
199<td>
200                    <p>
201                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
202                      centered in column of width <code class="computeroutput"><span class="identifier">num</span></code>
203                    </p>
204                  </td>
205</tr>
206<tr>
207<td>
208                    <p>
209                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
210                    </p>
211                  </td>
212<td>
213                    <p>
214                      <code class="computeroutput"><span class="identifier">A</span></code>
215                    </p>
216                  </td>
217<td>
218                    <p>
219                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
220                      centered in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
221                      while using <code class="computeroutput"><span class="identifier">g</span></code>
222                      to generate the necessary padding
223                    </p>
224                  </td>
225</tr>
226<tr>
227<td>
228                    <p>
229                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">center</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">,</span> <span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
230                    </p>
231                  </td>
232<td>
233                    <p>
234                      <code class="computeroutput"><span class="identifier">A</span></code>
235                    </p>
236                  </td>
237<td>
238                    <p>
239                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
240                      centered in column of width <code class="computeroutput"><span class="identifier">num</span></code>
241                      while using <code class="computeroutput"><span class="identifier">g</span></code>
242                      to generate the necessary padding
243                    </p>
244                  </td>
245</tr>
246<tr>
247<td>
248                    <p>
249                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
250                    </p>
251                  </td>
252<td>
253                    <p>
254                      <code class="computeroutput"><span class="identifier">A</span></code>
255                    </p>
256                  </td>
257<td>
258                    <p>
259                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
260                      right aligned in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
261                    </p>
262                  </td>
263</tr>
264<tr>
265<td>
266                    <p>
267                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
268                    </p>
269                  </td>
270<td>
271                    <p>
272                      <code class="computeroutput"><span class="identifier">A</span></code>
273                    </p>
274                  </td>
275<td>
276                    <p>
277                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
278                      right aligned in column of width <code class="computeroutput"><span class="identifier">num</span></code>
279                    </p>
280                  </td>
281</tr>
282<tr>
283<td>
284                    <p>
285                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
286                    </p>
287                  </td>
288<td>
289                    <p>
290                      <code class="computeroutput"><span class="identifier">A</span></code>
291                    </p>
292                  </td>
293<td>
294                    <p>
295                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
296                      right aligned in column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_LENGTH</span></code>
297                      while using <code class="computeroutput"><span class="identifier">g</span></code>
298                      to generate the necessary padding
299                    </p>
300                  </td>
301</tr>
302<tr>
303<td>
304                    <p>
305                      <a class="link" href="../../reference/directive/alignment.html" title="Alignment Generator Directives (left_align[], center[], right_align[])"><code class="computeroutput"><span class="identifier">right_align</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">,</span> <span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
306                    </p>
307                  </td>
308<td>
309                    <p>
310                      <code class="computeroutput"><span class="identifier">A</span></code>
311                    </p>
312                  </td>
313<td>
314                    <p>
315                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
316                      right aligned in column of width <code class="computeroutput"><span class="identifier">num</span></code>
317                      while using <code class="computeroutput"><span class="identifier">g</span></code>
318                      to generate the necessary padding
319                    </p>
320                  </td>
321</tr>
322<tr>
323<td>
324                    <p>
325                      <a class="link" href="../../reference/directive/maxwidth.html" title="Generator Directives Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
326                    </p>
327                  </td>
328<td>
329                    <p>
330                      <code class="computeroutput"><span class="identifier">A</span></code>
331                    </p>
332                  </td>
333<td>
334                    <p>
335                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
336                      truncated to column of width <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_FIELD_MAXWIDTH</span></code>
337                    </p>
338                  </td>
339</tr>
340<tr>
341<td>
342                    <p>
343                      <a class="link" href="../../reference/directive/maxwidth.html" title="Generator Directives Controlling the Maximum Field Width (maxwidth[])"><code class="computeroutput"><span class="identifier">maxwidth</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
344                    </p>
345                  </td>
346<td>
347                    <p>
348                      <code class="computeroutput"><span class="identifier">A</span></code>
349                    </p>
350                  </td>
351<td>
352                    <p>
353                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
354                      truncated to column of width <code class="computeroutput"><span class="identifier">num</span></code>
355                    </p>
356                  </td>
357</tr>
358<tr>
359<td>
360                    <p>
361                      <a class="link" href="../../reference/directive/repeat.html" title="Repetition Generator Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
362                    </p>
363                  </td>
364<td>
365                    <p>
366                      <code class="computeroutput"><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">A</span><span class="special">&gt;</span></code>
367                    </p>
368                  </td>
369<td>
370                    <p>
371                      Repeat <code class="computeroutput"><span class="identifier">a</span></code> zero
372                      or more times
373                    </p>
374                  </td>
375</tr>
376<tr>
377<td>
378                    <p>
379                      <a class="link" href="../../reference/directive/repeat.html" title="Repetition Generator Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
380                    </p>
381                  </td>
382<td>
383                    <p>
384                      <code class="computeroutput"><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">A</span><span class="special">&gt;</span></code>
385                    </p>
386                  </td>
387<td>
388                    <p>
389                      Repeat <code class="computeroutput"><span class="identifier">a</span></code> <code class="computeroutput"><span class="identifier">num</span></code> times
390                    </p>
391                  </td>
392</tr>
393<tr>
394<td>
395                    <p>
396                      <a class="link" href="../../reference/directive/repeat.html" title="Repetition Generator Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num1</span><span class="special">,</span> <span class="identifier">num2</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
397                    </p>
398                  </td>
399<td>
400                    <p>
401                      <code class="computeroutput"><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">A</span><span class="special">&gt;</span></code>
402                    </p>
403                  </td>
404<td>
405                    <p>
406                      Repeat <code class="computeroutput"><span class="identifier">a</span></code> <code class="computeroutput"><span class="identifier">num1</span></code> to <code class="computeroutput"><span class="identifier">num2</span></code>
407                      times
408                    </p>
409                  </td>
410</tr>
411<tr>
412<td>
413                    <p>
414                      <a class="link" href="../../reference/directive/repeat.html" title="Repetition Generator Directive (repeat[])"><code class="computeroutput"><span class="identifier">repeat</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">,</span> <span class="identifier">inf</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
415                    </p>
416                  </td>
417<td>
418                    <p>
419                      <code class="computeroutput"><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">A</span><span class="special">&gt;</span></code>
420                    </p>
421                  </td>
422<td>
423                    <p>
424                      Repeat <code class="computeroutput"><span class="identifier">a</span></code> <code class="computeroutput"><span class="identifier">num</span></code> or more times
425                    </p>
426                  </td>
427</tr>
428<tr>
429<td>
430                    <p>
431                      <a class="link" href="../../reference/directive/delimit.html" title="Generator Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">verbatim</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
432                    </p>
433                  </td>
434<td>
435                    <p>
436                      <code class="computeroutput"><span class="identifier">A</span></code>
437                    </p>
438                  </td>
439<td>
440                    <p>
441                      Disable delimited generation for <code class="computeroutput"><span class="identifier">a</span></code>.
442                      Performs post delimiting.
443                    </p>
444                  </td>
445</tr>
446<tr>
447<td>
448                    <p>
449                      <a class="link" href="../../reference/directive/delimit.html" title="Generator Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">delimit</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
450                    </p>
451                  </td>
452<td>
453                    <p>
454                      <code class="computeroutput"><span class="identifier">A</span></code>
455                    </p>
456                  </td>
457<td>
458                    <p>
459                      Reestablish the delimiter that got inhibited by verbatim
460                    </p>
461                  </td>
462</tr>
463<tr>
464<td>
465                    <p>
466                      <a class="link" href="../../reference/directive/delimit.html" title="Generator Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">delimit</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">d</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
467                    </p>
468                  </td>
469<td>
470                    <p>
471                      <code class="computeroutput"><span class="identifier">A</span></code>
472                    </p>
473                  </td>
474<td>
475                    <p>
476                      Use <code class="computeroutput"><span class="identifier">d</span></code> as a
477                      delimiter for generating <code class="computeroutput"><span class="identifier">a</span></code>
478                    </p>
479                  </td>
480</tr>
481<tr>
482<td>
483                    <p>
484                      <a class="link" href="../../reference/directive/delimit.html" title="Generator Directives Controlling Automatic Delimiting (verbatim[], no_delimit[], delimit[])"><code class="computeroutput"><span class="identifier">no_delimit</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
485                    </p>
486                  </td>
487<td>
488                    <p>
489                      <code class="computeroutput"><span class="identifier">A</span></code>
490                    </p>
491                  </td>
492<td>
493                    <p>
494                      Disable delimited generation for <code class="computeroutput"><span class="identifier">a</span></code>.
495                      No post-delimiting step performed.
496                    </p>
497                  </td>
498</tr>
499<tr>
500<td>
501                    <p>
502                      <a class="link" href="../../reference/directive/as.html" title="Generator Directives Forcing Atomic Extraction (as&lt;T&gt;, as_string[], as_wstring[])"><code class="computeroutput"><span class="identifier">as</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;[]</span></code></a><code class="computeroutput"><span class="special">()[</span><span class="identifier">a</span><span class="special">]</span></code>
503                    </p>
504                  </td>
505<td>
506                    <p>
507                      <code class="computeroutput"><span class="identifier">A</span></code>
508                    </p>
509                  </td>
510<td>
511                    <p>
512                      Force atomic output from arbitrary attribute types
513                    </p>
514                  </td>
515</tr>
516<tr>
517<td>
518                    <p>
519                      <a class="link" href="../../reference/directive/as.html" title="Generator Directives Forcing Atomic Extraction (as&lt;T&gt;, as_string[], as_wstring[])"><code class="computeroutput"><span class="identifier">as_string</span><span class="special">[]</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
520                    </p>
521                  </td>
522<td>
523                    <p>
524                      <code class="computeroutput"><span class="identifier">A</span></code>
525                    </p>
526                  </td>
527<td>
528                    <p>
529                      Force atomic output from string attributes
530                    </p>
531                  </td>
532</tr>
533<tr>
534<td>
535                    <p>
536                      <a class="link" href="../../reference/directive/as.html" title="Generator Directives Forcing Atomic Extraction (as&lt;T&gt;, as_string[], as_wstring[])"><code class="computeroutput"><span class="identifier">as_wstring</span><span class="special">[]</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
537                    </p>
538                  </td>
539<td>
540                    <p>
541                      <code class="computeroutput"><span class="identifier">A</span></code>
542                    </p>
543                  </td>
544<td>
545                    <p>
546                      Force atomic output from wide character string attributes
547                    </p>
548                  </td>
549</tr>
550<tr>
551<td>
552                    <p>
553                      <a class="link" href="../../reference/directive/omit.html" title="Generator Directives Consuming Attributes (omit[] and skip[])"><code class="computeroutput"><span class="identifier">omit</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
554                    </p>
555                  </td>
556<td>
557                    <p>
558                      <code class="computeroutput"><span class="identifier">A</span></code>
559                    </p>
560                  </td>
561<td>
562                    <p>
563                      Consume the attribute type of <code class="computeroutput"><span class="identifier">a</span></code>
564                      without generating anything. The embedded generator will be
565                      always executed.
566                    </p>
567                  </td>
568</tr>
569<tr>
570<td>
571                    <p>
572                      <a class="link" href="../../reference/directive/omit.html" title="Generator Directives Consuming Attributes (omit[] and skip[])"><code class="computeroutput"><span class="identifier">skip</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
573                    </p>
574                  </td>
575<td>
576                    <p>
577                      <code class="computeroutput"><span class="identifier">A</span></code>
578                    </p>
579                  </td>
580<td>
581                    <p>
582                      Consume the attribute type of <code class="computeroutput"><span class="identifier">a</span></code>
583                      without generating anything. The embedded generator will never
584                      be executed.
585                    </p>
586                  </td>
587</tr>
588<tr>
589<td>
590                    <p>
591                      <a class="link" href="../../reference/directive/duplicate.html" title="Generator Directive Duplicating Attributes (duplicate[])"><code class="computeroutput"><span class="identifier">duplicate</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
592                    </p>
593                  </td>
594<td>
595                    <p>
596                      <code class="computeroutput"><span class="identifier">A</span></code>
597                    </p>
598                  </td>
599<td>
600                    <p>
601                      The supplied attribute will be duplicated and passed unchanged
602                      to all embedded elements of a sequence.
603                    </p>
604                  </td>
605</tr>
606<tr>
607<td>
608                    <p>
609                      <a class="link" href="../../reference/directive/buffer.html" title="Generator Directive for Temporary Output Buffering (buffer[])"><code class="computeroutput"><span class="identifier">buffer</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
610                    </p>
611                  </td>
612<td>
613                    <p>
614                      <code class="computeroutput"><span class="identifier">A</span></code>
615                    </p>
616                  </td>
617<td>
618                    <p>
619                      Temporarily intercept the output generated by <code class="computeroutput"><span class="identifier">a</span></code>, flushing it only after
620                      <code class="computeroutput"><span class="identifier">a</span></code> succeeded
621                    </p>
622                  </td>
623</tr>
624<tr>
625<td>
626                    <p>
627                      <a class="link" href="../../reference/directive/columns.html" title="Generator Directive Separating Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">columns</span></code></a><code class="computeroutput"><span class="special">[</span><span class="identifier">a</span><span class="special">]</span></code>
628                    </p>
629                  </td>
630<td>
631                    <p>
632                      <code class="computeroutput"><span class="identifier">A</span></code>
633                    </p>
634                  </td>
635<td>
636                    <p>
637                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
638                      split into <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_COLUMNS</span></code>
639                      number of columns using <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">eol</span></code>
640                      as column delimiter
641                    </p>
642                  </td>
643</tr>
644<tr>
645<td>
646                    <p>
647                      <a class="link" href="../../reference/directive/columns.html" title="Generator Directive Separating Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">columns</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
648                    </p>
649                  </td>
650<td>
651                    <p>
652                      <code class="computeroutput"><span class="identifier">A</span></code>
653                    </p>
654                  </td>
655<td>
656                    <p>
657                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
658                      split into <code class="computeroutput"><span class="identifier">num</span></code>
659                      number of columns using <code class="computeroutput"><span class="identifier">karma</span><span class="special">::</span><span class="identifier">eol</span></code>
660                      as column delimiter
661                    </p>
662                  </td>
663</tr>
664<tr>
665<td>
666                    <p>
667                      <a class="link" href="../../reference/directive/columns.html" title="Generator Directive Separating Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">columns</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
668                    </p>
669                  </td>
670<td>
671                    <p>
672                      <code class="computeroutput"><span class="identifier">A</span></code>
673                    </p>
674                  </td>
675<td>
676                    <p>
677                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
678                      split into <code class="computeroutput"><span class="identifier">BOOST_KARMA_DEFAULT_COLUMNS</span></code>
679                      number of columns using <code class="computeroutput"><span class="identifier">g</span></code>
680                      as column delimiter
681                    </p>
682                  </td>
683</tr>
684<tr>
685<td>
686                    <p>
687                      <a class="link" href="../../reference/directive/columns.html" title="Generator Directive Separating Output Into Columns (columns[])"><code class="computeroutput"><span class="identifier">columns</span></code></a><code class="computeroutput"><span class="special">(</span><span class="identifier">num</span><span class="special">,</span> <span class="identifier">g</span><span class="special">)[</span><span class="identifier">a</span><span class="special">]</span></code>
688                    </p>
689                  </td>
690<td>
691                    <p>
692                      <code class="computeroutput"><span class="identifier">A</span></code>
693                    </p>
694                  </td>
695<td>
696                    <p>
697                      Generate <code class="computeroutput"><span class="identifier">a</span></code>
698                      split into <code class="computeroutput"><span class="identifier">num</span></code>
699                      number of columns using <code class="computeroutput"><span class="identifier">g</span></code>
700                      as column delimiter
701                    </p>
702                  </td>
703</tr>
704</tbody>
705</table></div>
706</div>
707<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
708<td align="left"></td>
709<td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
710        Distributed under the Boost Software License, Version 1.0. (See accompanying
711        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>)
712      </p>
713</div></td>
714</tr></table>
715<hr>
716<div class="spirit-nav">
717<a accesskey="p" href="operators.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="action.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
718</div>
719</body>
720</html>
721