|
steghide
0.5.1
|
an (abstract) sample value in a bmp file
#include <BmpSampleValue.h>
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 |
Public Member Functions inherited from SampleValue | |
| SampleValue (void) | |
| virtual | ~SampleValue (void) |
| virtual SampleValue * | getNearestTargetSampleValue (EmbValue t) const =0 |
| virtual std::string | getName (void) const =0 |
| virtual bool | isNeighbour (const SampleValue *s) const |
| EmbValue | getEmbeddedValue (void) const |
| UWORD32 | getKey (void) const |
| bool | operator== (const SampleValue &sv) const |
| bool | operator!= (const SampleValue &sv) const |
| bool | operator< (const SampleValue &sv) const |
| UWORD32 | getNumEdges (EmbValue t) const |
| void | setNumEdges (EmbValue t, UWORD32 ne) |
| void | incNumEdges (EmbValue t) |
| void | decNumEdges (EmbValue t) |
| void | setLabel (unsigned long l) |
| unsigned long | getLabel (void) const |
| void | print (unsigned short spc=0) const |
Additional Inherited Members | |
Protected Attributes inherited from SampleValue | |
| EmbValue | EValue |
| the bit that is embedded in this sample value - must be set in constructor of derived class More... | |
| UWORD32 | Key |
| the key of this sample value - must be different for two different sample values - must be set in constructor of derived class More... | |
|
inline |
|
virtual |
calculate the distance between the sample value s and this sample value
| s | a sample value of the same type as this |
Implements SampleValue.
Reimplemented in BmpRGBSampleValue.
|
pure virtual |
get the blue color component
Implemented in BmpRGBSampleValue, and BmpPaletteSampleValue.
|
pure virtual |
get the green color component
Implemented in BmpRGBSampleValue, and BmpPaletteSampleValue.
|
pure virtual |
get the red color component
Implemented in BmpRGBSampleValue, and BmpPaletteSampleValue.