15 #ifndef CHECKSUMHASHGENERATOR_H 16 #define CHECKSUMHASHGENERATOR_H 18 #include "pandabase.h" 20 #include "hashGeneratorBase.h" 30 INLINE
void add_int(
long num);
31 INLINE
void add_bool(
bool flag);
32 INLINE
void add_fp(
float num,
float threshold);
33 INLINE
void add_fp(
double num,
double threshold);
34 INLINE
void add_pointer(
void *ptr);
35 void add_string(
const string &str);
38 #include "checksumHashGenerator.I" This is a specific kind of HashGenerator that simply adds up all of the ints.
This is the base class for a number of classes that generate arbitrary hash numbers for complex objec...