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 | getAccessionNumber (OFString &value, const signed long pos=0) const |
get AccessionNumber (0008,0050) | |
OFCondition | getReasonForTheRequestedProcedure (OFString &value, const signed long pos=0) const |
get ReasonForTheRequestedProcedure (0040,1002) | |
OFCondition | getRequestedProcedureDescription (OFString &value, const signed long pos=0) const |
get RequestedProcedureDescription (0032,1060) | |
OFCondition | getRequestedProcedureID (OFString &value, const signed long pos=0) const |
get RequestedProcedureID (0040,1001) | |
OFCondition | getScheduledProcedureStepDescription (OFString &value, const signed long pos=0) const |
get ScheduledProcedureStepDescription (0040,0007) | |
OFCondition | getScheduledProcedureStepID (OFString &value, const signed long pos=0) const |
get ScheduledProcedureStepID (0040,0009) | |
OFCondition | getStudyInstanceUID (OFString &value, const signed long pos=0) const |
get StudyInstanceUID (0020,000d) | |
DRTReasonForRequestedProcedureCodeSequence & | getReasonForRequestedProcedureCodeSequence () |
get ReasonForRequestedProcedureCodeSequence (0040,100a) | |
const DRTReasonForRequestedProcedureCodeSequence & | getReasonForRequestedProcedureCodeSequence () const |
get ReasonForRequestedProcedureCodeSequence (0040,100a) | |
DRTReferencedStudySequence & | getReferencedStudySequence () |
get ReferencedStudySequence (0008,1110) | |
const DRTReferencedStudySequence & | getReferencedStudySequence () const |
get ReferencedStudySequence (0008,1110) | |
DRTRequestedProcedureCodeSequence & | getRequestedProcedureCodeSequence () |
get RequestedProcedureCodeSequence (0032,1064) | |
const DRTRequestedProcedureCodeSequence & | getRequestedProcedureCodeSequence () const |
get RequestedProcedureCodeSequence (0032,1064) | |
DRTScheduledProtocolCodeSequence & | getScheduledProtocolCodeSequence () |
get ScheduledProtocolCodeSequence (0040,0008) | |
const DRTScheduledProtocolCodeSequence & | getScheduledProtocolCodeSequence () const |
get ScheduledProtocolCodeSequence (0040,0008) | |
OFCondition | setAccessionNumber (const OFString &value, const OFBool check=OFTrue) |
set AccessionNumber (0008,0050) | |
OFCondition | setReasonForTheRequestedProcedure (const OFString &value, const OFBool check=OFTrue) |
set ReasonForTheRequestedProcedure (0040,1002) | |
OFCondition | setRequestedProcedureDescription (const OFString &value, const OFBool check=OFTrue) |
set RequestedProcedureDescription (0032,1060) | |
OFCondition | setRequestedProcedureID (const OFString &value, const OFBool check=OFTrue) |
set RequestedProcedureID (0040,1001) | |
OFCondition | setScheduledProcedureStepDescription (const OFString &value, const OFBool check=OFTrue) |
set ScheduledProcedureStepDescription (0040,0007) | |
OFCondition | setScheduledProcedureStepID (const OFString &value, const OFBool check=OFTrue) |
set ScheduledProcedureStepID (0040,0009) | |
OFCondition | setStudyInstanceUID (const OFString &value, const OFBool check=OFTrue) |
set StudyInstanceUID (0020,000d) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmShortString | AccessionNumber |
AccessionNumber (0008,0050) vr=SH, vm=1, type=3. | |
DRTReasonForRequestedProcedureCodeSequence | ReasonForRequestedProcedureCodeSequence |
ReasonForRequestedProcedureCodeSequence (0040,100a) vr=SQ, vm=1, type=3. | |
DcmLongString | ReasonForTheRequestedProcedure |
ReasonForTheRequestedProcedure (0040,1002) vr=LO, vm=1, type=3. | |
DRTReferencedStudySequence | ReferencedStudySequence |
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3. | |
DRTRequestedProcedureCodeSequence | RequestedProcedureCodeSequence |
RequestedProcedureCodeSequence (0032,1064) vr=SQ, vm=1, type=3. | |
DcmLongString | RequestedProcedureDescription |
RequestedProcedureDescription (0032,1060) vr=LO, vm=1, type=3. | |
DcmShortString | RequestedProcedureID |
RequestedProcedureID (0040,1001) vr=SH, vm=1, type=1. | |
DcmLongString | ScheduledProcedureStepDescription |
ScheduledProcedureStepDescription (0040,0007) vr=LO, vm=1, type=3. | |
DcmShortString | ScheduledProcedureStepID |
ScheduledProcedureStepID (0040,0009) vr=SH, vm=1, type=1. | |
DRTScheduledProtocolCodeSequence | ScheduledProtocolCodeSequence |
ScheduledProtocolCodeSequence (0040,0008) vr=SQ, vm=1, type=3. | |
DcmUniqueIdentifier | StudyInstanceUID |
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=3. |
Item class.
DRTRequestAttributesSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTRequestAttributesSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTRequestAttributesSequence::Item::getAccessionNumber | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get AccessionNumber (0008,0050)
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 |
DRTReasonForRequestedProcedureCodeSequence& DRTRequestAttributesSequence::Item::getReasonForRequestedProcedureCodeSequence | ( | ) | [inline] |
get ReasonForRequestedProcedureCodeSequence (0040,100a)
const DRTReasonForRequestedProcedureCodeSequence& DRTRequestAttributesSequence::Item::getReasonForRequestedProcedureCodeSequence | ( | ) | const [inline] |
get ReasonForRequestedProcedureCodeSequence (0040,100a)
OFCondition DRTRequestAttributesSequence::Item::getReasonForTheRequestedProcedure | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ReasonForTheRequestedProcedure (0040,1002)
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 |
DRTReferencedStudySequence& DRTRequestAttributesSequence::Item::getReferencedStudySequence | ( | ) | [inline] |
get ReferencedStudySequence (0008,1110)
const DRTReferencedStudySequence& DRTRequestAttributesSequence::Item::getReferencedStudySequence | ( | ) | const [inline] |
get ReferencedStudySequence (0008,1110)
DRTRequestedProcedureCodeSequence& DRTRequestAttributesSequence::Item::getRequestedProcedureCodeSequence | ( | ) | [inline] |
get RequestedProcedureCodeSequence (0032,1064)
const DRTRequestedProcedureCodeSequence& DRTRequestAttributesSequence::Item::getRequestedProcedureCodeSequence | ( | ) | const [inline] |
get RequestedProcedureCodeSequence (0032,1064)
OFCondition DRTRequestAttributesSequence::Item::getRequestedProcedureDescription | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get RequestedProcedureDescription (0032,1060)
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 DRTRequestAttributesSequence::Item::getRequestedProcedureID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get RequestedProcedureID (0040,1001)
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 DRTRequestAttributesSequence::Item::getScheduledProcedureStepDescription | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ScheduledProcedureStepDescription (0040,0007)
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 DRTRequestAttributesSequence::Item::getScheduledProcedureStepID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get ScheduledProcedureStepID (0040,0009)
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 |
DRTScheduledProtocolCodeSequence& DRTRequestAttributesSequence::Item::getScheduledProtocolCodeSequence | ( | ) | [inline] |
get ScheduledProtocolCodeSequence (0040,0008)
const DRTScheduledProtocolCodeSequence& DRTRequestAttributesSequence::Item::getScheduledProtocolCodeSequence | ( | ) | const [inline] |
get ScheduledProtocolCodeSequence (0040,0008)
OFCondition DRTRequestAttributesSequence::Item::getStudyInstanceUID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get StudyInstanceUID (0020,000d)
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 |
OFBool DRTRequestAttributesSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTRequestAttributesSequence::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 DRTRequestAttributesSequence::Item::setAccessionNumber | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set AccessionNumber (0008,0050)
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 DRTRequestAttributesSequence::Item::setReasonForTheRequestedProcedure | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ReasonForTheRequestedProcedure (0040,1002)
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 DRTRequestAttributesSequence::Item::setRequestedProcedureDescription | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set RequestedProcedureDescription (0032,1060)
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 DRTRequestAttributesSequence::Item::setRequestedProcedureID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set RequestedProcedureID (0040,1001)
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 DRTRequestAttributesSequence::Item::setScheduledProcedureStepDescription | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ScheduledProcedureStepDescription (0040,0007)
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 DRTRequestAttributesSequence::Item::setScheduledProcedureStepID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set ScheduledProcedureStepID (0040,0009)
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 DRTRequestAttributesSequence::Item::setStudyInstanceUID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set StudyInstanceUID (0020,000d)
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 |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |