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

#include <JSONR.h>

Inheritance diagram for JSONR:
MLR

Public Member Functions

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

Constructor & Destructor Documentation

◆ JSONR()

JSONR::JSONR ( )

Member Function Documentation

◆ addKeyValuePair() [1/2]

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

◆ addKeyValuePair() [2/2]

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

Implements MLR.

References addKeyValuePair().

◆ addKeyValuePairToList() [1/2]

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

◆ addKeyValuePairToList() [2/2]

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

Implements MLR.

References addKeyValuePairToList().

◆ end() [1/2]

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

Implements MLR.

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

Referenced by end().

◆ end() [2/2]

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

Implements MLR.

References end().

◆ endList() [1/2]

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

Implements MLR.

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

Referenced by endList().

◆ endList() [2/2]

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

Implements MLR.

References endList().

◆ endRoot()

void JSONR::endRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.

◆ start() [1/2]

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

◆ start() [2/2]

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

Implements MLR.

References start().

◆ startList() [1/2]

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

◆ startList() [2/2]

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

Implements MLR.

References startList().

◆ startRoot()

void JSONR::startRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.


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