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

HashUtility.h File Reference

Hash function utilities. More...

#include <SimData/Export.h>
#include <SimData/Uniform.h>
#include <SimData/hash_map.h>
#include <SimData/Namespace.h>
#include <iostream>
#include <string>

Go to the source code of this file.

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)


Detailed Description

Hash function utilities.


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

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

[SF.net]