| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
Class for XML document cursors. More...
| Public Member Functions | |
| DSRXMLCursor () | |
| default constructor | |
| DSRXMLCursor (const DSRXMLCursor &cursor) | |
| copy constructor | |
| virtual | ~DSRXMLCursor () | 
| destructor | |
| DSRXMLCursor & | operator= (const DSRXMLCursor &cursor) | 
| assignment operator | |
| OFBool | valid () const | 
| check whether cursor is valid. | |
| DSRXMLCursor & | gotoNext () | 
| set cursor to next XML node (same level). | |
| DSRXMLCursor & | gotoChild () | 
| set cursor to first XML child node (next lower level). | |
| DSRXMLCursor | getNext () const | 
| get cursor pointing to next XML node (same level). | |
| DSRXMLCursor | getChild () const | 
| get cursor pointing to first XML child node (next lower level). | |
| Private Attributes | |
| xmlNodePtr | Node | 
| pointer to the associated 'libxml' node | |
| Friends | |
| class | DSRXMLDocument | 
Class for XML document cursors.
This class encapsulates the access to the 'libxml' node pointer and, therefore, allows to replace the XML library with little effort (if required).
| DSRXMLCursor::DSRXMLCursor | ( | const DSRXMLCursor & | cursor | ) | 
| DSRXMLCursor DSRXMLCursor::getChild | ( | ) | const | 
get cursor pointing to first XML child node (next lower level).
This cursor object is not modified.
References DSRXMLCursor().
| DSRXMLCursor DSRXMLCursor::getNext | ( | ) | const | 
get cursor pointing to next XML node (same level).
This cursor object is not modified.
References DSRXMLCursor().
| DSRXMLCursor & DSRXMLCursor::gotoChild | ( | ) | 
set cursor to first XML child node (next lower level).
Blank (empty or whitespace only) nodes are ignored/skipped.
References DSRXMLCursor().
| DSRXMLCursor & DSRXMLCursor::gotoNext | ( | ) | 
set cursor to next XML node (same level).
Blank (empty or whitespace only) nodes are ignored/skipped.
References DSRXMLCursor().
| DSRXMLCursor & DSRXMLCursor::operator= | ( | const DSRXMLCursor & | cursor | ) | 
assignment operator
| cursor | cursor object to be copied | 
References DSRXMLCursor().
| 
 | inline | 
check whether cursor is valid.
Valid means that the cursor points to a valid XML node.
References Node.