DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
Interface class for RecordedWedgeSequence (3008,00b0) More...
Classes | |
class | Item |
Item class. More... | |
Public Member Functions | |
DRTRecordedWedgeSequence (const OFBool emptyDefaultSequence=OFFalse) | |
(default) constructor | |
DRTRecordedWedgeSequence (const DRTRecordedWedgeSequence ©) | |
copy constructor | |
virtual | ~DRTRecordedWedgeSequence () |
destructor | |
DRTRecordedWedgeSequence & | operator= (const DRTRecordedWedgeSequence ©) |
assigment operator | |
void | clear () |
clear all internal member variables | |
OFBool | isEmpty () |
check if sequence is empty | |
OFBool | isValid () const |
check if sequence is valid, i.e. not the empty default sequence | |
unsigned long | getNumberOfItems () const |
get number of items in the sequence | |
OFCondition | gotoFirstItem () |
goto first item in the sequence | |
OFCondition | gotoNextItem () |
goto next item in the sequence | |
OFCondition | gotoItem (const unsigned long num) |
goto particular item in the sequence | |
OFCondition | getCurrentItem (Item *&item) const |
get current item in the sequence | |
Item & | getCurrentItem () |
get current item in the sequence | |
const Item & | getCurrentItem () const |
get current item in the sequence | |
OFCondition | getItem (const unsigned long num, Item *&item) |
get particular item in the sequence | |
Item & | getItem (const unsigned long num) |
get particular item in the sequence | |
const Item & | getItem (const unsigned long num) const |
get particular item in the sequence | |
Item & | operator[] (const unsigned long num) |
get particular item in the sequence | |
const Item & | operator[] (const unsigned long num) const |
get particular item in the sequence | |
OFCondition | addItem (Item *&item) |
add new item to the end of this sequence | |
OFCondition | insertItem (const unsigned long pos, Item *&item) |
insert new item into the sequence | |
OFCondition | removeItem (const unsigned long pos) |
remove particular item from the sequence | |
OFCondition | read (DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL) |
read sequence of items from dataset | |
OFCondition | write (DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL) |
write sequence of items to dataset | |
Protected Member Functions | |
OFCondition | gotoItem (const unsigned long num, OFListIterator(Item *)&iterator) |
goto particular item in the sequence | |
OFCondition | gotoItem (const unsigned long num, OFListConstIterator(Item *)&iterator) const |
goto particular item in the sequence | |
Private Member Functions | |
OFListIterator (Item *) CurrentItem | |
currently selected item | |
Private Attributes | |
OFBool | EmptyDefaultSequence |
internal flag used to mark the empty default sequence | |
OFList< Item * > | SequenceOfItems |
list of items in this sequence | |
Item | EmptyItem |
empty default item |
Interface class for RecordedWedgeSequence (3008,00b0)
DRTRecordedWedgeSequence::DRTRecordedWedgeSequence | ( | const OFBool | emptyDefaultSequence = OFFalse | ) |
(default) constructor
emptyDefaultSequence | internal flag used to mark the empty default sequence |
copy constructor
copy | sequence object to be copied |
OFCondition DRTRecordedWedgeSequence::addItem | ( | Item *& | item | ) |
add new item to the end of this sequence
item | reference to new item pointer (result variable) |
OFCondition DRTRecordedWedgeSequence::getCurrentItem | ( | Item *& | item | ) | const |
get current item in the sequence
item | reference to item pointer (result variable) |
get current item in the sequence
const Item& DRTRecordedWedgeSequence::getCurrentItem | ( | ) | const |
get current item in the sequence
OFCondition DRTRecordedWedgeSequence::getItem | ( | const unsigned long | num, |
Item *& | item | ||
) |
get particular item in the sequence
num | number of the item to be retrieved (0..num-1) |
item | reference to item pointer (result variable) |
Item& DRTRecordedWedgeSequence::getItem | ( | const unsigned long | num | ) |
get particular item in the sequence
num | number of the item to be retrieved (0..num-1) |
const Item& DRTRecordedWedgeSequence::getItem | ( | const unsigned long | num | ) | const |
get particular item in the sequence
num | number of the item to be retrieved (0..num-1) |
unsigned long DRTRecordedWedgeSequence::getNumberOfItems | ( | ) | const |
get number of items in the sequence
goto first item in the sequence
OFCondition DRTRecordedWedgeSequence::gotoItem | ( | const unsigned long | num | ) |
goto particular item in the sequence
num | number of the item to be selected (0..num-1) |
OFCondition DRTRecordedWedgeSequence::gotoItem | ( | const unsigned long | num, |
OFListIterator(Item *)& | iterator | ||
) | [protected] |
goto particular item in the sequence
num | number of the item to be selected (0..num-1) |
iterator | list iterator storing the position of the item |
OFCondition DRTRecordedWedgeSequence::gotoItem | ( | const unsigned long | num, |
OFListConstIterator(Item *)& | iterator | ||
) | const [protected] |
goto particular item in the sequence
num | number of the item to be selected (0..num-1) |
iterator | list iterator storing the position of the item |
goto next item in the sequence
OFCondition DRTRecordedWedgeSequence::insertItem | ( | const unsigned long | pos, |
Item *& | item | ||
) |
insert new item into the sequence
pos | position where the new item is to be inserted (0..num) |
item | reference to new item pointer (result variable) |
OFBool DRTRecordedWedgeSequence::isEmpty | ( | ) |
check if sequence is empty
OFBool DRTRecordedWedgeSequence::isValid | ( | ) | const |
check if sequence is valid, i.e. not the empty default sequence
DRTRecordedWedgeSequence& DRTRecordedWedgeSequence::operator= | ( | const DRTRecordedWedgeSequence & | copy | ) |
assigment operator
copy | sequence object to be copied |
Item& DRTRecordedWedgeSequence::operator[] | ( | const unsigned long | num | ) |
get particular item in the sequence
num | number of the item to be retrieved (0..num-1) |
const Item& DRTRecordedWedgeSequence::operator[] | ( | const unsigned long | num | ) | const |
get particular item in the sequence
num | number of the item to be retrieved (0..num-1) |
OFCondition DRTRecordedWedgeSequence::read | ( | DcmItem & | dataset, |
const OFString & | card, | ||
const OFString & | type, | ||
const char * | moduleName = NULL |
||
) |
read sequence of items from dataset
dataset | reference to DICOM dataset from which the sequence should be read |
card | cardinality (valid range for number of items) |
type | value type (valid value: "1", "1C", "2" or something else which is not checked) |
moduleName | optional module/sequence name to be printed (default: "RT object" if NULL) |
OFCondition DRTRecordedWedgeSequence::removeItem | ( | const unsigned long | pos | ) |
remove particular item from the sequence
pos | position of the item to be removed (0..num-1) |
OFCondition DRTRecordedWedgeSequence::write | ( | DcmItem & | dataset, |
const OFString & | card, | ||
const OFString & | type, | ||
const char * | moduleName = NULL |
||
) |
write sequence of items to dataset
dataset | reference to DICOM dataset to which the sequence should be written |
card | cardinality (valid range for number of items) |
type | value type (valid value: "1", "2" or something else which is not checked) |
moduleName | optional module/sequence name to be printed (default: "RT object" if NULL) |