BloombergLP::balxml::Formatter_PrettyImplState::Formatter_PrettyImplState

Create a Formatter_PrettyImplState with the specified indentLevel, spacesPerLevel, and wrapColumn.

Synopsis

Declared in <balxml_formatter_prettyimpl.h>

Formatter_PrettyImplState(
    int indentLevel,
    int spacesPerLevel,
    int wrapColumn,
    allocator_type const& allocator = allocator_type());

Description

The object has an id attribute of Id::e_AT_START, a column attribute of 0, and an empty elementNesting attribute. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

Parameters

NameDescription
indentLevelinitial indentation level
spacesPerLevelspaces per indentation level
wrapColumncolumn at which to wrap lines
allocatormemory allocator used to supply memory