Create a Formatter_PrettyImplState with the specified attribute values.
Declared in <balxml_formatter_prettyimpl.h>
Formatter_PrettyImplState(
Id::Enum id,
int indentLevel,
int spacesPerLevel,
int column,
int wrapColumn,
bsl::vector<WhitespaceType::Enum> const& elementNesting,
allocator_type const& allocator = allocator_type());
The object has the specified id, indentLevel, spacesPerLevel, column, wrapColumn, and elementNesting attributes. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| Name | Description |
|---|---|
| id | state-machine identifier |
| indentLevel | initial indentation level |
| spacesPerLevel | spaces per indentation level |
| column | current column position |
| wrapColumn | column at which to wrap lines |
| elementNesting | stack of nested element whitespace modes |
| allocator | memory allocator used to supply memory |