BloombergLP::balxml::Formatter_PrettyImplState::Formatter_PrettyImplState

Constructors

Synopses

Declared in <balxml_formatter_prettyimpl.h>

Create a Formatter_PrettyImplState with default attribute values.

Formatter_PrettyImplState();
» more...

Create a Formatter_PrettyImplState with default attribute values, using the specified allocator to supply memory.

explicit
Formatter_PrettyImplState(allocator_type const& allocator);
» more...

Create a Formatter_PrettyImplState object having the same value as the specified original object.

Formatter_PrettyImplState(
    Formatter_PrettyImplState const& original,
    allocator_type const& allocator = allocator_type());
» more...

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

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

Create a Formatter_PrettyImplState with the specified attribute values.

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());
» more...

Parameters

NameDescription
allocatormemory allocator used to supply memory
originalobject providing the value to copy
indentLevelinitial indentation level
spacesPerLevelspaces per indentation level
wrapColumncolumn at which to wrap lines
idstate-machine identifier
columncurrent column position
elementNestingstack of nested element whitespace modes