Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Friends

balxml::Formatter_State Class Reference

#include <balxml_formatter.h>

List of all members.

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 ()
Formatter_Stateoperator= (const Formatter_State &rhs)
allocator_type get_allocator () const

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 Component balxml_formatter


Member Typedef Documentation


Constructor & Destructor Documentation

balxml::Formatter_State::Formatter_State (  ) 
balxml::Formatter_State::Formatter_State ( const allocator_type allocator  )  [explicit]

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 (  ) 

Destroy this object.


Member Function Documentation

balxml::Formatter_State::BSLMF_NESTED_TRAIT_DECLARATION ( Formatter_State  ,
bslma::UsesBslmaAllocator   
)
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.

allocator_type balxml::Formatter_State::get_allocator (  )  const

Return the allocator associated with this object.


Friends And Related Function Documentation

friend class balxml::Formatter [friend]

Member Data Documentation


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