Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions

balxml::Formatter_CompactImplState Class Reference

#include <balxml_formatter_compactimpl.h>

List of all members.

Public Types

typedef
Formatter_CompactImplStateId 
Id

Public Member Functions

 Formatter_CompactImplState ()
 Formatter_CompactImplState (int indentLevel, int spacesPerLevel)
 Formatter_CompactImplState (Id::Enum id, int indentLevel, int initialIndentLevel, int spacesPerLevel, int column)
int & column ()
Id::Enumid ()
int & indentLevel ()
int & initialIndentLevel ()
int & spacesPerLevel ()
const int & column () const
const Id::Enumid () const
const int & indentLevel () const
const int & initialIndentLevel () const
const int & spacesPerLevel () const

Detailed Description

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


Member Typedef Documentation


Constructor & Destructor Documentation

balxml::Formatter_CompactImplState::Formatter_CompactImplState (  ) 

Create a Formatter_CompactImplState having an id attribute of Id::e_AT_START, and indentLevel, initialIndentLevel, spacesPerLevel, and column attributes of 0.

balxml::Formatter_CompactImplState::Formatter_CompactImplState ( int  indentLevel,
int  spacesPerLevel 
)

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.

balxml::Formatter_CompactImplState::Formatter_CompactImplState ( Id::Enum  id,
int  indentLevel,
int  initialIndentLevel,
int  spacesPerLevel,
int  column 
)

Create a Formatter_CompactImplState having the specified id, indentLevel, initialIndentLevel, spacesPerLevel, and column attributes.


Member Function Documentation

int& balxml::Formatter_CompactImplState::column (  ) 

Return a reference providing modifiable access to the column attribute of this object.

Id::Enum& balxml::Formatter_CompactImplState::id (  ) 

Return a reference providing modifiable access to the id attribute of this object.

int& balxml::Formatter_CompactImplState::indentLevel (  ) 

Return a reference providing modifiable access to the indentLevel attribute of this object.

int& balxml::Formatter_CompactImplState::initialIndentLevel (  ) 

Return a reference providing modifiable access to the initialIndentLevel attribute of this object.

int& balxml::Formatter_CompactImplState::spacesPerLevel (  ) 

Return a reference providing modifiable access to the spacesPerLevel attribute of this object.

const int& balxml::Formatter_CompactImplState::column (  )  const

Return a reference providing non-modifiable access to the column attribute of this object.

const Id::Enum& balxml::Formatter_CompactImplState::id (  )  const

Return a reference providing non-modifiable access to the id attribute of this object.

const int& balxml::Formatter_CompactImplState::indentLevel (  )  const

Return a reference providing non-modifiable access to the indentLevel attribute of this object.

const int& balxml::Formatter_CompactImplState::initialIndentLevel (  )  const

Return a reference providing non-modifiable access to the initialIndentLevel attribute of this object.

const int& balxml::Formatter_CompactImplState::spacesPerLevel (  )  const

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: