Inheritance diagram for DSRReferencedSamplePositionList:
Public Member Functions | |
DSRReferencedSamplePositionList () | |
default constructor | |
DSRReferencedSamplePositionList (const DSRReferencedSamplePositionList &lst) | |
copy constructor | |
virtual | ~DSRReferencedSamplePositionList () |
destructor | |
DSRReferencedSamplePositionList & | operator= (const DSRReferencedSamplePositionList &lst) |
assignment operator | |
OFCondition | print (STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator= ',') const |
print list of referenced sample positions. | |
OFCondition | read (DcmItem &dataset) |
read list of referenced sample positions | |
OFCondition | write (DcmItem &dataset) const |
write list of referenced sample positions | |
OFCondition | putString (const char *stringValue) |
put list of referenced sample positions as a string. |
Definition at line 46 of file dsrtcosp.h.
DSRReferencedSamplePositionList::DSRReferencedSamplePositionList | ( | const DSRReferencedSamplePositionList & | lst | ) |
copy constructor
lst | list to be copied |
DSRReferencedSamplePositionList& DSRReferencedSamplePositionList::operator= | ( | const DSRReferencedSamplePositionList & | lst | ) |
assignment operator
lst | list to be copied |
OFCondition DSRReferencedSamplePositionList::print | ( | STD_NAMESPACE ostream & | stream, | |
const size_t | flags = 0 , |
|||
const char | separator = ',' | |||
) | const |
print list of referenced sample positions.
The output of a typical list looks like this: 1,2,3 or 1,... if shortened.
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 |
OFCondition DSRReferencedSamplePositionList::read | ( | DcmItem & | dataset | ) |
read list of referenced sample positions
dataset | DICOM dataset from which the list should be read |
OFCondition DSRReferencedSamplePositionList::write | ( | DcmItem & | dataset | ) | const |
write list of referenced sample positions
dataset | DICOM dataset to which the list should be written |
OFCondition DSRReferencedSamplePositionList::putString | ( | const char * | stringValue | ) |
put list of referenced sample positions as a string.
This function expects the same input format as created by print(), i.e. a comma separated list of numerical values.
stringValue | string value to be set |