DcmRepresentationParameter Class Reference

abstract base class for codec representation parameter sets. More...

Inheritance diagram for DcmRepresentationParameter:

DcmRLERepresentationParameter DJ_RPLossless DJ_RPLossy DJLSRepresentationParameter List of all members.

Public Member Functions

 DcmRepresentationParameter ()
 default constructor
 DcmRepresentationParameter (const DcmRepresentationParameter &)
 copy constructor
virtual ~DcmRepresentationParameter ()
 destructor
virtual DcmRepresentationParameterclone () 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.

Detailed Description

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.

Definition at line 50 of file dcpixel.h.


Member Function Documentation

virtual DcmRepresentationParameter* DcmRepresentationParameter::clone (  )  const [pure virtual]

this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.

Returns:
copy of this object

Implemented in DcmRLERepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DJLSRepresentationParameter.

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 DcmRLERepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DJLSRepresentationParameter.

virtual OFBool DcmRepresentationParameter::operator== ( const DcmRepresentationParameter arg  )  const [pure virtual]

compares an object to another DcmRepresentationParameter.

Implementation must make sure that classes are comparable.

Parameters:
arg representation parameter to compare with
Returns:
true if equal, false otherwise.

Implemented in DcmRLERepresentationParameter, DJ_RPLossless, DJ_RPLossy, and DJLSRepresentationParameter.


The documentation for this class was generated from the following file:


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1