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

Name

Description

indentLevel

initial indentation level

spacesPerLevel

spaces per indentation level

wrapColumn

column at which to wrap lines

allocator

memory allocator used to supply memory

Created with MrDocs