DCMTK
Version 3.6.7
OFFIS DICOM Toolkit
|
Class representing the Segment Description Macro. More...
Public Member Functions | |
SegmentDescriptionMacro () | |
Constructor. | |
virtual | ~SegmentDescriptionMacro () |
Virtual destructor, frees memory. | |
virtual void | clearData () |
Clear all data. | |
virtual OFCondition | read (DcmItem &item) |
Read class data from given item. More... | |
virtual OFCondition | write (DcmItem &item) |
Writes the data from this class to given item. More... | |
virtual OFCondition | getSegmentLabel (OFString &value, const signed long pos=0) |
Get Segment Label. More... | |
virtual OFCondition | getSegmentDescription (OFString &value, const signed long pos=0) |
Get Segment Description. More... | |
virtual DcmSegTypes::E_SegmentAlgoType | getSegmentAlgorithmType () |
Get Segment Algorithm Type. More... | |
virtual GeneralAnatomyMacro & | getGeneralAnatomyCode () |
Get reference to General Anatomy Code. More... | |
virtual CodeSequenceMacro & | getSegmentedPropertyCategoryCode () |
Get Reference to Segmented Property Category Code. More... | |
virtual CodeSequenceMacro & | getSegmentedPropertyTypeCode () |
Get Reference to Segmented Property Type Code. More... | |
virtual OFVector< CodeSequenceMacro * > & | getSegmentedPropertyTypeModifier () |
Get Reference to Segmented Property Type Modifier Codes. More... | |
virtual OFCondition | setSegmentLabel (const OFString &value, const OFBool checkValue=OFTrue) |
Set Segment Label. More... | |
virtual OFCondition | setSegmentDescription (const OFString &value, const OFBool checkValue=OFTrue) |
Set Segment Description. More... | |
virtual OFCondition | setSegmentAlgorithmType (const DcmSegTypes::E_SegmentAlgoType value) |
Set Segment Algorithm Type. More... | |
Protected Member Functions | |
virtual OFCondition | readSegmentAlgorithmType (DcmItem &item) |
Read Segment Algorithm Type from given item. More... | |
virtual OFCondition | writeSegmentAlgorithmType (DcmItem &item) |
Write Segment Algorithm Type to given item. More... | |
Private Attributes | |
DcmLongString | m_SegmentLabel |
Segment Number: (LO, VM 1, Type 1) | |
DcmShortText | m_SegmentDescription |
Segment Description: (ST, 1, Type 3) | |
DcmSegTypes::E_SegmentAlgoType | m_SegmentAlgorithmType |
Segment Algorithm Type: (CS, 1, Type 1) | |
GeneralAnatomyMacro | m_GeneralAnatomyCode |
General Anatomy Mandatory Macro. | |
CodeSequenceMacro | m_SegmentedPropertyCategoryCode |
Segment Property Category Code (SQ, 1, 1) Baseline CID 7150. | |
SegmentedPropertyTypeCodeItem | m_SegmentedPropertyType |
Segmented Property Type Code. | |
Class representing the Segment Description Macro.
|
virtual |
|
virtual |
Get Segment Algorithm Type.
|
virtual |
Get Segment Description.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
|
virtual |
|
virtual |
Get Reference to Segmented Property Type Modifier Codes.
|
virtual |
Get Segment Label.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Read class data from given item.
item | The item to read from |
|
protectedvirtual |
Read Segment Algorithm Type from given item.
item | The item to read from |
|
virtual |
Set Segment Algorithm Type.
value | Value to be set |
|
virtual |
Set Segment Description.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
virtual |
Set Segment Label.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (LO) and VM (1) if enabled |
|
virtual |
Writes the data from this class to given item.
item | The item to write to |
|
protectedvirtual |
Write Segment Algorithm Type to given item.
item | The item to write to |