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

Item class. More...

+ Inheritance diagram for DRTApplicationSetupSequence::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 getApplicationSetupManufacturer (OFString &value, const signed long pos=0) const
 get ApplicationSetupManufacturer (300a,0238) More...
 
OFCondition getApplicationSetupName (OFString &value, const signed long pos=0) const
 get ApplicationSetupName (300a,0236) More...
 
OFCondition getApplicationSetupNumber (OFString &value, const signed long pos=0) const
 get ApplicationSetupNumber (300a,0234) More...
 
OFCondition getApplicationSetupNumber (Sint32 &value, const unsigned long pos=0) const
 get ApplicationSetupNumber (300a,0234) More...
 
OFCondition getApplicationSetupType (OFString &value, const signed long pos=0) const
 get ApplicationSetupType (300a,0232) More...
 
OFCondition getTemplateName (OFString &value, const signed long pos=0) const
 get TemplateName (300a,0244) More...
 
OFCondition getTemplateNumber (OFString &value, const signed long pos=0) const
 get TemplateNumber (300a,0240) More...
 
OFCondition getTemplateNumber (Sint32 &value, const unsigned long pos=0) const
 get TemplateNumber (300a,0240) More...
 
OFCondition getTemplateType (OFString &value, const signed long pos=0) const
 get TemplateType (300a,0242) More...
 
OFCondition getTotalReferenceAirKerma (OFString &value, const signed long pos=0) const
 get TotalReferenceAirKerma (300a,0250) More...
 
OFCondition getTotalReferenceAirKerma (Float64 &value, const unsigned long pos=0) const
 get TotalReferenceAirKerma (300a,0250) More...
 
DRTBrachyAccessoryDeviceSequencegetBrachyAccessoryDeviceSequence ()
 get BrachyAccessoryDeviceSequence (300a,0260) More...
 
const DRTBrachyAccessoryDeviceSequencegetBrachyAccessoryDeviceSequence () const
 get BrachyAccessoryDeviceSequence (300a,0260) More...
 
DRTChannelSequencegetChannelSequence ()
 get ChannelSequence (300a,0280) More...
 
const DRTChannelSequencegetChannelSequence () const
 get ChannelSequence (300a,0280) More...
 
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModulegetReferencedReferenceImageSequence ()
 get ReferencedReferenceImageSequence (300c,0042) More...
 
const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModulegetReferencedReferenceImageSequence () const
 get ReferencedReferenceImageSequence (300c,0042) More...
 
OFCondition setApplicationSetupManufacturer (const OFString &value, const OFBool check=OFTrue)
 set ApplicationSetupManufacturer (300a,0238) More...
 
OFCondition setApplicationSetupName (const OFString &value, const OFBool check=OFTrue)
 set ApplicationSetupName (300a,0236) More...
 
OFCondition setApplicationSetupNumber (const OFString &value, const OFBool check=OFTrue)
 set ApplicationSetupNumber (300a,0234) More...
 
OFCondition setApplicationSetupType (const OFString &value, const OFBool check=OFTrue)
 set ApplicationSetupType (300a,0232) More...
 
OFCondition setTemplateName (const OFString &value, const OFBool check=OFTrue)
 set TemplateName (300a,0244) More...
 
OFCondition setTemplateNumber (const OFString &value, const OFBool check=OFTrue)
 set TemplateNumber (300a,0240) More...
 
OFCondition setTemplateType (const OFString &value, const OFBool check=OFTrue)
 set TemplateType (300a,0242) More...
 
OFCondition setTotalReferenceAirKerma (const OFString &value, const OFBool check=OFTrue)
 set TotalReferenceAirKerma (300a,0250) More...
 

Private Attributes

OFBool EmptyDefaultItem
 internal flag used to mark the empty default item
 
DcmLongString ApplicationSetupManufacturer
 ApplicationSetupManufacturer (300a,0238) vr=LO, vm=1, type=3.
 
DcmLongString ApplicationSetupName
 ApplicationSetupName (300a,0236) vr=LO, vm=1, type=3.
 
DcmIntegerString ApplicationSetupNumber
 ApplicationSetupNumber (300a,0234) vr=IS, vm=1, type=1.
 
DcmCodeString ApplicationSetupType
 ApplicationSetupType (300a,0232) vr=CS, vm=1, type=1.
 
DRTBrachyAccessoryDeviceSequence BrachyAccessoryDeviceSequence
 BrachyAccessoryDeviceSequence (300a,0260) vr=SQ, vm=1, type=3.
 
DRTChannelSequence ChannelSequence
 ChannelSequence (300a,0280) vr=SQ, vm=1, type=1.
 
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule ReferencedReferenceImageSequence
 ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3.
 
DcmLongString TemplateName
 TemplateName (300a,0244) vr=LO, vm=1, type=3.
 
DcmIntegerString TemplateNumber
 TemplateNumber (300a,0240) vr=IS, vm=1, type=3.
 
DcmShortString TemplateType
 TemplateType (300a,0242) vr=SH, vm=1, type=3.
 
DcmDecimalString TotalReferenceAirKerma
 TotalReferenceAirKerma (300a,0250) vr=DS, vm=1, type=1.
 

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]

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

(default) constructor

Parameters
emptyDefaultItemflag used to mark the empty default item

◆ Item() [2/2]

DRTApplicationSetupSequence::Item::Item ( const Item copy)

copy constructor

Parameters
copyitem object to be copied

Member Function Documentation

◆ getApplicationSetupManufacturer()

OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupManufacturer ( OFString value,
const signed long  pos = 0 
) const

get ApplicationSetupManufacturer (300a,0238)

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

◆ getApplicationSetupName()

OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupName ( OFString value,
const signed long  pos = 0 
) const

