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 | getInstitutionAddress (OFString &value, const signed long pos=0) const |
get InstitutionAddress (0008,0081) | |
OFCondition | getInstitutionName (OFString &value, const signed long pos=0) const |
get InstitutionName (0008,0080) | |
OFCondition | getPersonAddress (OFString &value, const signed long pos=0) const |
get PersonAddress (0040,1102) | |
OFCondition | getPersonTelephoneNumbers (OFString &value, const signed long pos=0) const |
get PersonTelephoneNumbers (0040,1103) | |
DRTInstitutionCodeSequence & | getInstitutionCodeSequence () |
get InstitutionCodeSequence (0008,0082) | |
const DRTInstitutionCodeSequence & | getInstitutionCodeSequence () const |
get InstitutionCodeSequence (0008,0082) | |
DRTPersonIdentificationCodeSequence & | getPersonIdentificationCodeSequence () |
get PersonIdentificationCodeSequence (0040,1101) | |
const DRTPersonIdentificationCodeSequence & | getPersonIdentificationCodeSequence () const |
get PersonIdentificationCodeSequence (0040,1101) | |
OFCondition | setInstitutionAddress (const OFString &value, const OFBool check=OFTrue) |
set InstitutionAddress (0008,0081) | |
OFCondition | setInstitutionName (const OFString &value, const OFBool check=OFTrue) |
set InstitutionName (0008,0080) | |
OFCondition | setPersonAddress (const OFString &value, const OFBool check=OFTrue) |
set PersonAddress (0040,1102) | |
OFCondition | setPersonTelephoneNumbers (const OFString &value, const OFBool check=OFTrue) |
set PersonTelephoneNumbers (0040,1103) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmShortText | InstitutionAddress |
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3. | |
DRTInstitutionCodeSequence | InstitutionCodeSequence |
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C. | |
DcmLongString | InstitutionName |
InstitutionName (0008,0080) vr=LO, vm=1, type=1C. | |
DcmShortText | PersonAddress |
PersonAddress (0040,1102) vr=ST, vm=1, type=3. | |
DRTPersonIdentificationCodeSequence | PersonIdentificationCodeSequence |
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1. | |
DcmLongString | PersonTelephoneNumbers |
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3. |
Item class.
DRTPhysiciansReadingStudyIdentificationSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTPhysiciansReadingStudyIdentificationSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTPhysiciansReadingStudyIdentificationSequence::Item::getInstitutionAddress | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get InstitutionAddress (0008,0081)
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 |
DRTInstitutionCodeSequence& DRTPhysiciansReadingStudyIdentificationSequence::Item::getInstitutionCodeSequence | ( | ) | [inline] |
get InstitutionCodeSequence (0008,0082)
const DRTInstitutionCodeSequence& DRTPhysiciansReadingStudyIdentificationSequence::Item::getInstitutionCodeSequence | ( | ) | const [inline] |
get InstitutionCodeSequence (0008,0082)
OFCondition DRTPhysiciansReadingStudyIdentificationSequence::Item::getInstitutionName | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get InstitutionName (0008,0080)
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 DRTPhysiciansReadingStudyIdentificationSequence::Item::getPersonAddress | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PersonAddress (0040,1102)
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 |
DRTPersonIdentificationCodeSequence& DRTPhysiciansReadingStudyIdentificationSequence::Item::getPersonIdentificationCodeSequence | ( | ) | [inline] |
get PersonIdentificationCodeSequence (0040,1101)
const DRTPersonIdentificationCodeSequence& DRTPhysiciansReadingStudyIdentificationSequence::Item::getPersonIdentificationCodeSequence | ( | ) | const [inline] |
get PersonIdentificationCodeSequence (0040,1101)
OFCondition DRTPhysiciansReadingStudyIdentificationSequence::Item::getPersonTelephoneNumbers | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PersonTelephoneNumbers (0040,1103)
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 DRTPhysiciansReadingStudyIdentificationSequence::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 DRTPhysiciansReadingStudyIdentificationSequence::Item::setInstitutionAddress | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set InstitutionAddress (0008,0081)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (ST) and VM (1) if enabled |
OFCondition DRTPhysiciansReadingStudyIdentificationSequence::Item::setInstitutionName | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set InstitutionName (0008,0080)
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 DRTPhysiciansReadingStudyIdentificationSequence::Item::setPersonAddress | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PersonAddress (0040,1102)
value | value to be set (single value only) or "" for no value |
check | check 'value' for conformance with VR (ST) and VM (1) if enabled |
OFCondition DRTPhysiciansReadingStudyIdentificationSequence::Item::setPersonTelephoneNumbers | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PersonTelephoneNumbers (0040,1103)
value | value to be set (possibly multi-valued) or "" for no value |
check | check 'value' for conformance with VR (LO) and VM (1-n) if enabled |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |