ircproxy The Ultimate Cyborg |
#include <PersistXML.h>
Output/input an extra <label>...</label> pair, increasing the indentation.
Definition at line 161 of file PersistXML.h.
Public Member Functions | |
XMLLabel (PersistXML &xml, std::string const &label) | |
Open label archive xml. | |
~XMLLabel () | |
Close the label. | |
Private Attributes | |
PersistXML & | M_xml |
The archive. | |
std::string | M_label |
The label. |
XMLLabel::XMLLabel | ( | PersistXML & | xml, | |
std::string const & | label | |||
) | [inline] |
Open label archive xml.
Definition at line 167 of file PersistXML.h.
References PersistXML::M_archive, PersistXML::M_indent, M_label, and M_xml.
00167 : 00168 M_xml(xml), M_label(label) { M_xml.M_archive << M_xml.M_indent++ << '<' << M_label << ">\n"; } //! Close the label.
XMLLabel::~XMLLabel | ( | ) | [inline] |
Close the label.
Definition at line 170 of file PersistXML.h.
References PersistXML::M_archive, PersistXML::M_indent, M_label, and M_xml.
PersistXML& XMLLabel::M_xml [private] |
The archive.
Definition at line 163 of file PersistXML.h.
Referenced by XMLLabel(), and ~XMLLabel().
std::string XMLLabel::M_label [private] |
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|