Constructors

Synopses

Declared in <balxml_formatter_prettyimpl.h>

Create a Formatter_PrettyImplState with default attribute values.

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

explicit
Formatter_PrettyImplState(allocator_type const& allocator);

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());

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());

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());

Parameters

Name

Description

allocator

memory allocator used to supply memory

original

object providing the value to copy

indentLevel

initial indentation level

spacesPerLevel

spaces per indentation level

wrapColumn

column at which to wrap lines

id

state‐machine identifier

column

current column position

elementNesting

stack of nested element whitespace modes

Created with MrDocs