DCMTK  Version 3.6.2
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes | List of all members
DRTRTROIObservationsSequence::Item Class Reference

Item class. More...

+ Inheritance diagram for DRTRTROIObservationsSequence::Item:

Public Member Functions

 Item (const OFBool emptyDefaultItem=OFFalse)
 (default) constructor More...
 
 Item (const Item &copy)
 copy constructor More...
 
virtual ~Item ()
 destructor
 
Itemoperator= (const Item &copy)
 assigment operator More...
 
void clear ()
 clear all internal member variables
 
OFBool isEmpty ()
 check if item is empty More...
 
OFBool isValid () const
 check if item is valid, i.e. not the empty default item More...
 
OFCondition read (DcmItem &item)
 read elements from sequence item More...
 
OFCondition write (DcmItem &item)
 write elements to sequence item More...
 
OFCondition getMaterialID (OFString &value, const signed long pos=0) const
 get MaterialID (300a,00e1) More...
 
OFCondition getObservationNumber (OFString &value, const signed long pos=0) const
 get ObservationNumber (3006,0082) More...
 
OFCondition getObservationNumber (Sint32 &value, const unsigned long pos=0) const
 get ObservationNumber (3006,0082) More...
 
OFCondition getROIInterpreter (OFString &value, const signed long pos=0) const
 get ROIInterpreter (3006,00a6) More...
 
OFCondition getROIObservationDescription (OFString &value, const signed long pos=0) const
 get ROIObservationDescription (3006,0088) More...
 
OFCondition getROIObservationLabel (OFString &value, const signed long pos=0) const
 get ROIObservationLabel (3006,0085) More...
 
OFCondition getRTROIInterpretedType (OFString &value, const signed long pos=0) const
 get RTROIInterpretedType (3006,00a4) More...
 
OFCondition getReferencedROINumber (OFString &value, const signed long pos=0) const
 get ReferencedROINumber (3006,0084) More...
 
OFCondition getReferencedROINumber (Sint32 &value, const unsigned long pos=0) const
 get ReferencedROINumber (3006,0084) More...
 
DRTROIPhysicalPropertiesSequencegetROIPhysicalPropertiesSequence ()
 get ROIPhysicalPropertiesSequence (3006,00b0) More...
 
const DRTROIPhysicalPropertiesSequencegetROIPhysicalPropertiesSequence () const
 get ROIPhysicalPropertiesSequence (3006,00b0) More...
 
DRTRTROIIdentificationCodeSequencegetRTROIIdentificationCodeSequence ()
 get RTROIIdentificationCodeSequence (3006,0086) More...
 
const DRTRTROIIdentificationCodeSequencegetRTROIIdentificationCodeSequence () const
 get RTROIIdentificationCodeSequence (3006,0086) More...
 
DRTRTRelatedROISequencegetRTRelatedROISequence ()
 get RTRelatedROISequence (3006,0030) More...
 
const DRTRTRelatedROISequencegetRTRelatedROISequence () const
 get RTRelatedROISequence (3006,0030) More...
 
DRTRelatedRTROIObservationsSequencegetRelatedRTROIObservationsSequence ()
 get RelatedRTROIObservationsSequence (3006,00a0) More...
 
const DRTRelatedRTROIObservationsSequencegetRelatedRTROIObservationsSequence () const
 get RelatedRTROIObservationsSequence (3006,00a0) More...
 
DRTSegmentedPropertyCategoryCodeSequencegetSegmentedPropertyCategoryCodeSequence ()
 get SegmentedPropertyCategoryCodeSequence (0062,0003) More...
 
const DRTSegmentedPropertyCategoryCodeSequencegetSegmentedPropertyCategoryCodeSequence () const
 get SegmentedPropertyCategoryCodeSequence (0062,0003) More...
 
OFCondition setMaterialID (const OFString &value, const OFBool check=OFTrue)
 set MaterialID (300a,00e1) More...
 
OFCondition setObservationNumber (const OFString &value, const OFBool check=OFTrue)
 set ObservationNumber (3006,0082) More...
 
OFCondition setROIInterpreter (const OFString &value, const OFBool check=OFTrue)
 set ROIInterpreter (3006,00a6) More...
 
OFCondition setROIObservationDescription (const OFString &value, const OFBool check=OFTrue)
 set ROIObservationDescription (3006,0088) More...
 
OFCondition setROIObservationLabel (const OFString &value, const OFBool check=OFTrue)
 set ROIObservationLabel (3006,0085) More...
 
OFCondition setRTROIInterpretedType (const OFString &value, const OFBool check=OFTrue)
 set RTROIInterpretedType (3006,00a4) More...
 
OFCondition setReferencedROINumber (const OFString &value, const OFBool check=OFTrue)
 set ReferencedROINumber (3006,0084) More...
 

Private Attributes

OFBool EmptyDefaultItem
 internal flag used to mark the empty default item
 
DcmShortString MaterialID
 MaterialID (300a,00e1) vr=SH, vm=1, type=3.
 
DcmIntegerString ObservationNumber
 ObservationNumber (3006,0082) vr=IS, vm=1, type=1.
 
DcmPersonName ROIInterpreter
 ROIInterpreter (3006,00a6) vr=PN, vm=1, type=2.
 
DcmShortText ROIObservationDescription
 ROIObservationDescription (3006,0088) vr=ST, vm=1, type=3.
 
DcmShortString ROIObservationLabel
 ROIObservationLabel (3006,0085) vr=SH, vm=1, type=3.
 
DRTROIPhysicalPropertiesSequence ROIPhysicalPropertiesSequence
 ROIPhysicalPropertiesSequence (3006,00b0) vr=SQ, vm=1, type=3.
 
DRTRTROIIdentificationCodeSequence RTROIIdentificationCodeSequence
 RTROIIdentificationCodeSequence (3006,0086) vr=SQ, vm=1, type=3.
 
DcmCodeString RTROIInterpretedType
 RTROIInterpretedType (3006,00a4) vr=CS, vm=1, type=2.
 
DRTRTRelatedROISequence RTRelatedROISequence
 RTRelatedROISequence (3006,0030) vr=SQ, vm=1, type=3.
 
DcmIntegerString ReferencedROINumber
 ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
 
DRTRelatedRTROIObservationsSequence RelatedRTROIObservationsSequence
 RelatedRTROIObservationsSequence (3006,00a0) vr=SQ, vm=1, type=3.
 
DRTSegmentedPropertyCategoryCodeSequence SegmentedPropertyCategoryCodeSequence
 SegmentedPropertyCategoryCodeSequence (0062,0003) vr=SQ, vm=1, type=3.
 

Additional Inherited Members

- Protected Member Functions inherited from DRTTypes
virtual ~DRTTypes ()
 destructor. More...
 
- Static Protected Member Functions inherited from DRTTypes
static OFCondition addElementToDataset (OFCondition &result, DcmItem &dataset, DcmElement *element, const OFString &vm, const OFString &type, const char *moduleName=NULL)
 add given element to the dataset. More...
 
static OFCondition getElementFromDataset (DcmItem &dataset, DcmElement &element)
 get element from dataset More...
 
static OFCondition getStringValueFromElement (const DcmElement &element, OFString &stringValue, const signed long pos=0)
 get string value from element More...
 
static OFCondition getStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue)
 get string value from dataset More...
 
static OFCondition putStringValueToDataset (DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue)
 put string value to dataset More...
 
static OFBool checkElementValue (DcmElement &element, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL)
 check element value for correct value multiplicity and type More...
 
static OFCondition getAndCheckElementFromDataset (DcmItem &dataset, DcmElement &element, const OFString &vm, const OFString &type, const char *moduleName=NULL)
 get element from dataset and check it for correct value multiplicity and type. More...
 
static OFCondition getAndCheckStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const OFString &vm, const OFString &type, const char *moduleName=NULL)
 get string value from dataset and check it for correct value multiplicity and type. More...
 

Detailed Description

Item class.

Constructor & Destructor Documentation

◆ Item() [1/2]

DRTRTROIObservationsSequence::Item::Item ( const OFBool  emptyDefaultItem = OFFalse)

(default) constructor

Parameters
emptyDefaultItemflag used to mark the empty default item

◆ Item() [2/2]

