|
BDE 4.14.0 Production release
|
#include <balxml_formatter.h>
Public Types | |
| typedef bsl::allocator< char > | allocator_type |
| typedef Formatter_Mode | Mode |
Public Member Functions | |
| BSLMF_NESTED_TRAIT_DECLARATION (Formatter_State, bslma::UsesBslmaAllocator) | |
| Formatter_State () | |
| Formatter_State (const allocator_type &allocator) | |
| Formatter_State (const Formatter_State &original, const allocator_type &allocator=allocator_type()) | |
| ~Formatter_State () | |
| Destroy this object. | |
| Formatter_State & | operator= (const Formatter_State &rhs) |
| allocator_type | get_allocator () const |
| Return the allocator associated with this object. | |
Friends | |
| class | balxml::Formatter |
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.
See balxml_formatter
| typedef bsl::allocator<char> balxml::Formatter_State::allocator_type |
|
inline |
|
inlineexplicit |
Create a Formatter_State with a compact selection having the default value. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| balxml::Formatter_State::Formatter_State | ( | const Formatter_State & | original, |
| const allocator_type & | allocator = allocator_type() |
||
| ) |
Create a Formatter_State 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_State::~Formatter_State | ( | ) |
| balxml::Formatter_State::BSLMF_NESTED_TRAIT_DECLARATION | ( | Formatter_State | , |
| bslma::UsesBslmaAllocator | |||
| ) |
|
inline |
| Formatter_State & balxml::Formatter_State::operator= | ( | const Formatter_State & | rhs | ) |
Assign to this object the value of the specified rhs and return a reference to this object.
|
friend |
| bsls::ObjectBuffer<Compact> balxml::Formatter_State::d_compact |
| bsls::ObjectBuffer<Pretty> balxml::Formatter_State::d_pretty |