This utility struct provides a namespace for pretty‐printing XML.
Synopsis
Declared in <balxml_formatter_prettyimpl.h>
struct Formatter_PrettyImplUtil;
Description
It provides a suite of operations used to pretty‐print XML documents given a sequence of tokens to emit. Together with Formatter_PrettyImplState, this struct provides an implementation of a state machine for such pretty‐printing.
Type Aliases
Name |
Description |
State type used by pretty‐formatter utilities. |
|
State‐id type used by pretty‐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 declaration header with the optionally specified |
|
Add the specified |
|
Insert a literal newline into the XML output. |
|
Write the specified |
|
Close the most recently opened element of the specified |
|
Insert the closing |
|
Open an element of the specified |
|
Reset the specified formatter |
Created with MrDocs