36 #define G_PARSE "GXmlComment::parse(std::string&)"
200 for (
int k = 0; k < indent; ++k) {
220 const int& indent)
const
232 result.append(
"GXmlComment::"+
m_comment);
303 int n = segment.length();
310 if (segment[0] ==
'<') {
311 if (n < 7 || (segment.compare(0,4,
"<!--") != 0) ||
312 (segment.compare(n-3,3,
"-->") != 0)) {
313 std::string msg =
"Missing or invalid comment brackets "
314 "encountered in XML segment \""+segment+
315 "\". Please verify the XML format.";
Abstract XML node base class.
GXmlNode & operator=(const GXmlNode &node)
Assignment operator.
void init_members(void)
Initialise class members.
void free_members(void)
Delete class members.
virtual void printf(const char *format,...)=0
Exception handler interface definition.
std::string fill(const std::string &s, const int &n)
Fill string with n strings of same type.