Files Classes Functions Hierarchy
00001 #ifndef STRINGHASH_H 00002 #define STRINGHASH_H 00003 00004 #include <string> 00005 using namespace std; 00006 00007 #include <hashfunction01.h> 00008 #include <typedefs.h> 00009 00010 00025 class stringhash 00026 { 00027 hashfunction01 hashfn; 00028 public: 00029 00033 uint cyclelength; 00034 00036 stringhash() : cyclelength(0) {}; 00037 00039 void construct( uintc cyclelength_, uintc loops_ ); 00040 00043 stringhash( uintc cyclelength_, uintc loops_ ); 00044 00046 uintc operator()(stringc & key) const; 00047 00048 }; 00049 00050 00051 00052 #endif 00053
1.5.8