DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Public Member Functions | |
Item (const OFBool emptyDefaultItem=OFFalse) | |
(default) constructor | |
Item (const Item ©) | |
copy constructor | |
virtual | ~Item () |
destructor | |
Item & | operator= (const Item ©) |
assigment operator | |
void | clear () |
clear all internal member variables | |
OFBool | isEmpty () |
check if item is empty | |
OFBool | isValid () const |
check if item is valid, i.e. not the empty default item | |
OFCondition | read (DcmItem &item) |
read elements from sequence item | |
OFCondition | write (DcmItem &item) |
write elements to sequence item | |
OFCondition | getRTPlanRelationship (OFString &value, const signed long pos=0) const |
get RTPlanRelationship (300a,0055) | |
OFCondition | getReferencedSOPClassUID (OFString &value, const signed long pos=0) const |
get ReferencedSOPClassUID (0008,1150) | |
OFCondition | getReferencedSOPInstanceUID (OFString &value, const signed long pos=0) const |
get ReferencedSOPInstanceUID (0008,1155) | |
OFCondition | setRTPlanRelationship (const OFString &value, const OFBool check=OFTrue) |
set RTPlanRelationship (300a,0055) | |
OFCondition | setReferencedSOPClassUID (const OFString &value, const OFBool check=OFTrue) |
set ReferencedSOPClassUID (0008,1150) | |
OFCondition | setReferencedSOPInstanceUID (const OFString &value, const OFBool check=OFTrue) |
set ReferencedSOPInstanceUID (0008,1155) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmCodeString | RTPlanRelationship |
RTPlanRelationship (300a,0055) vr=CS, vm=1, type=1C. | |
DcmUniqueIdentifier | ReferencedSOPClassUID |
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1C. | |
DcmUniqueIdentifier | ReferencedSOPInstanceUID |
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1C. |
Item class.
DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::getReferencedSOPClassUID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ReferencedSOPClassUID (0008,1150)
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 DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::getReferencedSOPInstanceUID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ReferencedSOPInstanceUID (0008,1155)
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 DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::getRTPlanRelationship | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get RTPlanRelationship (300a,0055)
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 |
check if item is empty
OFBool DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::setReferencedSOPClassUID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ReferencedSOPClassUID (0008,1150)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (UI) and VM (1) if enabled |
OFCondition DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::setReferencedSOPInstanceUID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ReferencedSOPInstanceUID (0008,1155)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (UI) and VM (1) if enabled |
OFCondition DRTReferencedRTPlanSequenceInRTGeneralPlanModule::Item::setRTPlanRelationship | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set RTPlanRelationship (300a,0055)
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 |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |