hashers.h File Reference

This file defines a bunch of hash functors, all named Hasher<T>. The idea is to define good middle of the road algoritms -- not a complete set optimized for all possible uses. More...

#include <string>
Include dependency graph for hashers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Hasher< T >
 Hasher<T> is a class object which pretends to be a function which returns a semi-unique value for objects you pass it. That is, it returns you an integer value which can be used as a hash code in various algoriths. To use a Hasher, you declare a Hasher object, then execute it like a function in order to get a hash value. For example: More...
struct  Hasher< double >
 Compute a hash value for a double precesion floating point number. More...
struct  Hasher< float >
 Compute a hash value for a single precesion floating point number. More...
struct  Hasher< std::string >
 string specific hash algorithm. More...

Namespaces

namespace  cxxtls
 

The namespace that encapsulates most of the functionality in the CXX toolkit.



Detailed Description

This file defines a bunch of hash functors, all named Hasher<T>. The idea is to define good middle of the road algoritms -- not a complete set optimized for all possible uses.

Definition in file hashers.h.

Generated on Wed Feb 29 22:51:06 2012 for CXXUtilities by  doxygen 1.6.3