Utility operations for compact (minimal‐whitespace) XML formatting.
Synopsis
Declared in <balxml_formatter_compactimpl.h>
struct Formatter_CompactImplUtil;
Description
This utility struct provides a namespace for a suite of operations used to pretty‐print XML documents given a sequence of tokens to emit. Together with Formatter_CompactImplState, this struct provides an implementation of a state machine for such pretty‐printing.
Type Aliases
Name |
Description |
State type used by compact‐formatter utilities. |
|
State‐id type used by compact‐formatter utilities. |
|
Alias for |
Static Member Functions
Name |
Description |
Add an attribute of the specified |
|
Insert one or two newlines so that a blank line results. |
|
Write the specified |
|
Add the specified |
|
Add an element of the specified |
|
Add an XML header with optionally specified |
|
Add the specified |
|
Insert a literal newline into the XML output. |
|
Write a valid XML comment into the specified |
|
Close the most recently opened element of the specified |
|
Flush the output stream, completing any open start tag first. |
|
Open an element of the specified |
|
Reset the specified formatter |
Created with MrDocs