DCMTK
Version 3.6.2
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 | getCalculatedFrameList (Uint32 &value, const unsigned long pos=0) const |
get CalculatedFrameList (0008,1162) More... | |
OFCondition | getMultiFrameSourceSOPInstanceUID (OFString &value, const signed long pos=0) const |
get MultiFrameSourceSOPInstanceUID (0008,1167) More... | |
OFCondition | getSimpleFrameList (Uint32 &value, const unsigned long pos=0) const |
get SimpleFrameList (0008,1161) More... | |
OFCondition | getTimeRange (Float64 &value, const unsigned long pos=0) const |
get TimeRange (0008,1163) More... | |
OFCondition | setCalculatedFrameList (const Uint32 value, const unsigned long pos=0) |
set CalculatedFrameList (0008,1162) More... | |
OFCondition | setMultiFrameSourceSOPInstanceUID (const OFString &value, const OFBool check=OFTrue) |
set MultiFrameSourceSOPInstanceUID (0008,1167) More... | |
OFCondition | setSimpleFrameList (const Uint32 value, const unsigned long pos=0) |
set SimpleFrameList (0008,1161) More... | |
OFCondition | setTimeRange (const Float64 value, const unsigned long pos=0) |
set TimeRange (0008,1163) More... | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmUnsignedLong | CalculatedFrameList |
CalculatedFrameList (0008,1162) vr=UL, vm=3-3n, type=1C. | |
DcmUniqueIdentifier | MultiFrameSourceSOPInstanceUID |
MultiFrameSourceSOPInstanceUID (0008,1167) vr=UI, vm=1, type=1. | |
DcmUnsignedLong | SimpleFrameList |
SimpleFrameList (0008,1161) vr=UL, vm=1-n, type=1C. | |
DcmFloatingPointDouble | TimeRange |
TimeRange (0008,1163) vr=FD, vm=2, type=1C. | |
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.
DRTFrameExtractionSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTFrameExtractionSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTFrameExtractionSequence::Item::getCalculatedFrameList | ( | Uint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get CalculatedFrameList (0008,1162)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTFrameExtractionSequence::Item::getMultiFrameSourceSOPInstanceUID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get MultiFrameSourceSOPInstanceUID (0008,1167)
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 DRTFrameExtractionSequence::Item::getSimpleFrameList | ( | Uint32 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get SimpleFrameList (0008,1161)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTFrameExtractionSequence::Item::getTimeRange | ( | Float64 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get TimeRange (0008,1163)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFBool DRTFrameExtractionSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTFrameExtractionSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTFrameExtractionSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTFrameExtractionSequence::Item::setCalculatedFrameList | ( | const Uint32 | value, |
const unsigned long | pos = 0 |
||
) |
set CalculatedFrameList (0008,1162)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=3-3n |
OFCondition DRTFrameExtractionSequence::Item::setMultiFrameSourceSOPInstanceUID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set MultiFrameSourceSOPInstanceUID (0008,1167)
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 DRTFrameExtractionSequence::Item::setSimpleFrameList | ( | const Uint32 | value, |
const unsigned long | pos = 0 |
||
) |
set SimpleFrameList (0008,1161)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=1-n |
OFCondition DRTFrameExtractionSequence::Item::setTimeRange | ( | const Float64 | value, |
const unsigned long | pos = 0 |
||
) |
set TimeRange (0008,1163)
value | value to be set (should be valid for this VR) |
pos | index of the value to be set (0..vm-1), vm=2 |
OFCondition DRTFrameExtractionSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |