Inheritance diagram for DSRByReferenceTreeNode:
Public Member Functions | |
DSRByReferenceTreeNode (const E_RelationshipType relationshipType) | |
constructor | |
DSRByReferenceTreeNode (const E_RelationshipType relationshipType, const size_t referencedNodeID) | |
constructor | |
virtual | ~DSRByReferenceTreeNode () |
destructor | |
virtual void | clear () |
clear all member variables. | |
virtual OFBool | isValid () const |
check whether the content item is valid. | |
virtual OFCondition | print (ostream &stream, const size_t flags) const |
print content item. | |
virtual OFCondition | writeXML (ostream &stream, const size_t flags, OFConsole *logStream) const |
write content item in XML format | |
virtual OFCondition | setConceptName (const DSRCodedEntryValue &conceptName) |
set the concept name | |
virtual OFCondition | setObservationDateTime (const OFString &observationDateTime) |
set observation date time | |
virtual OFCondition | setTemplateIdentification (const OFString &templateIdentifier, const OFString &mappingResource) |
set template identifier and mapping resource | |
size_t | getReferencedNodeID () const |
get ID of the referenced node | |
Protected Member Functions | |
virtual OFCondition | readContentItem (DcmItem &dataset, OFConsole *logStream) |
read content item (value) from dataset | |
virtual OFCondition | writeContentItem (DcmItem &dataset, OFConsole *logStream) const |
write content item (value) to dataset | |
virtual OFCondition | readXMLContentItem (const DSRXMLDocument &doc, DSRXMLCursor cursor) |
read content item specific XML data | |
virtual OFCondition | renderHTMLContentItem (ostream &docStream, ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags, OFConsole *logStream) const |
render content item (value) in HTML format | |
Private Member Functions | |
DSRByReferenceTreeNode (const DSRByReferenceTreeNode &) | |
DSRByReferenceTreeNode & | operator= (const DSRByReferenceTreeNode &) |
Private Attributes | |
OFBool | ValidReference |
flag indicating whether the reference is valid or not (i.e. checked) | |
OFString | ReferencedContentItem |
position string of the referenced content item (target) | |
size_t | ReferencedNodeID |
node ID of the referenced content item (target) | |
Friends | |
class | DSRDocumentTree |
Definition at line 50 of file dsrreftn.h.
|
constructor
|
|
constructor
|
|
clear all member variables. Please note that the content item becomes invalid afterwards. Reimplemented from DSRDocumentTreeNode. |
|
get ID of the referenced node
Definition at line 132 of file dsrreftn.h. References ReferencedNodeID. |
|
check whether the content item is valid. The content item is valid if the base class is valid, the concept name is empty and the reference (checked from outside this class) is valid.
Reimplemented from DSRDocumentTreeNode. |
|
print content item. A typical output looks like this: inferred from 1.2.3
Reimplemented from DSRDocumentTreeNode. |
|
read content item (value) from dataset
Reimplemented from DSRDocumentTreeNode. |
|
read content item specific XML data
Reimplemented from DSRDocumentTreeNode. |
|
render content item (value) in HTML format
Reimplemented from DSRDocumentTreeNode. |
|
set the concept name
Reimplemented from DSRDocumentTreeNode. |
|
set observation date time
Reimplemented from DSRDocumentTreeNode. |
|
set template identifier and mapping resource
Reimplemented from DSRDocumentTreeNode. |
|
write content item (value) to dataset
Reimplemented from DSRDocumentTreeNode. |
|
write content item in XML format
Reimplemented from DSRDocumentTreeNode. |