DRTRTROIObservationsSequence::Item::Item ( const Item copy)

copy constructor

Parameters
copyitem object to be copied

Member Function Documentation

◆ getMaterialID()

OFCondition DRTRTROIObservationsSequence::Item::getMaterialID ( OFString value,
const signed long  pos = 0 
) const

get MaterialID (300a,00e1)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getObservationNumber() [1/2]

OFCondition DRTRTROIObservationsSequence::Item::getObservationNumber ( OFString value,
const signed long  pos = 0 
) const

get ObservationNumber (3006,0082)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getObservationNumber() [2/2]

OFCondition DRTRTROIObservationsSequence::Item::getObservationNumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get ObservationNumber (3006,0082)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns
status, EC_Normal if successful, an error code otherwise

◆ getReferencedROINumber() [1/2]

OFCondition DRTRTROIObservationsSequence::Item::getReferencedROINumber ( OFString value,
const signed long  pos = 0 
) const

get ReferencedROINumber (3006,0084)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getReferencedROINumber() [2/2]

OFCondition DRTRTROIObservationsSequence::Item::getReferencedROINumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get ReferencedROINumber (3006,0084)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1)
Returns
status, EC_Normal if successful, an error code otherwise

◆ getRelatedRTROIObservationsSequence() [1/2]

DRTRelatedRTROIObservationsSequence& DRTRTROIObservationsSequence::Item::getRelatedRTROIObservationsSequence ( )
inline

get RelatedRTROIObservationsSequence (3006,00a0)

Returns
reference to sequence element

◆ getRelatedRTROIObservationsSequence() [2/2]

const DRTRelatedRTROIObservationsSequence& DRTRTROIObservationsSequence::Item::getRelatedRTROIObservationsSequence ( ) const
inline

get RelatedRTROIObservationsSequence (3006,00a0)

Returns
const reference to sequence element

◆ getROIInterpreter()

OFCondition DRTRTROIObservationsSequence::Item::getROIInterpreter ( OFString value,
const signed long  pos = 0 
) const

get ROIInterpreter (3006,00a6)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getROIObservationDescription()

OFCondition DRTRTROIObservationsSequence::Item::getROIObservationDescription ( OFString value,
const signed long  pos = 0 
) const

get ROIObservationDescription (3006,0088)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getROIObservationLabel()

OFCondition DRTRTROIObservationsSequence::Item::getROIObservationLabel ( OFString value,
const signed long  pos = 0 
) const

get ROIObservationLabel (3006,0085)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getROIPhysicalPropertiesSequence() [1/2]

DRTROIPhysicalPropertiesSequence& DRTRTROIObservationsSequence::Item::getROIPhysicalPropertiesSequence ( )
inline

get ROIPhysicalPropertiesSequence (3006,00b0)

Returns
reference to sequence element

◆ getROIPhysicalPropertiesSequence() [2/2]

const DRTROIPhysicalPropertiesSequence& DRTRTROIObservationsSequence::Item::getROIPhysicalPropertiesSequence ( ) const
inline

get ROIPhysicalPropertiesSequence (3006,00b0)

Returns
const reference to sequence element

◆ getRTRelatedROISequence() [1/2]

DRTRTRelatedROISequence& DRTRTROIObservationsSequence::Item::getRTRelatedROISequence ( )
inline

get RTRelatedROISequence (3006,0030)

Returns
reference to sequence element

◆ getRTRelatedROISequence() [2/2]

const DRTRTRelatedROISequence& DRTRTROIObservationsSequence::Item::getRTRelatedROISequence ( ) const
inline

get RTRelatedROISequence (3006,0030)

Returns
const reference to sequence element

◆ getRTROIIdentificationCodeSequence() [1/2]

DRTRTROIIdentificationCodeSequence& DRTRTROIObservationsSequence::Item::getRTROIIdentificationCodeSequence ( )
inline

get RTROIIdentificationCodeSequence (3006,0086)

Returns
reference to sequence element

◆ getRTROIIdentificationCodeSequence() [2/2]

const DRTRTROIIdentificationCodeSequence& DRTRTROIObservationsSequence::Item::getRTROIIdentificationCodeSequence ( ) const
inline

get RTROIIdentificationCodeSequence (3006,0086)

