Inheritance diagram for DSRContainerTreeNode:
Public Member Functions | |
DSRContainerTreeNode (const E_RelationshipType relationshipType, const E_ContinuityOfContent continuityOfContent=COC_Separate) | |
constructor | |
virtual | ~DSRContainerTreeNode () |
destructor | |
virtual void | clear () |
clear all member variables. | |
virtual OFBool | isValid () const |
check whether the content item is valid. | |
virtual OFBool | isShort (const size_t flags) const |
check whether the content is short. | |
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 | renderHTML (ostream &docStream, ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags, OFConsole *logStream) const |
render content item in HTML format. | |
E_ContinuityOfContent | getContinuityOfContent () const |
get continuity of content flag. | |
OFCondition | setContinuityOfContent (const E_ContinuityOfContent continuityOfContent) |
set continuity of content flag. | |
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 | |
DSRContainerTreeNode (const DSRContainerTreeNode &) | |
DSRContainerTreeNode & | operator= (const DSRContainerTreeNode &) |
Private Attributes | |
E_ContinuityOfContent | ContinuityOfContent |
continuity of content flag (associated DICOM VR=CS, mandatory) |
Definition at line 49 of file dsrcontn.h.
|
constructor
|
|
clear all member variables. Please note that the content item might become invalid afterwards. Reimplemented from DSRDocumentTreeNode. |
|
get continuity of content flag. This flag specifies whether or not its contained content items (child nodes) are logically linked in a continuous textual flow, or are sparate items.
Definition at line 133 of file dsrcontn.h. References ContinuityOfContent. |
|
check whether the content is short. A container content item is defined to be never short (return always OFFalse).
Reimplemented from DSRDocumentTreeNode. |
|
check whether the content item is valid. The content item is valid if the base class is valid, the continuity of content flag is valid, and the concept name is valid or the content item is not the root item.
Reimplemented from DSRDocumentTreeNode. |
|
print content item. A typical output looks like this: CONTAINER:(,,"Diagnosis")=SEPARATE for the root node and contains CONTAINER:=CONTINUOUS for a "normal" content item.
Reimplemented from DSRDocumentTreeNode. |
|
read content item (value) from dataset
Reimplemented from DSRDocumentTreeNode. |
|
read content item specific XML data
Reimplemented from DSRDocumentTreeNode. |
|
render content item in HTML format. After rendering the current content item all child nodes (if any) are also rendered (see renderHTMLChildNodes() for details). This method overwrites the one specified in base class DSRDocumentTree since the rendering of the child nodes depends on the value of the flag 'ContinuityOfContent'.
Reimplemented from DSRDocumentTreeNode. |
|
render content item (value) in HTML format
Reimplemented from DSRDocumentTreeNode. |
|
set continuity of content flag. This flag specifies whether or not its contained content items (child nodes) are logically linked in a continuous textual flow, or are sparate items.
|
|
write content item (value) to dataset
Reimplemented from DSRDocumentTreeNode. |
|
write content item in XML format
Reimplemented from DSRDocumentTreeNode. |