get ApplicationSetupName (300a,0236)

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

◆ getApplicationSetupNumber() [1/2]

OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupNumber ( OFString value,
const signed long  pos = 0 
) const

get ApplicationSetupNumber (300a,0234)

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

◆ getApplicationSetupNumber() [2/2]

OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupNumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get ApplicationSetupNumber (300a,0234)

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

◆ getApplicationSetupType()

OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupType ( OFString value,
const signed long  pos = 0 
) const

get ApplicationSetupType (300a,0232)

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

◆ getBrachyAccessoryDeviceSequence() [1/2]

DRTBrachyAccessoryDeviceSequence& DRTApplicationSetupSequence::Item::getBrachyAccessoryDeviceSequence ( )
inline

get BrachyAccessoryDeviceSequence (300a,0260)

Returns
reference to sequence element

◆ getBrachyAccessoryDeviceSequence() [2/2]

const DRTBrachyAccessoryDeviceSequence& DRTApplicationSetupSequence::Item::getBrachyAccessoryDeviceSequence ( ) const
inline

get BrachyAccessoryDeviceSequence (300a,0260)

Returns
const reference to sequence element

◆ getChannelSequence() [1/2]

DRTChannelSequence& DRTApplicationSetupSequence::Item::getChannelSequence ( )
inline

get ChannelSequence (300a,0280)

Returns
reference to sequence element

◆ getChannelSequence() [2/2]

const DRTChannelSequence& DRTApplicationSetupSequence::Item::getChannelSequence ( ) const
inline

get ChannelSequence (300a,0280)

Returns
const reference to sequence element

◆ getReferencedReferenceImageSequence() [1/2]

DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule& DRTApplicationSetupSequence::Item::getReferencedReferenceImageSequence ( )
inline

get ReferencedReferenceImageSequence (300c,0042)

Returns
reference to sequence element

◆ getReferencedReferenceImageSequence() [2/2]

const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule& DRTApplicationSetupSequence::Item::getReferencedReferenceImageSequence ( ) const
inline

get ReferencedReferenceImageSequence (300c,0042)

Returns
const reference to sequence element

◆ getTemplateName()

OFCondition DRTApplicationSetupSequence::Item::getTemplateName ( OFString value,
const signed long  pos = 0 
) const

get TemplateName (300a,0244)

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

◆ getTemplateNumber() [1/2]

OFCondition DRTApplicationSetupSequence::Item::getTemplateNumber ( OFString value,
const signed long  pos = 0 
) const

get TemplateNumber (300a,0240)

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

◆ getTemplateNumber() [2/2]

OFCondition DRTApplicationSetupSequence::Item::getTemplateNumber ( Sint32 &  value,
const unsigned long  pos = 0 
) const

get TemplateNumber (300a,0240)

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

◆ getTemplateType()

OFCondition DRTApplicationSetupSequence::Item::getTemplateType ( OFString value,
const signed long  pos = 0 
) const

get TemplateType (300a,0242)

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

◆ getTotalReferenceAirKerma() [1/2]

OFCondition DRTApplicationSetupSequence::Item::getTotalReferenceAirKerma ( Float64 &  value,
const unsigned long  pos = 0 
) const

get TotalReferenceAirKerma (300a,0250)

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

◆ getTotalReferenceAirKerma() [2/2]

OFCondition DRTApplicationSetupSequence::Item::getTotalReferenceAirKerma ( OFString value,
const signed long  pos = 0 
) const

get TotalReferenceAirKerma (300a,0250)

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

◆ isEmpty()

OFBool DRTApplicationSetupSequence::Item::isEmpty ( )

check if item is empty

Returns
OFTrue if item is empty, OFFalse otherwise

◆ isValid()

OFBool DRTApplicationSetupSequence::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& DRTApplicationSetupSequence::Item::operator= ( const Item copy)

assigment operator

Parameters
copyitem object to be copied
Returns
reference to this object

◆ read()

OFCondition DRTApplicationSetupSequence::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

◆ setApplicationSetupManufacturer()

OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupManufacturer ( const OFString value,
const OFBool  check = OFTrue 
)

set ApplicationSetupManufacturer (300a,0238)

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

◆ setApplicationSetupName()

OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupName ( const OFString value,
const OFBool  check = OFTrue 
)

set ApplicationSetupName (300a,0236)

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

◆ setApplicationSetupNumber()

OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupNumber ( const OFString value,
const OFBool  check = OFTrue 
)

set ApplicationSetupNumber (300a,0234)

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

◆ setApplicationSetupType()

OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupType ( const OFString value,
const OFBool  check = OFTrue 
)

set ApplicationSetupType (300a,0232)

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

◆ setTemplateName()

OFCondition DRTApplicationSetupSequence::Item::setTemplateName ( const OFString value,
const OFBool  check = OFTrue 
)

set TemplateName (300a,0244)

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

◆ setTemplateNumber()

OFCondition DRTApplicationSetupSequence::Item::setTemplateNumber ( const OFString value,
const OFBool  check = OFTrue 
)

set TemplateNumber (300a,0240)

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

◆ setTemplateType()

OFCondition DRTApplicationSetupSequence::Item::setTemplateType ( const OFString value,
const OFBool  check = OFTrue 
)

set TemplateType (300a,0242)

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

◆ setTotalReferenceAirKerma()

OFCondition DRTApplicationSetupSequence::Item::setTotalReferenceAirKerma ( const OFString value,
const OFBool  check = OFTrue 
)

set TotalReferenceAirKerma (300a,0250)

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

◆ write()

OFCondition DRTApplicationSetupSequence::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 Thu Apr 28 2022 for DCMTK Version 3.6.7 by Doxygen 1.9.1