Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

BmpSampleValue Class Reference

an (abstract) sample value in a bmp file

#include <BmpSampleValue.h>

Inheritance diagram for BmpSampleValue:

SampleValue BmpPaletteSampleValue BmpRGBSampleValue List of all members.

Public Member Functions

 BmpSampleValue (void)
virtual UWORD32 calcDistance (const SampleValue *s) const
virtual unsigned char getRed (void) const=0
virtual unsigned char getGreen (void) const=0
virtual unsigned char getBlue (void) const=0

Constructor & Destructor Documentation

BmpSampleValue::BmpSampleValue void   )  [inline]
 


Member Function Documentation

UWORD32 BmpSampleValue::calcDistance const SampleValue s  )  const [virtual]
 

calculate the distance between the sample value s and this sample value

Parameters:
s a sample value of the same type as this
Returns:
the distance

Implements SampleValue.

Reimplemented in BmpRGBSampleValue.

virtual unsigned char BmpSampleValue::getBlue void   )  const [pure virtual]
 

get the blue color component

Implemented in BmpPaletteSampleValue, and BmpRGBSampleValue.

virtual unsigned char BmpSampleValue::getGreen void   )  const [pure virtual]
 

get the green color component

Implemented in BmpPaletteSampleValue, and BmpRGBSampleValue.

virtual unsigned char BmpSampleValue::getRed void   )  const [pure virtual]
 

get the red color component

Implemented in BmpPaletteSampleValue, and BmpRGBSampleValue.


The documentation for this class was generated from the following files:
Generated on Thu Nov 13 23:44:23 2003 for steghide by doxygen 1.3.3