DCMTK
Version 3.6.1 20150924
OFFIS DICOM Toolkit
|
Class representing the Primary Anatomic Structure Macro. More...
Public Member Functions | |
PrimaryAnatomicStructureMacro () | |
Constructor. | |
PrimaryAnatomicStructureMacro (const PrimaryAnatomicStructureMacro &rhs) | |
Copy constructor. More... | |
virtual | ~PrimaryAnatomicStructureMacro () |
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 OFVector< PrimaryAnatomicStructureMacroItem * > & | getPrimaryAnatomicStructure () |
Return Primary Anatomic Structure items. More... | |
virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
Reads Primary Anatomic Region Sequence (i.e. this macro) from given item. More... | |
virtual OFCondition | write (DcmItem &item) |
Write Anatomic Region Sequence (i.e. this macro) to given item. More... | |
PrimaryAnatomicStructureMacro & | operator= (const PrimaryAnatomicStructureMacro &rhs) |
Assignment operator. More... | |
Private Attributes | |
OFVector< PrimaryAnatomicStructureMacroItem * > | m_PrimaryAnatomicStructure |
Primary Anatomic Structure Sequence (SQ, 0-1, 3) | |
Class representing the Primary Anatomic Structure Macro.
PrimaryAnatomicStructureMacro::PrimaryAnatomicStructureMacro | ( | const PrimaryAnatomicStructureMacro & | rhs | ) |
Copy constructor.
rhs | The macro 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 Primary Anatomic Structure items.
PrimaryAnatomicStructureMacro& PrimaryAnatomicStructureMacro::operator= | ( | const PrimaryAnatomicStructureMacro & | rhs | ) |
Assignment operator.
rhs | The macro to copy from |
|
virtual |
Reads Primary Anatomic Region Sequence (i.e. this macro) 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 (i.e. this macro) to given item.
item | The item to write to |