BloombergLP::balxml::Formatter_PrettyImplState::Formatter_PrettyImplState

Constructors

Synopses

Declared in <balxml_formatter_prettyimpl.h>

Create a Formatter_PrettyImplState having an id attribute of Id::e_AT_START, indentLevel, spacesPerLevel, column, and wrapColumn attributes 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.

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. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

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

Create a Formatter_PrettyImplState having an id attribute of Id::e_AT_START, the specified indentLevel, the specified spacesPerLevel, and the specified wrapColumn, 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.

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

Create a Formatter_PrettyImplState having 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.

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...