This component‐private, in‐core, value‐semantic class provides a variant that can be inhabited by an object of either the component‐private Formatter_CompactImplState type or the component‐private Formatter_PrettyImplState type.
Synopsis
Declared in <balxml_formatter.h>
class Formatter_State;
Type Aliases
Name |
Description |
Formatting mode type used by this class. |
|
Allocator type used by this class. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Return the allocator associated with this object. |
|
|
|
Data Members
Name |
Description |
|
Compact‐formatter state when |
|
Pretty‐formatter state when |
Friends
Name |
Description |
This class provides a set of XML‐style formatting utilities that enable transparent indentation and wrapping for users attempting to format data with XML tags and attributes. A formatter object is instantiated with a pointer to an output stream or streambuf. Users can then use the provided utilities to write element tags, attributes, data in a valid XML sequence into the underlying stream. |
Created with MrDocs