#include <JSONR.h>
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) |
JSONR::JSONR | ( | ) |
References MLR::_indentationString.
void JSONR::addKeyValuePair | ( | const char * | key, | |
const char * | value | |||
) | [virtual] |
Implements MLR.
References addKeyValuePair().
void JSONR::addKeyValuePair | ( | const std::string & | key, | |
const std::string & | value | |||
) | [virtual] |
Implements MLR.
References MLR::_getNumberOfChildren(), MLR::_incrementChildren(), MLR::_indent(), and MLR::_ss.
Referenced by addKeyValuePair().
void JSONR::addKeyValuePairToList | ( | const char * | key, | |
const char * | value | |||
) | [virtual] |
Implements MLR.
References addKeyValuePairToList().
void JSONR::addKeyValuePairToList | ( | const std::string & | key, | |
const std::string & | value | |||
) | [virtual] |
Implements MLR.
References MLR::_getNumberOfChildren(), MLR::_incrementChildren(), MLR::_indent(), and MLR::_ss.
Referenced by 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::endList | ( | const std::string & | key | ) | [virtual] |
void JSONR::start | ( | const std::string & | key | ) | [virtual] |
Implements MLR.
References MLR::_getNumberOfChildren(), MLR::_indent(), MLR::_isAListContainer(), MLR::_ss, and MLR::_start().
Referenced by start().
void JSONR::startList | ( | const char * | key | ) | [virtual] |
Implements MLR.
References startList().
void JSONR::startList | ( | const std::string & | key | ) | [virtual] |
Implements MLR.
References MLR::_getNumberOfChildren(), MLR::_indent(), MLR::_setAsListContainer(), MLR::_ss, and MLR::_start().
Referenced by startList().