FONTAINE
1.0
|
#include <XHTMLR.h>
Public Member Functions | |
XHTMLR () | |
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 | setStartTag (const std::string &s) |
void | setKeyValuePairTag (const std::string &s) |
void | setStartListTag (const std::string &s) |
void | setListItemTag (const std::string &s) |
void | setStartTag (const char *s) |
void | setKeyValuePairTag (const char *s) |
void | setStartListTag (const char *s) |
void | setListItemTag (const char *s) |
![]() | |
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 | _startTag |
std::string | _keyValuePairTag |
std::string | _startListTag |
std::string | _listItemTag |
![]() | |
std::string | _rootTag |
std::string | _indentationString |
std::stack< MLRItem * > | _stack |
std::ostringstream | _ss |
Additional Inherited Members | |
![]() | |
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) |
XHTMLR::XHTMLR | ( | ) |
References _keyValuePairTag, _listItemTag, _startListTag, and _startTag.
|
virtual |
Implements MLR.
References MLR::_indent(), _keyValuePairTag, MLR::_ss, and BasicLatin::segmentize().
Referenced by addKeyValuePair().
|
virtual |
Implements MLR.
References addKeyValuePair().
|
virtual |
Implements MLR.
References MLR::_indent(), _listItemTag, and MLR::_ss.
Referenced by addKeyValuePairToList().
|
virtual |
Implements MLR.
References addKeyValuePairToList().
|
virtual |
Implements MLR.
References MLR::_end(), MLR::_indent(), MLR::_isAListContainer(), _listItemTag, MLR::_ss, and _startTag.
Referenced by end().
|
virtual |
Implements MLR.
References MLR::_end(), MLR::_indent(), MLR::_ss, and _startListTag.
Referenced by endList().
void XHTMLR::setKeyValuePairTag | ( | const std::string & | s) |
References _keyValuePairTag.
Referenced by setKeyValuePairTag().
void XHTMLR::setKeyValuePairTag | ( | const char * | s) |
References setKeyValuePairTag().
void XHTMLR::setListItemTag | ( | const std::string & | s) |
References _listItemTag.
Referenced by setListItemTag().
void XHTMLR::setListItemTag | ( | const char * | s) |
References setListItemTag().
void XHTMLR::setStartListTag | ( | const std::string & | s) |
References _startListTag.
Referenced by setStartListTag().
void XHTMLR::setStartListTag | ( | const char * | s) |
References setStartListTag().
void XHTMLR::setStartTag | ( | const std::string & | s) |
References _startTag.
Referenced by setStartTag().
void XHTMLR::setStartTag | ( | const char * | s) |
References setStartTag().
|
virtual |
Implements MLR.
References MLR::_indent(), MLR::_isAListContainer(), _listItemTag, MLR::_ss, MLR::_start(), and _startTag.
Referenced by start().
|
virtual |
Implements MLR.
References MLR::_indent(), MLR::_setAsListContainer(), MLR::_ss, MLR::_start(), and _startListTag.
Referenced by startList().
|
virtual |
Implements MLR.
References startList().
|
virtual |
Implements MLR.
References MLR::_rootTag, MLR::_ss, and _startTag.
|
protected |
Referenced by addKeyValuePair(), setKeyValuePairTag(), and XHTMLR().
|
protected |
Referenced by addKeyValuePairToList(), end(), setListItemTag(), start(), and XHTMLR().
|
protected |
Referenced by endList(), setStartListTag(), startList(), and XHTMLR().
|
protected |
Referenced by end(), endRoot(), setStartTag(), start(), startRoot(), and XHTMLR().