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

#include <balxml_formatter_compactimpl.h>

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 balxml_formatter_compactimpl

Member Typedef Documentation

◆ Id

Constructor & Destructor Documentation

◆ Formatter_CompactImplState() [1/3]

balxml::Formatter_CompactImplState::Formatter_CompactImplState ( )
inline

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

◆ Formatter_CompactImplState() [2/3]

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

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.

◆ Formatter_CompactImplState() [3/3]

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

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

Member Function Documentation

◆ column() [1/2]

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

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

◆ column() [2/2]

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

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

◆ id() [1/2]

Formatter_CompactImplStateId::Enum & balxml::Formatter_CompactImplState::id ( )
inline

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

◆ id() [2/2]

const Formatter_CompactImplStateId::Enum & balxml::Formatter_CompactImplState::id ( ) const
inline

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

◆ indentLevel() [1/2]

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

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

◆ indentLevel() [2/2]

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

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

◆ initialIndentLevel() [1/2]

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

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

◆ initialIndentLevel() [2/2]

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

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

◆ spacesPerLevel() [1/2]

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

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

◆ spacesPerLevel() [2/2]

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

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: