DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions
DSRReferencedSamplePositionList Class Reference

Class for referenced sample position list. More...

+ Inheritance diagram for DSRReferencedSamplePositionList:

List of all members.

Public Member Functions

 DSRReferencedSamplePositionList ()
 default constructor
 DSRReferencedSamplePositionList (const DSRReferencedSamplePositionList &lst)
 copy constructor
virtual ~DSRReferencedSamplePositionList ()
 destructor
DSRReferencedSamplePositionListoperator= (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.

Detailed Description

Class for referenced sample position list.


Constructor & Destructor Documentation

copy constructor

Parameters:
lstlist to be copied

Member Function Documentation

DSRReferencedSamplePositionList& DSRReferencedSamplePositionList::operator= ( const DSRReferencedSamplePositionList lst)

assignment operator

Parameters:
lstlist to be copied
Returns:
reference to this list after 'lst' has been 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.

Parameters:
streamoutput stream to which the list should be printed
flagsflag used to customize the output (see DSRTypes::PF_xxx)
separatorcharacter specifying the separator between the list items
Returns:
status, EC_Normal if successful, an error code otherwise

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.

Parameters:
stringValuestring value to be set
Returns:
status, EC_Normal if successful, an error code otherwise

read list of referenced sample positions

Parameters:
datasetDICOM dataset from which the list should be read
Returns:
status, EC_Normal if successful, an error code otherwise

write list of referenced sample positions

Parameters:
datasetDICOM 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:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027