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 | getIssuerOfPatientID (OFString &value, const signed long pos=0) const |
get IssuerOfPatientID (0010,0021) | |
OFCondition | getPatientID (OFString &value, const signed long pos=0) const |
get PatientID (0010,0020) | |
OFCondition | getTypeOfPatientID (OFString &value, const signed long pos=0) const |
get TypeOfPatientID (0010,0022) | |
OFCondition | setIssuerOfPatientID (const OFString &value, const OFBool check=OFTrue) |
set IssuerOfPatientID (0010,0021) | |
OFCondition | setPatientID (const OFString &value, const OFBool check=OFTrue) |
set PatientID (0010,0020) | |
OFCondition | setTypeOfPatientID (const OFString &value, const OFBool check=OFTrue) |
set TypeOfPatientID (0010,0022) | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmLongString | IssuerOfPatientID |
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=1. | |
DcmLongString | PatientID |
PatientID (0010,0020) vr=LO, vm=1, type=1. | |
DcmCodeString | TypeOfPatientID |
TypeOfPatientID (0010,0022) vr=CS, vm=1, type=1. |
Item class.
DRTOtherPatientIDsSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTOtherPatientIDsSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTOtherPatientIDsSequence::Item::getIssuerOfPatientID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get IssuerOfPatientID (0010,0021)
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 DRTOtherPatientIDsSequence::Item::getPatientID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get PatientID (0010,0020)
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 DRTOtherPatientIDsSequence::Item::getTypeOfPatientID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get TypeOfPatientID (0010,0022)
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 DRTOtherPatientIDsSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTOtherPatientIDsSequence::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 DRTOtherPatientIDsSequence::Item::setIssuerOfPatientID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set IssuerOfPatientID (0010,0021)
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 DRTOtherPatientIDsSequence::Item::setPatientID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set PatientID (0010,0020)
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 DRTOtherPatientIDsSequence::Item::setTypeOfPatientID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set TypeOfPatientID (0010,0022)
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 |