FONTAINE  1.0
Public Member Functions
JSONR Class Reference

#include <JSONR.h>

Inheritance diagram for JSONR:
MLR

List of all members.

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

Member Function Documentation

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

Implements MLR.

References addKeyValuePair().

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

Implements MLR.

References addKeyValuePairToList().

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

Implements MLR.

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

Referenced by end().

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

Implements MLR.

References end().

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

Implements MLR.

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

Referenced by endList().

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

Implements MLR.

References endList().

void JSONR::endRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.

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

Implements MLR.

References start().

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

Implements MLR.

References startList().

void JSONR::startRoot ( void  )
virtual

Implements MLR.

References MLR::_ss.


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