DCMTK  Version 3.6.9
OFFIS DICOM Toolkit
Functions
Position helper functions (use in conjunction with 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. More...

Functions

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
 

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.


Generated on Wed Dec 11 2024 for DCMTK Version 3.6.9 by Doxygen 1.9.1