Public Member Functions | |
DVPSCurve_PList () | |
default constructor | |
DVPSCurve_PList (const DVPSCurve_PList ©) | |
copy constructor | |
DVPSCurve_PList * | clone () |
clone method. | |
virtual | ~DVPSCurve_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads all curve groups which can be displayed in a presentation state from a DICOM dataset. | |
void | clear () |
reset the object to initial state. | |
OFBool | haveCurveGroup (Uint16 group) |
check presence of curve group | |
DVPSCurve * | getCurveGroup (Uint16 group) |
get curve by group | |
DVPSCurve * | getCurve (size_t idx) |
get curve by index | |
size_t | size () const |
get number of curves in this list. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSCurve_PList & | operator= (const DVPSCurve_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSCurve * > | list_ |
the list maintained by this object | |
OFConsole * | logstream |
output stream for error messages, never NULL | |
OFBool | verboseMode |
flag indicating whether we're operating in verbose mode | |
OFBool | debugMode |
flag indicating whether we're operating in debug mode |
This class manages the data structures comprising the list of curves (all instances of the Curve Module repeating elements) contained in an image object.
Definition at line 49 of file dvpscul.h.
|
reset the object to initial state. After this call, the object is in the same state as after creation with the default constructor. |
|
clone method.
Definition at line 62 of file dvpscul.h. References DVPSCurve_PList(). |
|
get curve by index
|
|
get curve by group
|
|
check presence of curve group
|
|
reads all curve groups which can be displayed in a presentation state from a DICOM dataset. This method checks which curves are contained in the DICOM dataset. All curves complying with the presentation state requirements (i.e. 2-dimensional POLY or ROI curves without curve descriptor) are copied into the "list of curves" structure managed by this object. The completeness of the curves (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
sets a new log stream
|
|
get number of curves in this list.
Definition at line 111 of file dvpscul.h. References list_, and OFList< T >::size(). |