Dynalib Utils
Classes | Namespaces | Functions | Variables
HashCoder.h File Reference
#include <string>
#include "TypeDefs.h"
Include dependency graph for HashCoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HashCoder
 

Namespaces

 hashc
 

Functions

int hashc::hashSeed ()
 
int hashc::hashMultiplier ()
 
int hashc::hashMask ()
 
int hashc::hashCode (bool key)
 
int hashc::hashCode (char key)
 
int hashc::hashCode (double key)
 
int hashc::hashCode (float key)
 
int hashc::hashCode (int key)
 
int hashc::hashCode (long key)
 
int hashc::hashCode (long long key)
 
int hashc::hashCode (const char *str)
 
int hashc::hashCode (const std::string &str)
 
int hashc::hashCode (void *key)
 
int hashc::getInitialCode ()
 
int hashc::getFinalCode (int code)
 
template<class T >
int hashc::add (int code, T value)
 

Variables

const int hashc::HASH_SEED = 5381
 
const int hashc::HASH_MULTIPLIER = 33
 
const unsigned hashc::HASH_MASK = unsigned(-1) >> 1u