Main MRPT website > C++ reference for MRPT 1.9.9
Functions
Position helper functions (use in conjunction with

Detailed Description

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.

Collaboration diagram for Position helper functions (use in conjunction with:

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...
 

Function Documentation

◆ positionOfChildNode() [1/3]

XMLElementPosition XMLNode::positionOfChildNode ( int  i = 0) const

Definition at line 3192 of file xmlParser.cpp.

References XMLNode::d, eNodeChild, and XMLNode::findPosition().

Referenced by XMLNode::positionOfChildNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ positionOfChildNode() [2/3]

XMLElementPosition XMLNode::positionOfChildNode ( XMLNode  x) const

Definition at line 3210 of file xmlParser.cpp.

References XMLNode::d, eNodeChild, and XMLNode::findPosition().

Here is the call graph for this function:

◆ positionOfChildNode() [3/3]

XMLElementPosition XMLNode::positionOfChildNode ( XMLCSTR  name,
int  i = 0 
) const

return the position of the ith

Definition at line 3220 of file xmlParser.cpp.

References XMLNode::d, eNodeChild, XMLNode::findPosition(), XMLNode::getChildNode(), and XMLNode::positionOfChildNode().

Here is the call graph for this function:

◆ positionOfClear() [1/3]

XMLElementPosition XMLNode::positionOfClear ( int  i = 0) const

Definition at line 3187 of file xmlParser.cpp.

References XMLNode::d, eNodeClear, and XMLNode::findPosition().

Referenced by XMLNode::positionOfClear().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ positionOfClear() [2/3]

XMLElementPosition XMLNode::positionOfClear ( XMLCSTR  lpszValue) const

Definition at line 3201 of file xmlParser.cpp.

References XMLNode::indexClear(), and XMLNode::positionOfClear().

Here is the call graph for this function:

◆ positionOfClear() [3/3]

XMLElementPosition XMLNode::positionOfClear ( XMLClear a) const

Definition at line 3205 of file xmlParser.cpp.

References XMLNode::positionOfClear().

Here is the call graph for this function:

◆ positionOfText() [1/2]

XMLElementPosition XMLNode::positionOfText ( int  i = 0) const

Definition at line 3182 of file xmlParser.cpp.

References XMLNode::d, eNodeText, and XMLNode::findPosition().

Referenced by XMLNode::positionOfText().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ positionOfText() [2/2]

XMLElementPosition XMLNode::positionOfText ( XMLCSTR  lpszValue) const

Definition at line 3197 of file xmlParser.cpp.

References XMLNode::indexText(), and XMLNode::positionOfText().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019