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 Mon Jan 3 13:40:20 2011 for steghide by  doxygen 1.6.3