DJ_RPLossless Class Reference

representation parameter for lossless JPEG More...

Inheritance diagram for DJ_RPLossless:

DcmRepresentationParameter 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 DcmRepresentationParameterclone () 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 37 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 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

Implements DcmRepresentationParameter.

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.

Implements DcmRepresentationParameter.

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.

Implements DcmRepresentationParameter.

int DJ_RPLossless::getPrediction (  )  const [inline]

returns the prediction value

Returns:
prediction value

Definition at line 74 of file djrplol.h.

References prediction.

int DJ_RPLossless::getPointTransformation (  )  const [inline]

returns the point transform

Returns:
point transform

Definition at line 82 of file djrplol.h.

References pt.


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