DCMTK
Version 3.6.1 20160216
OFFIS DICOM Toolkit
|
Class representing an item within the the Primary Anatomic Structure Macro. More...
Public Member Functions | |
PrimaryAnatomicStructureMacroItem () | |
Constructor. | |
PrimaryAnatomicStructureMacroItem (const PrimaryAnatomicStructureMacroItem &rhs) | |
Copy constructor. More... | |
virtual | ~PrimaryAnatomicStructureMacroItem () |
Virtual destructor. | |
virtual void | clearData () |
Clear (removes) all attributes handled by the modules of this component. | |
virtual OFCondition | check (const OFBool quiet=OFFalse) |
Check whether this component's data satisfies the underlying rules. More... | |
virtual CodeSequenceMacro & | getAnatomicStructure () |
Return the Anatomic Structure Code. More... | |
virtual OFVector< CodeSequenceMacro * > & | getAnatomicStructureModifier () |
Return the Anatomic Structure Modifier Codes. More... | |
virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
Reads Primary Anatomic Region Sequence Item from given item. More... | |
virtual OFCondition | write (DcmItem &item) |
Write Anatomic Region Sequence Item to given item. More... | |
PrimaryAnatomicStructureMacroItem & | operator= (const PrimaryAnatomicStructureMacroItem &rhs) |
Assignment operator (performs deep copy) More... | |
Private Attributes | |
CodeSequenceMacro | m_AnatomicStructure |
Primary Anatomic Structure Sequence Item. | |
OFVector< CodeSequenceMacro * > | m_AnatomicStructureModifier |
Primary Anatomic Structure Structure Modifier Sequence (SQ, 1-n, 3) | |
Class representing an item within the the Primary Anatomic Structure Macro.
PrimaryAnatomicStructureMacroItem::PrimaryAnatomicStructureMacroItem | ( | const PrimaryAnatomicStructureMacroItem & | rhs | ) |
Copy constructor.
rhs | The item to copy from |
|
virtual |
Check whether this component's data satisfies the underlying rules.
quiet | If OFTrue, not error / warning messages will be produced. Only the returned error code will indicate error or OK. Per default, logging output is produced. |
|
virtual |
Return the Anatomic Structure Code.
|
virtual |
Return the Anatomic Structure Modifier Codes.
PrimaryAnatomicStructureMacroItem& PrimaryAnatomicStructureMacroItem::operator= | ( | const PrimaryAnatomicStructureMacroItem & | rhs | ) |
Assignment operator (performs deep copy)
rhs | The item to copy from |
|
virtual |
Reads Primary Anatomic Region Sequence Item from given item.
source | The item to read from |
clearOldData | If OFTrue, old data is cleared first, otherwise it is kept where not overwritten |
|
virtual |
Write Anatomic Region Sequence Item to given item.
item | The item to write to |