34 #include "dcmtk/config/osconfig.h" 36 #include "dcmtk/dcmsr/dsrtypes.h" 37 #include "dcmtk/dcmsr/dsrtncsr.h" 117 virtual void clear();
122 OFBool isEmpty()
const;
135 size_t gotoNode(
const size_t searchID,
136 const OFBool startFromRoot = OFTrue);
146 size_t gotoNode(
const OFString &reference,
147 const OFBool startFromRoot = OFTrue);
168 virtual size_t removeNode();
virtual ~DSRTreeNode()
destructor
static size_t IdentCounter
global counter used to create the unique identifiers
DSRTreeNode()
default constructor
DSRTreeNode * Down
pointer to first child node (if any)
Class managing a tree of nodes.
DSRTreeNode * getRoot() const
get pointer to root node
const size_t Ident
unique identifier (created automatically)
add new node after current one (sibling)
DSRTreeNode * Prev
pointer to previous tree node (if any)
DSRTreeNode * Next
pointer to next tree node (if any)
General purpose class hiding global functions, constants and types from the global namespace...
a simple string class that implements a subset of std::string.
Class implementing a tree node cursor.
DSRTreeNode * RootNode
pointer to the root tree node