FONTAINE  1.0
Public Member Functions | Protected Attributes | List of all members
TEXTR Class Reference

#include <TEXTR.h>

Inheritance diagram for TEXTR:
MLR

Public Member Functions

 TEXTR ()
 
void startRoot (void)
 
void endRoot (void)
 
void startList (const std::string &key)
 
void addKeyValuePairToList (const std::string &key, const std::string &value)
 
void endList (const std::string &key)
 
void start (const std::string &key)
 
void addKeyValuePair (const std::string &key, const std::string &value)
 
void end (const std::string &key)
 
void startList (const char *key)
 
void addKeyValuePairToList (const char *key, const char *value)
 
void endList (const char *key)
 
void start (const char *key)
 
void addKeyValuePair (const char *key, const char *value)
 
void end (const char *key)
 
void setListBullet (const std::string &bullet)
 
void setListBullet (const char *bullet)
 
- Public Member Functions inherited from MLR
 MLR ()
 
virtual ~MLR ()
 
void setRootTag (const std::string &tag)
 
void setRootTag (const char *tag)
 
void setIndentationString (const std::string &indent)
 
virtual std::string getReport () const
 

Protected Attributes

std::string _listBullet
 
- Protected Attributes inherited from MLR
std::string _rootTag
 
std::string _indentationString
 
std::stack< MLRItem * > _stack
 
std::ostringstream _ss
 

Additional Inherited Members

- Protected Member Functions inherited from MLR
void _start (const std::string &key)
 
void _end (const std::string &key)
 
void _incrementChildren ()
 
unsigned _getNumberOfChildren ()
 
void _indent (void)
 
void _setAsListContainer (void)
 
bool _isAListContainer (void)
 

Constructor & Destructor Documentation

◆ TEXTR()

TEXTR::TEXTR ( )

Member Function Documentation

◆ addKeyValuePair() [1/2]

void TEXTR::addKeyValuePair ( const std::string &  key,
const std::string &  value 
)
virtual

Implements MLR.

References MLR::_indent(), MLR::_ss, and BasicLatin::segmentize().

Referenced by addKeyValuePair().

◆ addKeyValuePair() [2/2]

void TEXTR::addKeyValuePair ( const char *  key,
const char *  value 
)
virtual

Implements MLR.

References addKeyValuePair().

◆ addKeyValuePairToList() [1/2]

void TEXTR::addKeyValuePairToList ( const std::string &  key,
const std::string &  value 
)
virtual

Implements MLR.

References MLR::_indent(), _listBullet, and MLR::_ss.

Referenced by addKeyValuePairToList().

◆ addKeyValuePairToList() [2/2]

void TEXTR::addKeyValuePairToList ( const char *  key,
const char *  value 
)
virtual

Implements MLR.

References addKeyValuePairToList().

◆ end() [1/2]

void TEXTR::end ( const std::string &  key)
virtual

Implements MLR.

References MLR::_end(), MLR::_indent(), and MLR::_ss.

Referenced by end(), and endList().

◆ end() [2/2]

void TEXTR::end ( const char *  key)
virtual

Implements MLR.

References end().

◆ endList() [1/2]

void TEXTR::endList ( const std::string &  key)
virtual

Implements MLR.

References end().

Referenced by endList().

◆ endList() [2/2]

void TEXTR::endList ( const char *  key)
virtual

Implements MLR.

References endList().

◆ endRoot()

void TEXTR::endRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.

◆ setListBullet() [1/2]

void TEXTR::setListBullet ( const std::string &  bullet)

References _listBullet.

Referenced by setListBullet().

◆ setListBullet() [2/2]

void TEXTR::setListBullet ( const char *  bullet)

References setListBullet().

◆ start() [1/2]

void TEXTR::start ( const std::string &  key)
virtual

Implements MLR.

References MLR::_indent(), MLR::_ss, MLR::_start(), and BasicLatin::segmentize().

Referenced by start(), and startList().

◆ start() [2/2]

void TEXTR::start ( const char *  key)
virtual

Implements MLR.

References start().

◆ startList() [1/2]

void TEXTR::startList ( const std::string &  key)
virtual

Implements MLR.

References start().

Referenced by startList().

◆ startList() [2/2]

void TEXTR::startList ( const char *  key)
virtual

Implements MLR.

References startList().

◆ startRoot()

void TEXTR::startRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.

Member Data Documentation

◆ _listBullet

std::string TEXTR::_listBullet
protected

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