|
BDE 4.14.0 Production release
|
#include <balxml_formatter_prettyimpl.h>
Public Types | |
| typedef bsl::allocator< char > | allocator_type |
| typedef Formatter_PrettyImplStateId | Id |
| typedef FormatterWhitespaceType | WhitespaceType |
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.
|
inline |
|
inlineexplicit |
Create a Formatter_PrettyImplState having an id attribute of Id::e_AT_START, indentLevel, spacesPerLevel, column, and wrapColumn attributes of 0, and an empty elementNesting attribute. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
|
inline |
Create a Formatter_PrettyImplState having an id attribute of Id::e_AT_START, the specified indentLevel, the specified spacesPerLevel, and the specified wrapColumn, a column attribute of 0, and an empty elementNesting attribute. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
|
inline |
Create a Formatter_PrettyImplState having the specified id, indentLevel, spacesPerLevel, column, wrapColumn, and elementNesting attributes. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
|
inline |
Create a Formatter_PrettyImplState object having the same value as the specified original object. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| balxml::Formatter_PrettyImplState::BSLMF_NESTED_TRAIT_DECLARATION | ( | Formatter_PrettyImplState | , |
| bslma::UsesBslmaAllocator | |||
| ) |
|
inline |
Return a reference providing modifiable access to the column attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the column attribute of this object.
|
inline |
Return a reference providing modifiable access to the elementNesting attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the elementNesting attribute of this object.
|
inline |
|
inline |
Return a reference providing modifiable access to the id attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the id attribute of this object.
|
inline |
Return a reference providing modifiable access to the indentLevel attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the indentLevel attribute of this object.
|
inline |
Return a reference providing modifiable access to the spacesPerLevel attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the spacesPerLevel attribute of this object.
|
inline |
Return a reference providing modifiable access to the wrapColumn attribute of this object.
|
inline |
Return a reference providing non-modifiable access to the wrapColumn attribute of this object.