Returns
const reference to sequence element

◆ getRTROIInterpretedType()

OFCondition DRTRTROIObservationsSequence::Item::getRTROIInterpretedType ( OFString value,
const signed long  pos = 0 
) const

get RTROIInterpretedType (3006,00a4)

Parameters
valuereference to variable in which the value should be stored
posindex of the value to get (0..vm-1), -1 for all components
Returns
status, EC_Normal if successful, an error code otherwise

◆ getSegmentedPropertyCategoryCodeSequence() [1/2]

DRTSegmentedPropertyCategoryCodeSequence& DRTRTROIObservationsSequence::Item::getSegmentedPropertyCategoryCodeSequence ( )
inline

get SegmentedPropertyCategoryCodeSequence (0062,0003)

Returns
reference to sequence element

◆ getSegmentedPropertyCategoryCodeSequence() [2/2]

const DRTSegmentedPropertyCategoryCodeSequence& DRTRTROIObservationsSequence::Item::getSegmentedPropertyCategoryCodeSequence ( ) const
inline

get SegmentedPropertyCategoryCodeSequence (0062,0003)

Returns
const reference to sequence element

◆ isEmpty()

OFBool DRTRTROIObservationsSequence::Item::isEmpty ( )

check if item is empty

Returns
OFTrue if item is empty, OFFalse otherwise

◆ isValid()

OFBool DRTRTROIObservationsSequence::Item::isValid ( ) const

check if item is valid, i.e. not the empty default item

Returns
OFTrue if item is valid, OFFalse otherwise

◆ operator=()

Item& DRTRTROIObservationsSequence::Item::operator= ( const Item copy)

assigment operator

Parameters
copyitem object to be copied
Returns
reference to this object

◆ read()

OFCondition DRTRTROIObservationsSequence::Item::read ( DcmItem item)

read elements from sequence item

Parameters
itemreference to DICOM sequence item from which the elements should be read
Returns
status, EC_Normal if successful, an error code otherwise

◆ setMaterialID()

OFCondition DRTRTROIObservationsSequence::Item::setMaterialID ( const OFString value,
const OFBool  check = OFTrue 
)

set MaterialID (300a,00e1)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (SH) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setObservationNumber()

OFCondition DRTRTROIObservationsSequence::Item::setObservationNumber ( const OFString value,
const OFBool  check = OFTrue 
)

set ObservationNumber (3006,0082)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (IS) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setReferencedROINumber()

OFCondition DRTRTROIObservationsSequence::Item::setReferencedROINumber ( const OFString value,
const OFBool  check = OFTrue 
)

set ReferencedROINumber (3006,0084)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (IS) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setROIInterpreter()

OFCondition DRTRTROIObservationsSequence::Item::setROIInterpreter ( const OFString value,
const OFBool  check = OFTrue 
)

set ROIInterpreter (3006,00a6)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (PN) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setROIObservationDescription()

OFCondition DRTRTROIObservationsSequence::Item::setROIObservationDescription ( const OFString value,
const OFBool  check = OFTrue 
)

set ROIObservationDescription (3006,0088)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (ST) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setROIObservationLabel()

OFCondition DRTRTROIObservationsSequence::Item::setROIObservationLabel ( const OFString value,
const OFBool  check = OFTrue 
)

set ROIObservationLabel (3006,0085)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (SH) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ setRTROIInterpretedType()

OFCondition DRTRTROIObservationsSequence::Item::setRTROIInterpretedType ( const OFString value,
const OFBool  check = OFTrue 
)

set RTROIInterpretedType (3006,00a4)

Parameters
valuevalue to be set (single value only) or "" for no value
checkcheck 'value' for conformance with VR (CS) and VM (1) if enabled
Returns
status, EC_Normal if successful, an error code otherwise

◆ write()

OFCondition DRTRTROIObservationsSequence::Item::write ( DcmItem item)

write elements to sequence item

Parameters
itemreference to DICOM sequence item to which the elements should be written
Returns
status, EC_Normal if successful, an error code otherwise

The documentation for this class was generated from the following file:


Generated on Mon Jul 17 2017 for DCMTK Version 3.6.2 by Doxygen 1.8.13