FONTAINE  1.0
Public Member Functions | List of all members
XMLR Class Reference

#include <XMLR.h>

Inheritance diagram for XMLR:
MLR

Public Member Functions

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

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)
 
- Protected Attributes inherited from MLR
std::string _rootTag
 
std::string _indentationString
 
std::stack< MLRItem * > _stack
 
std::ostringstream _ss
 

Member Function Documentation

◆ addKeyValuePair() [1/2]

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

Implements MLR.

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

Referenced by addKeyValuePair(), and addKeyValuePairToList().

◆ addKeyValuePair() [2/2]

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

Implements MLR.

References addKeyValuePair().

◆ addKeyValuePairToList() [1/2]

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

Implements MLR.

References addKeyValuePair().

◆ addKeyValuePairToList() [2/2]

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

Implements MLR.

References addKeyValuePair().

◆ end() [1/2]

void XMLR::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 XMLR::end ( const char *  key)
virtual

Implements MLR.

References end().

◆ endList() [1/2]

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

Implements MLR.

References end().

◆ endList() [2/2]

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

Implements MLR.

References end().

◆ endRoot()

void XMLR::endRoot ( void  )
virtual

Implements MLR.

References MLR::_rootTag, and MLR::_ss.

◆ start() [1/2]

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

Implements MLR.

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

Referenced by start(), and startList().

◆ start() [2/2]

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

Implements MLR.

References start().

◆ startList() [1/2]

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

Implements MLR.

References start().

◆ startList() [2/2]

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

Implements MLR.

References start().

◆ startRoot()

void XMLR::startRoot ( void  )
virtual

Implements MLR.

References MLR::_rootTag, and MLR::_ss.


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