This class provides an in‐core, value‐semantic attribute type that maintains all of the state information needed to pretty‐print an XML document using the operations provided by Formatter_PrettyImplUtil.

Synopsis

Declared in <balxml_formatter_prettyimpl.h>

class Formatter_PrettyImplState;

Type Aliases

Name

Description

Id

Alias for Formatter_PrettyImplStateId.

WhitespaceType

Alias for FormatterWhitespaceType.

allocator_type

Alias for the bsl::allocator type used by this class.

Member Functions

Name

Description

Formatter_PrettyImplState [constructor]

Constructors

column

column overloads

elementNesting

elementNesting overloads

get_allocator

Return the allocator associated with this object.

id

id overloads

indentLevel

indentLevel overloads

spacesPerLevel

spacesPerLevel overloads

wrapColumn

wrapColumn overloads

operator BloombergLP::bslmf::NestedTraitDeclaration<Formatter_PrettyImplState, UsesBslmaAllocator>

Formatter_PrettyImplState uses a bslma allocator.

Created with MrDocs