Main Page   Class Hierarchy   Compound List   File List   Compound Members  

THashInt Class Reference

Class neded to use integers (int) as keys with the TValHashMapT and TValHashSetT classes. More...

#include <THashInt.hh>

List of all members.

Static Public Methods

unsigned int Hash (unsigned int key)
 Integer hash function.

bool Equal (unsigned int a, unsigned int b)
 Compare two integers.


Detailed Description

Class neded to use integers (int) as keys with the TValHashMapT and TValHashSetT classes.

The hash function is written by Thomas Wang For more information visit this web page: http://www.concentric.net/~Ttwang/tech/inthash.htm

Author:
Johan Bolmsjo <johan@nocrew.org>


Member Function Documentation

unsigned int THashInt::Hash unsigned int    key [static]
 

Integer hash function.

Author:
Thomas Wang


The documentation for this class was generated from the following file:
Generated on Sat Feb 15 18:37:16 2003 for Tools by doxygen1.3-rc2