[#BloombergLP-balxml-Formatter_PrettyImplState-2constructor-019]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_PrettyImplState.adoc[Formatter&lowbar;PrettyImplState]::Formatter&lowbar;PrettyImplState
:relfileprefix: ../../../
:mrdocs:

Create a `Formatter&lowbar;PrettyImplState` with the specified attribute values&period;

== Synopsis

Declared in `&lt;balxml&lowbar;formatter&lowbar;prettyimpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Formatter&lowbar;PrettyImplState(
    xref:BloombergLP/balxml/Formatter_PrettyImplStateId/Enum.adoc[Id::Enum] id,
    int indentLevel,
    int spacesPerLevel,
    int column,
    int wrapColumn,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;WhitespaceType::Enum&gt;] const& elementNesting,
    xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

== Description

The object has the specified `id`, `indentLevel`, `spacesPerLevel`, `column`, `wrapColumn`, and `elementNesting` attributes&period; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| state&hyphen;machine identifier
| *indentLevel*
| initial indentation level
| *spacesPerLevel*
| spaces per indentation level
| *column*
| current column position
| *wrapColumn*
| column at which to wrap lines
| *elementNesting*
| stack of nested element whitespace modes
| *allocator*
| memory allocator used to supply memory
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
