21 #ifndef SH_SAMPLEVALUE_H
22 #define SH_SAMPLEVALUE_H
89 virtual std::string
getName (
void)
const = 0 ;
130 void print (
unsigned short spc = 0)
const ;
152 return (*s1 == *s2) ;
166 sgi::hash<UWORD32> h ;
171 #endif // ndef SH_CVRSTGSAMPLE_H
size_t operator()(const SampleValue *s) const
Definition: SampleValue.h:164
void incNumEdges(EmbValue t)
Definition: SampleValue.cc:36
UWORD32 Key
the key of this sample value - must be different for two different sample values - must be set in con...
Definition: SampleValue.h:137
a cover-/stego-file
Definition: CvrStgFile.h:46
virtual UWORD32 calcDistance(const SampleValue *s) const =0
void setNumEdges(EmbValue t, UWORD32 ne)
Definition: SampleValue.h:123
virtual std::string getName(void) const =0
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
UWORD32 * NumEdges
Definition: SampleValue.h:146
virtual SampleValue * getNearestTargetSampleValue(EmbValue t) const =0
Definition: SampleValue.h:156
bool operator==(const SampleValue &sv) const
Definition: SampleValue.h:117
UWORD32 getKey(void) const
Definition: SampleValue.h:111
void setLabel(unsigned long l)
Definition: SampleValue.h:127
unsigned long getLabel(void) const
Definition: SampleValue.h:128
EmbValue EValue
the bit that is embedded in this sample value - must be set in constructor of derived class ...
Definition: SampleValue.h:134
unsigned long UWORD32
Definition: common.h:45
unsigned long Label
Definition: SampleValue.h:140
void decNumEdges(EmbValue t)
Definition: SampleValue.cc:41
void print(unsigned short spc=0) const
Definition: SampleValue.cc:55
virtual bool isNeighbour(const SampleValue *s) const
Definition: SampleValue.cc:47
bool operator()(const SampleValue *s1, const SampleValue *s2) const
Definition: SampleValue.h:157
Definition: SampleValue.h:149
bool operator<(const SampleValue &sv) const
Definition: SampleValue.h:120
BYTE EmbValue
Definition: common.h:66
virtual ~SampleValue(void)
Definition: SampleValue.cc:31
SampleValue(void)
Definition: SampleValue.cc:25
EmbValue getEmbeddedValue(void) const
Definition: SampleValue.h:104
bool operator!=(const SampleValue &sv) const
Definition: SampleValue.h:118
UWORD32 getNumEdges(EmbValue t) const
Definition: SampleValue.h:122
bool operator()(const SampleValue *s1, const SampleValue *s2) const
Definition: SampleValue.h:150
Definition: SampleValue.h:163