#include <balxml_formatter_compactimpl.h>
This class provides an in-core, value-semantic attribute type that maintains all of the state information needed to print an XML document with minimal whitespace using the operations provided by Formatter_CompactImplUtil
.
See balxml_formatter_compactimpl
◆ Id
◆ Formatter_CompactImplState() [1/3]
balxml::Formatter_CompactImplState::Formatter_CompactImplState |
( |
| ) |
|
|
inline |
◆ Formatter_CompactImplState() [2/3]
balxml::Formatter_CompactImplState::Formatter_CompactImplState |
( |
int |
indentLevel, |
|
|
int |
spacesPerLevel |
|
) |
| |
|
inline |
Create a Formatter_CompactImplState
having an id
attribute of Id::e_AT_START
, the specified indentLevel
and spacesPerLevel
, as well as an initialIndentLevel
attribute equal to indentLevel
, and a column
attribute of 0.
◆ Formatter_CompactImplState() [3/3]
balxml::Formatter_CompactImplState::Formatter_CompactImplState |
( |
Id::Enum |
id, |
|
|
int |
indentLevel, |
|
|
int |
initialIndentLevel, |
|
|
int |
spacesPerLevel, |
|
|
int |
column |
|
) |
| |
|
inline |
Create a Formatter_CompactImplState
having the specified id
, indentLevel
, initialIndentLevel
, spacesPerLevel
, and column
attributes.
◆ column() [1/2]
int & balxml::Formatter_CompactImplState::column |
( |
| ) |
|
|
inline |
Return a reference providing modifiable access to the column
attribute of this object.
◆ column() [2/2]
const int & balxml::Formatter_CompactImplState::column |
( |
| ) |
const |
|
inline |
Return a reference providing non-modifiable access to the column
attribute of this object.
◆ id() [1/2]
Return a reference providing modifiable access to the id
attribute of this object.
◆ id() [2/2]
Return a reference providing non-modifiable access to the id
attribute of this object.
◆ indentLevel() [1/2]
int & balxml::Formatter_CompactImplState::indentLevel |
( |
| ) |
|
|
inline |
Return a reference providing modifiable access to the indentLevel
attribute of this object.
◆ indentLevel() [2/2]
const int & balxml::Formatter_CompactImplState::indentLevel |
( |
| ) |
const |
|
inline |
Return a reference providing non-modifiable access to the indentLevel
attribute of this object.
◆ initialIndentLevel() [1/2]
int & balxml::Formatter_CompactImplState::initialIndentLevel |
( |
| ) |
|
|
inline |
Return a reference providing modifiable access to the initialIndentLevel
attribute of this object.
◆ initialIndentLevel() [2/2]
const int & balxml::Formatter_CompactImplState::initialIndentLevel |
( |
| ) |
const |
|
inline |
Return a reference providing non-modifiable access to the initialIndentLevel
attribute of this object.
◆ spacesPerLevel() [1/2]
int & balxml::Formatter_CompactImplState::spacesPerLevel |
( |
| ) |
|
|
inline |
Return a reference providing modifiable access to the spacesPerLevel
attribute of this object.
◆ spacesPerLevel() [2/2]
const int & balxml::Formatter_CompactImplState::spacesPerLevel |
( |
| ) |
const |
|
inline |
Return a reference providing non-modifiable access to the spacesPerLevel
attribute of this object.
The documentation for this class was generated from the following file: