Inheritance diagram for DJ_RPLossy:
Public Member Functions | |
DJ_RPLossy (int aQuality=90) | |
constructor | |
DJ_RPLossy (const DJ_RPLossy &arg) | |
copy constructor | |
virtual | ~DJ_RPLossy () |
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 | getQuality () const |
returns the compression quality factor | |
Private Attributes | |
int | quality |
compression quality factor |
Definition at line 37 of file djrploss.h.
DJ_RPLossy::DJ_RPLossy | ( | int | aQuality = 90 |
) |
constructor
aQuality | quality factor |
virtual DcmRepresentationParameter* DJ_RPLossy::clone | ( | ) | const [virtual] |
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every subclass.
Implements DcmRepresentationParameter.
virtual const char* DJ_RPLossy::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_RPLossy::operator== | ( | const DcmRepresentationParameter & | arg | ) | const [virtual] |
compares an object to another DcmRepresentationParameter.
Implementation must make sure that classes are comparable.
arg | representation parameter to compare with |
Implements DcmRepresentationParameter.
int DJ_RPLossy::getQuality | ( | ) | const [inline] |
returns the compression quality factor
Definition at line 73 of file djrploss.h.
References quality.