[#BloombergLP-balxml-Formatter_PrettyImplState-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_PrettyImplState.adoc[Formatter_PrettyImplState]::Formatter_PrettyImplState :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_formatter_prettyimpl.h>` Create a `Formatter_PrettyImplState` with default attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0a.adoc[Formatter_PrettyImplState](); ---- [.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0a.adoc[_» more..._]# Create a `Formatter_PrettyImplState` with default attribute values, using the specified `allocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0d.adoc[Formatter_PrettyImplState](xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0d.adoc[_» more..._]# Create a `Formatter_PrettyImplState` object having the same value as the specified `original` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0b.adoc[Formatter_PrettyImplState]( xref:BloombergLP/balxml/Formatter_PrettyImplState.adoc[Formatter_PrettyImplState] const& original, xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-0b.adoc[_» more..._]# Create a `Formatter_PrettyImplState` with the specified `indentLevel`, `spacesPerLevel`, and `wrapColumn`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-01e.adoc[Formatter_PrettyImplState]( int indentLevel, int spacesPerLevel, int wrapColumn, xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-01e.adoc[_» more..._]# Create a `Formatter_PrettyImplState` with the specified attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-019.adoc[Formatter_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<WhitespaceType::Enum>] const& elementNesting, xref:BloombergLP/balxml/Formatter_PrettyImplState/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/balxml/Formatter_PrettyImplState/2constructor-019.adoc[_» more..._]# == 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‐machine identifier | *column* | current column position | *elementNesting* | stack of nested element whitespace modes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#