DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
abstract base class for codec representation parameter sets. More...
Public Member Functions | |
DcmRepresentationParameter () | |
default constructor | |
DcmRepresentationParameter (const DcmRepresentationParameter &) | |
copy constructor | |
virtual | ~DcmRepresentationParameter () |
destructor | |
virtual DcmRepresentationParameter * | clone () const =0 |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass. | |
virtual const char * | className () const =0 |
returns the class name as string. | |
virtual OFBool | operator== (const DcmRepresentationParameter &arg) const =0 |
compares an object to another DcmRepresentationParameter. |
abstract base class for codec representation parameter sets.
A codec parameter set subclass is implemented for each codec and passed to the codec by the encode() and decode() routines. It is supposed to contain data that may vary between compressed image representations using the same transfer syntax, for example the quality factor or compression factor for lossy compression.
virtual const char* DcmRepresentationParameter::className | ( | ) | const [pure virtual] |
returns the class name as string.
can be used in operator== as poor man's RTTI replacement.
Implemented in DJLSRepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DcmRLERepresentationParameter.
virtual DcmRepresentationParameter* DcmRepresentationParameter::clone | ( | ) | const [pure virtual] |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
Implemented in DJLSRepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DcmRLERepresentationParameter.
virtual OFBool DcmRepresentationParameter::operator== | ( | const DcmRepresentationParameter & | arg | ) | const [pure virtual] |
compares an object to another DcmRepresentationParameter.
Implementation must make sure that classes are comparable.
arg | representation parameter to compare with |
Implemented in DJLSRepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DcmRLERepresentationParameter.