| 
    MRPT
    1.9.9
    
   | 
 
update is missing, a new one will be added
the update&add functions
These are some useful functions when you want to insert a childNode, a text or a XMLClearTag in the middle (at a specified position) of a XMLNode tree already constructed. The value returned by these methods is to be used as last parameter (parameter 'pos') of addChild, addText or addClear.
Functions | |
| XMLElementPosition | XMLNode::positionOfText (int i=0) const | 
| XMLElementPosition | XMLNode::positionOfText (XMLCSTR lpszValue) const | 
| XMLElementPosition | XMLNode::positionOfClear (int i=0) const | 
| XMLElementPosition | XMLNode::positionOfClear (XMLCSTR lpszValue) const | 
| XMLElementPosition | XMLNode::positionOfClear (XMLClear *a) const | 
| XMLElementPosition | XMLNode::positionOfChildNode (int i=0) const | 
| XMLElementPosition | XMLNode::positionOfChildNode (XMLNode x) const | 
| XMLElementPosition | XMLNode::positionOfChildNode (XMLCSTR name, int i=0) const | 
| return the position of the ith  More... | |
| XMLElementPosition XMLNode::positionOfChildNode | ( | int | i = 0 | ) | const | 
Definition at line 3194 of file xmlParser.cpp.
References XMLNode::d, eNodeChild, and XMLNode::findPosition().
Referenced by XMLNode::positionOfChildNode().
| XMLElementPosition XMLNode::positionOfChildNode | ( | XMLNode | x | ) | const | 
Definition at line 3212 of file xmlParser.cpp.
References XMLNode::d, eNodeChild, and XMLNode::findPosition().
| XMLElementPosition XMLNode::positionOfChildNode | ( | XMLCSTR | name, | 
| int | i = 0  | 
        ||
| ) | const | 
return the position of the ith
Definition at line 3222 of file xmlParser.cpp.
References XMLNode::d, eNodeChild, XMLNode::findPosition(), XMLNode::getChildNode(), and XMLNode::positionOfChildNode().
| XMLElementPosition XMLNode::positionOfClear | ( | int | i = 0 | ) | const | 
Definition at line 3189 of file xmlParser.cpp.
References XMLNode::d, eNodeClear, and XMLNode::findPosition().
Referenced by XMLNode::positionOfClear().
| XMLElementPosition XMLNode::positionOfClear | ( | XMLCSTR | lpszValue | ) | const | 
Definition at line 3203 of file xmlParser.cpp.
References XMLNode::indexClear(), and XMLNode::positionOfClear().
| XMLElementPosition XMLNode::positionOfClear | ( | XMLClear * | a | ) | const | 
Definition at line 3207 of file xmlParser.cpp.
References XMLNode::positionOfClear().
| XMLElementPosition XMLNode::positionOfText | ( | int | i = 0 | ) | const | 
Definition at line 3184 of file xmlParser.cpp.
References XMLNode::d, eNodeText, and XMLNode::findPosition().
Referenced by XMLNode::positionOfText().
| XMLElementPosition XMLNode::positionOfText | ( | XMLCSTR | lpszValue | ) | const | 
Definition at line 3199 of file xmlParser.cpp.
References XMLNode::indexText(), and XMLNode::positionOfText().
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |