DCMTK Version 3.6.9 OFFIS DICOM Toolkit

Loading...
Searching...
No Matches
Functions
Navigate the XMLNode structure
The XML parser

## Functions
XMLCSTR | XMLNode::getName () const
| name of the node
XMLCSTR | XMLNode::getText (int i=0) const
| return ith text field
int | XMLNode::nText () const
| nbr of text field
XMLNode | XMLNode::getParentNode () const
| return the parent node
XMLNode | XMLNode::getChildNode (int i=0) const
| return ith child node
XMLNode | XMLNode::getChildNode (XMLCSTR name, int i) const
| return ith child node with specific name (return an empty node if failing). If i==-1, this returns the last XMLNode with the given name.
XMLNode | XMLNode::getChildNode (XMLCSTR name, int *i=NULL) const
| return next child node with specific name (return an empty node if failing)
XMLNode | XMLNode::getChildNodeWithAttribute (XMLCSTR tagName, XMLCSTR attributeName, XMLCSTR attributeValue=NULL, int *i=NULL) const
| return child node with specific name/attribute (return an empty node if failing)
XMLNode | XMLNode::getChildNodeByPath (XMLCSTR path, char createNodeIfMissing=0, XMLCHAR sep='/')
| return the first child node with specific path
XMLNode | XMLNode::getChildNodeByPathNonConst (XMLSTR path, char createNodeIfMissing=0, XMLCHAR sep='/')
| return the first child node with specific path.
int | XMLNode::nChildNode (XMLCSTR name) const
| return the number of child node with specific name
int | XMLNode::nChildNode () const
| nbr of child node
XMLAttribute | XMLNode::getAttribute (int i=0) const
| return ith attribute
XMLCSTR | XMLNode::getAttributeName (int i=0) const
| return ith attribute name
XMLCSTR | XMLNode::getAttributeValue (int i=0) const
| return ith attribute value
char | XMLNode::isAttributeSet (XMLCSTR name) const
| test if an attribute with a specific name is given
XMLCSTR | XMLNode::getAttribute (XMLCSTR name, int i) const
| return ith attribute content with specific name (return a NULL if failing)
XMLCSTR | XMLNode::getAttribute (XMLCSTR name, int *i=NULL) const
| return next attribute content with specific name (return a NULL if failing)
int | XMLNode::nAttribute () const
| nbr of attribute
XMLClear | XMLNode::getClear (int i=0) const
| return ith clear field (comments)
int | XMLNode::nClear () const
| nbr of clear field
XMLNodeContents | XMLNode::enumContents (XMLElementPosition i) const
| enumerate all the different contents (attribute,child,text, clear) of the current XMLNode. The order is reflecting the order of the original file/string. NOTE: 0 <= i < nElement();
int | XMLNode::nElement () const
| nbr of different contents for current node
char | XMLNode::isEmpty () const
| is this node Empty?
char | XMLNode::isDeclaration () const
| is this node a declaration <? .... ?>
XMLNode | XMLNode::deepCopy () const
| deep copy (duplicate/clone) a XMLNode
static XMLNode | XMLNode::emptyNode ()
| return XMLNode::emptyXMLNode;

## Detailed Description

Generated on Sat Mar 1 2025 for DCMTK Version 3.6.9 by Doxygen 1.13.2