BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balxml::Formatter_State Class Reference

#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_Stateoperator= (const Formatter_State &rhs)
 
allocator_type get_allocator () const
 Return the allocator associated with this object.
 

Friends

class balxml::Formatter
 

Detailed Description

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

Member Typedef Documentation

◆ allocator_type

◆ Mode

Constructor & Destructor Documentation

◆ Formatter_State() [1/3]

balxml::Formatter_State::Formatter_State ( )
inline

◆ Formatter_State() [2/3]

balxml::Formatter_State::Formatter_State ( const allocator_type allocator)
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.

◆ Formatter_State() [3/3]

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.

◆ ~Formatter_State()

balxml::Formatter_State::~Formatter_State ( )

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION()

balxml::Formatter_State::BSLMF_NESTED_TRAIT_DECLARATION ( Formatter_State  ,
bslma::UsesBslmaAllocator   
)

◆ get_allocator()

Formatter_State::allocator_type balxml::Formatter_State::get_allocator ( ) const
inline

◆ operator=()

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.

Friends And Related Symbol Documentation

◆ balxml::Formatter

friend class balxml::Formatter
friend

Member Data Documentation

◆ d_compact

bsls::ObjectBuffer<Compact> balxml::Formatter_State::d_compact

◆ d_pretty

bsls::ObjectBuffer<Pretty> balxml::Formatter_State::d_pretty

The documentation for this class was generated from the following file: