Position helper functions (use in conjunction with the update&add functions
[Create or Update the XMLNode structure]


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 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 childNode with the specified name if (name==NULL) return the position of the ith childNode


Function Documentation

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

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

XMLElementPosition XMLNode::positionOfChildNode ( XMLNode  x  )  const [inherited]

XMLElementPosition XMLNode::positionOfChildNode ( int  i = 0  )  const [inherited]

XMLElementPosition XMLNode::positionOfClear ( XMLClear a  )  const [inherited]

XMLElementPosition XMLNode::positionOfClear ( XMLCSTR  lpszValue  )  const [inherited]

XMLElementPosition XMLNode::positionOfClear ( int  i = 0  )  const [inherited]

XMLElementPosition XMLNode::positionOfText ( XMLCSTR  lpszValue  )  const [inherited]

XMLElementPosition XMLNode::positionOfText ( int  i = 0  )  const [inherited]


Generated on Tue Aug 19 12:00:16 2008 for xmlParser by  doxygen 1.5.6