casacore
|
Hash functions for standard types. More...
#include <HashMap.h>
Public Member Functions | |
uInt | hashFunc (const String &) |
uInt | hashFunc (const float &) |
uInt | hashFunc (const double &) |
uInt | hashFunc (const int &) |
uInt | hashFunc (const unsigned &) |
Hash functions for standard types.
These are the declarations for the standard hash functions used by HashMap. In general, a function such as these is defined for each type that is to be used as a key in HashMap.
These hash functions map the key type to any integer. This integer is then used by HashMap to select a bucket in the hash table.
uInt casacore::HashMap_global_functions_hashfunc::hashFunc | ( | const float & | ) |
uInt casacore::HashMap_global_functions_hashfunc::hashFunc | ( | const double & | ) |
uInt casacore::HashMap_global_functions_hashfunc::hashFunc | ( | const int & | ) |
uInt casacore::HashMap_global_functions_hashfunc::hashFunc | ( | const unsigned & | ) |