IncredibleXMLParser  3.05
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Position helper functions (use in conjunction with the update&add functions

Functions

IXMLElementPosition IXMLNode::positionOfText (int i=0) const
 
IXMLElementPosition IXMLNode::positionOfText (IXMLCStr pValue) const
 
IXMLElementPosition IXMLNode::positionOfClear (int i=0) const
 
IXMLElementPosition IXMLNode::positionOfClear (IXMLCStr pValue) const
 
IXMLElementPosition IXMLNode::positionOfClear (IXMLClear *a) const
 
IXMLElementPosition IXMLNode::positionOfChildNode (int i=0) const
 
IXMLElementPosition IXMLNode::positionOfChildNode (IXMLNode x) const
 
IXMLElementPosition IXMLNode::positionOfChildNode (IXMLCStr name, int i=0) const
 return the position of the ith childNode with the specified name if (name==NULL) return the position of the ith childNode More...
 

Detailed Description

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 IXMLNode tree already constructed. The value returned by these methods is to be used as last parameter (parameter 'pos') of addChild, addText or addClear.

Function Documentation

IXMLElementPosition IXMLNode::positionOfChildNode ( int  i = 0) const

Referenced by example6().

IXMLElementPosition IXMLNode::positionOfChildNode ( IXMLNode  x) const
IXMLElementPosition IXMLNode::positionOfChildNode ( IXMLCStr  name,
int  i = 0 
) const

return the position of the ith childNode with the specified name if (name==NULL) return the position of the ith childNode

IXMLElementPosition IXMLNode::positionOfClear ( int  i = 0) const
IXMLElementPosition IXMLNode::positionOfClear ( IXMLCStr  pValue) const
IXMLElementPosition IXMLNode::positionOfClear ( IXMLClear a) const
IXMLElementPosition IXMLNode::positionOfText ( int  i = 0) const
IXMLElementPosition IXMLNode::positionOfText ( IXMLCStr  pValue) const