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

Constructors

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0a.adoc[Formatter&lowbar;PrettyImplState]();
----

[.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create a `Formatter&lowbar;PrettyImplState` with default attribute values, using the specified `allocator` to supply memory&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0d.adoc[Formatter&lowbar;PrettyImplState](xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

[.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Create a `Formatter&lowbar;PrettyImplState` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0b.adoc[Formatter&lowbar;PrettyImplState](
    xref:BloombergLP/balxml/Formatter_PrettyImplState.adoc[Formatter&lowbar;PrettyImplState] const& original,
    xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Create a `Formatter&lowbar;PrettyImplState` with the specified `indentLevel`, `spacesPerLevel`, and `wrapColumn`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-01e.adoc[Formatter&lowbar;PrettyImplState](
    int indentLevel,
    int spacesPerLevel,
    int wrapColumn,
    xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-01e.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-019.adoc[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());
----

[.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-019.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| 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&hyphen;machine identifier
| *column*
| current column position
| *elementNesting*
| stack of nested element whitespace modes
|===


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