DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
Public Member Functions | |
Item (const OFBool emptyDefaultItem=OFFalse) | |
(default) constructor More... | |
Item (const Item ©) | |
copy constructor More... | |
virtual | ~Item () |
destructor | |
Item & | operator= (const Item ©) |
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... | |
DRTBrachyAccessoryDeviceSequence & | getBrachyAccessoryDeviceSequence () |
get BrachyAccessoryDeviceSequence (300a,0260) More... | |
const DRTBrachyAccessoryDeviceSequence & | getBrachyAccessoryDeviceSequence () const |
get BrachyAccessoryDeviceSequence (300a,0260) More... | |
DRTChannelSequence & | getChannelSequence () |
get ChannelSequence (300a,0280) More... | |
const DRTChannelSequence & | getChannelSequence () const |
get ChannelSequence (300a,0280) More... | |
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule & | getReferencedReferenceImageSequence () |
get ReferencedReferenceImageSequence (300c,0042) More... | |
const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule & | getReferencedReferenceImageSequence () 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 | |
![]() | |
virtual | ~DRTTypes () |
destructor. More... | |
![]() | |
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... | |
Item class.
DRTApplicationSetupSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTApplicationSetupSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupManufacturer | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ApplicationSetupManufacturer (300a,0238)
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 |
OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupName | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ApplicationSetupName (300a,0236)
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 |
OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ApplicationSetupNumber (300a,0234)
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 |
OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupNumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get ApplicationSetupNumber (300a,0234)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTApplicationSetupSequence::Item::getApplicationSetupType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ApplicationSetupType (300a,0232)
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 |
|
inline |
get BrachyAccessoryDeviceSequence (300a,0260)
|
inline |
get BrachyAccessoryDeviceSequence (300a,0260)
|
inline |
get ChannelSequence (300a,0280)
|
inline |
get ChannelSequence (300a,0280)
|
inline |
get ReferencedReferenceImageSequence (300c,0042)
|
inline |
get ReferencedReferenceImageSequence (300c,0042)
OFCondition DRTApplicationSetupSequence::Item::getTemplateName | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TemplateName (300a,0244)
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 |
OFCondition DRTApplicationSetupSequence::Item::getTemplateNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TemplateNumber (300a,0240)
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 |
OFCondition DRTApplicationSetupSequence::Item::getTemplateNumber | ( | Sint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TemplateNumber (300a,0240)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTApplicationSetupSequence::Item::getTemplateType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TemplateType (300a,0242)
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 |
OFCondition DRTApplicationSetupSequence::Item::getTotalReferenceAirKerma | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TotalReferenceAirKerma (300a,0250)
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 |
OFCondition DRTApplicationSetupSequence::Item::getTotalReferenceAirKerma | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TotalReferenceAirKerma (300a,0250)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFBool DRTApplicationSetupSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTApplicationSetupSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTApplicationSetupSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupManufacturer | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ApplicationSetupManufacturer (300a,0238)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupName | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ApplicationSetupName (300a,0236)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ApplicationSetupNumber (300a,0234)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (IS) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setApplicationSetupType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ApplicationSetupType (300a,0232)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (CS) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setTemplateName | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TemplateName (300a,0244)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setTemplateNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TemplateNumber (300a,0240)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (IS) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setTemplateType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TemplateType (300a,0242)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (SH) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::setTotalReferenceAirKerma | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TotalReferenceAirKerma (300a,0250)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (DS) and VM (1) if enabled |
OFCondition DRTApplicationSetupSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |