Class for referenced time offset list.
More...
|
static const Float64 | EmptyItem |
| default item which is returned in getItem() if the index is invalid.
|
|
OFBool | gotoItemPos (size_t idx, OFLIST_TYPENAME OFListConstIterator(Float64)&iterator) const |
| goto specified item position
|
|
OFBool | gotoItem (const Float64 &item, OFLIST_TYPENAME OFListConstIterator(Float64)&iterator) const |
| goto specified item
|
|
OFList< Float64 > | ItemList |
| the list maintained by this class
|
|
Class for referenced time offset list.
Definition at line 46 of file dsrtcoto.h.
copy constructor
- Parameters
-
assignment operator
- Parameters
-
- Returns
- reference to this list after 'lst' has been copied
OFCondition DSRReferencedTimeOffsetList::print |
( |
STD_NAMESPACE ostream & |
stream, |
|
|
const size_t |
flags = 0 , |
|
|
const char |
separator = ',' |
|
) |
| const |
print list of referenced time offsets.
The output of a typical list looks like this: 1,2.5 or 1,... if shortened.
- Parameters
-
stream | output stream to which the list should be printed |
flags | flag used to customize the output (see DSRTypes::PF_xxx) |
separator | character specifying the separator between the list items |
- Returns
- status, EC_Normal if successful, an error code otherwise
OFCondition DSRReferencedTimeOffsetList::putString |
( |
const char * |
stringValue | ) |
|
put list of referenced time offsets as a string.
This function expects the same input format as created by print(), i.e. a comma separated list of numerical values.
- Parameters
-
stringValue | string value to be set |
- Returns
- status, EC_Normal if successful, an error code otherwise
read list of referenced time offsets
- Parameters
-
dataset | DICOM dataset from which the list should be read |
- Returns
- status, EC_Normal if successful, an error code otherwise
write list of referenced time offsets
- Parameters
-
dataset | DICOM dataset to which the list should be written |
- Returns
- status, EC_Normal if successful, an error code otherwise
The documentation for this class was generated from the following file: