Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext
Generator Directives

See here for more information about Generator Directives.

Expression

Attribute

Description

lower[a]

A

Generate a as lower case

upper[a]

A

Generate a as upper case

left_align[a]

A

Generate a left aligned in column of width BOOST_KARMA_DEFAULT_FIELD_LENGTH

left_align(num)[a]

A

Generate a left aligned in column of width num

left_align(num, g)[a]

A

Generate a left aligned in column of width num while using g to generate the necesssary padding

center[a]

A

Generate a centered in column of width BOOST_KARMA_DEFAULT_FIELD_LENGTH

center(num)[a]

A

Generate a centered in column of width num

center(num, g)[a]

A

Generate a centered in column of width num while using g to generate the necesssary padding

right_align[a]

A

Generate a right aligned in column of width BOOST_KARMA_DEFAULT_FIELD_LENGTH

right_align(num)[a]

A

Generate a right aligned in column of width num

right_align(num, g)[a]

A

Generate a right aligned in column of width num while using g to generate the necesssary padding

maxwidth[a]

A

Generate a truncated to column of width BOOST_KARMA_DEFAULT_FIELD_MAXWIDTH

maxwidth(num)[a]

A

Generate a truncated to column of width num

repeat[a]

vector<A>

Repeat a zero or more times

repeat(num)[a]

vector<A>

Repeat a num times

repeat(num1, num2)[a]

vector<A>

Repeat a num1 to num2 times

repeat(num, inf)[a]

vector<A>

Repeat a num or more times

verbatim[a]

A

Disable delimited generation for a

delimit[a]

A

Reestablish the delimiter that got inhibited by verbatim

delimit(d)[a]

A

Use d as a delimiter for generating a

omit[a]

A

Consume the attribute type of a without generating anything

buffer[a]

A

Temporarily intercept the output generated by a, flushing it only after a succeeded


PrevUpHomeNext