Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Hash Utilities


Compounds

struct  eqint
 Integer equality functor for hash_map. More...

struct  eqstr
 const char* equality functor for hash_map. More...

struct  eqstring
 String equality functor for hash_map. More...

struct  hashint
 Integer hash functor for hash_map. More...

struct  hashstring
 String hash functor for hash_map. More...

struct  HashT
 A 64-bit hash value. More...

struct  hasht_eq
 hasht equality functor for hash_map. More...

struct  hasht_hash
 hasht hash functor for hash_map. More...

struct  HASHT_MAP
 hash_map specialization type for hasht to T maps. More...


Typedefs

typedef HashT hasht

Functions

SIMDATA_EXPORT uint32 newhash4_cstring (std::string const &)
 Generate a 32-bit hash from a string.

SIMDATA_EXPORT HashT newhasht_cstring (std::string const &)
 Generate a 64-bit hash (HashT) from a string.

HashT hash_string (std::string const &key)
 The primary string to hash function used internally by SimData.

std::ostream & operator<< (std::ostream &o, const hasht &x)

Typedef Documentation

typedef HashT hasht
 


Function Documentation

HashT hash_string std::string const &    key [inline]
 

The primary string to hash function used internally by SimData.

SIMDATA_EXPORT uint32 newhash4_cstring std::string const &    str
 

Generate a 32-bit hash from a string.

SIMDATA_EXPORT HashT newhasht_cstring std::string const &    str
 

Generate a 64-bit hash (HashT) from a string.

std::ostream& operator<< std::ostream &    o,
const hasht   x
 


SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:42 2003, using Doxygen 1.2.18.

[SF.net]