DJ_RPLossless Class Reference

representation parameter for lossless JPEG More...

List of all members.

Public Member Functions

 DJ_RPLossless (int aPrediction=1, int aPt=0)
 constructor
 DJ_RPLossless (const DJ_RPLossless &arg)
 copy constructor
virtual ~DJ_RPLossless ()
 destructor
virtual DcmRepresentationParameter * clone () const
 this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
virtual const char * className () const
 returns the class name as string.
virtual OFBool operator== (const DcmRepresentationParameter &arg) const
 compares an object to another DcmRepresentationParameter.
int getPrediction () const
 returns the prediction value
int getPointTransformation () const
 returns the point transform

Private Attributes

int prediction
 prediction value
int pt
 point transform value


Detailed Description

representation parameter for lossless JPEG

Definition at line 42 of file djrplol.h.


Constructor & Destructor Documentation

DJ_RPLossless::DJ_RPLossless int  aPrediction = 1,
int  aPt = 0
 

constructor

Parameters:
aPrediction prediction value
aPt point transform value


Member Function Documentation

virtual const char* DJ_RPLossless::className  )  const [virtual]
 

returns the class name as string.

can be used in operator== as poor man's RTTI replacement.

virtual DcmRepresentationParameter* DJ_RPLossless::clone  )  const [virtual]
 

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

Returns:
copy of this object

int DJ_RPLossless::getPointTransformation  )  const [inline]
 

returns the point transform

Returns:
point transform
Definition at line 87 of file djrplol.h.

References pt.

int DJ_RPLossless::getPrediction  )  const [inline]
 

returns the prediction value

Returns:
prediction value
Definition at line 79 of file djrplol.h.

References prediction.

virtual OFBool DJ_RPLossless::operator== const DcmRepresentationParameter &  arg  )  const [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.


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


Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8