14#ifndef DCHASHGENERATOR_H
15#define DCHASHGENERATOR_H
23class EXPCL_DIRECT_DCPARSER HashGenerator {
29 void add_blob(
const vector_uchar &bytes);
unsigned long get_hash() const
Returns the hash number generated.
void add_blob(const std::vector< unsigned char > &bytes)
Adds a blob to the hash, by breaking it down into a sequence of integers.
void add_int(int num)
Adds another integer to the hash so far.
void add_string(const std::string &str)
Adds a string to the hash, by breaking it down into a sequence of integers.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.