bmpsamplevalue(3)

NAME

BmpSampleValue - an (abstract) sample value in a bmp file

SYNOPSIS

#include <BmpSampleValue.h>
Inherits SampleValue.
Inherited by BmpPaletteSampleValue, and BmpRGBSampleValue.
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::getRed (void) const [pure virtual]
get the red 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::getBlue (void) const [pure virtual]
get the blue color component
Implemented in BmpPaletteSampleValue, and BmpRGBSampleValue.

Author

Generated automatically by Doxygen for steghide from the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout