
Functions | |
| static XMLNode | XMLNode::createXMLTopNode (XMLCSTR lpszName, char isDeclaration=FALSE) |
| Create the top node of an XMLNode structure. More... | |
| XMLNode | XMLNode::addChild (XMLCSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1) |
| Add a new child node. More... | |
| XMLNode | XMLNode::addChild (XMLNode nodeToAdd, XMLElementPosition pos=-1) |
| If the "nodeToAdd" has some parents,. More... | |
| XMLAttribute * | XMLNode::addAttribute (XMLCSTR lpszName, XMLCSTR lpszValuev) |
| it will be detached from it's parents before being attached to the current XMLNode More... | |
| XMLCSTR | XMLNode::addText (XMLCSTR lpszValue, XMLElementPosition pos=-1) |
| Add a new text content. More... | |
| XMLClear * | XMLNode::addClear (XMLCSTR lpszValue, XMLCSTR lpszOpen=nullptr, XMLCSTR lpszClose=nullptr, XMLElementPosition pos=-1) |
| Add a new clear tag. More... | |
| XMLAttribute * XMLNode::addAttribute | ( | XMLCSTR | lpszName, |
| XMLCSTR | lpszValuev | ||
| ) |
it will be detached from it's parents before being attached to the current XMLNode
Add a new attribute
Definition at line 3429 of file xmlParser.cpp.
References XMLNode::addAttribute_priv(), and stringDup().
Referenced by mrpt::db::CSimpleDatabase::saveAsXML().
| XMLNode XMLNode::addChild | ( | XMLCSTR | lpszName, |
| char | isDeclaration = FALSE, |
||
| XMLElementPosition | pos = -1 |
||
| ) |
Add a new child node.
Definition at line 3419 of file xmlParser.cpp.
References XMLNode::addChild_priv(), XMLNode::isDeclaration(), and stringDup().
Referenced by XMLNode::addChild(), XMLNode::getChildNodeByPath(), and mrpt::db::CSimpleDatabase::saveAsXML().
| XMLNode XMLNode::addChild | ( | XMLNode | nodeToAdd, |
| XMLElementPosition | pos = -1 |
||
| ) |
If the "nodeToAdd" has some parents,.
Definition at line 2845 of file xmlParser.cpp.
References XMLNode::addChild(), XMLNode::addToOrder(), XMLNode::d, XMLNode::detachFromParent(), and eNodeChild.
| XMLClear * XMLNode::addClear | ( | XMLCSTR | lpszValue, |
| XMLCSTR | lpszOpen = nullptr, |
||
| XMLCSTR | lpszClose = nullptr, |
||
| XMLElementPosition | pos = -1 |
||
| ) |
Add a new clear tag.
| lpszOpen | default value "<![CDATA[" |
| lpszClose | default value "]]>" |
Definition at line 3445 of file xmlParser.cpp.
References XMLNode::addClear_priv(), and stringDup().
| XMLCSTR XMLNode::addText | ( | XMLCSTR | lpszValue, |
| XMLElementPosition | pos = -1 |
||
| ) |
Add a new text content.
Definition at line 3437 of file xmlParser.cpp.
References XMLNode::addText_priv(), and stringDup().
Referenced by mrpt::db::CSimpleDatabase::saveAsXML().
Create the top node of an XMLNode structure.
Definition at line 1414 of file xmlParser.cpp.
References XMLNode::isDeclaration(), stringDup(), and XMLNode::XMLNode().
Referenced by mrpt::db::CSimpleDatabase::saveAsXML().
| Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |