casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::HashMap_global_functions_hashfunc Struct Reference

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 &)
 

Detailed Description

Hash functions for standard types.

Synopsis

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.

Definition at line 65 of file HashMap.h.

Member Function Documentation

uInt casacore::HashMap_global_functions_hashfunc::hashFunc ( const String )
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 &  )

The documentation for this struct was generated from the following file: