BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlt_literal_specifierformatter

Detailed Description

Provide a specifier formatter for formatting simple literal values.

Outline

Purpose

Provide a specifier formatter for formatting simple literal values.

Classes

Description

This common specifier formatter reads characters from the spec and parses those characters it recognizes. In the parse phase, this updates the anticipated width of output, in the format phase, it does output according to the specification input. Note that both parsing and formatting are independent of the type and value of the object being formatted.

The common specifier formatter interprets the following sequences (beginning with %), ending with the following characters:

'%' - output a '%'
'n' - output a '\n'
't' - output a '\t'