#include <GaudiKernel/Hash.h>
Inheritance diagram for GaudiUtils::Hash< T >:
Public Types | |
bucket_size = 4 | |
min_buckets = 8 | |
enum | { bucket_size = 4, min_buckets = 8 } |
Public Member Functions | |
size_t | operator() (const T &key) const |
bool | operator() (const T &key1, const T &key2) const |
template<> | |
size_t | operator() (const int &key) const |
template<> | |
size_t | operator() (const unsigned int &key) const |
template<> | |
size_t | operator() (const long &key) const |
template<> | |
size_t | operator() (const unsigned long &key) const |
template<> | |
size_t | operator() (const long long &key) const |
template<> | |
size_t | operator() (const unsigned long long &key) const |
template<> | |
size_t | operator() (const std::string &key) const |
template<> | |
size_t | operator() (const char *key) const |
Protected Attributes | |
std::less< T > | comp |
comparison operator needed for VC++ |
It provides correct handling of pointers, std::string and char*.
Definition at line 21 of file Hash.h.
anonymous enum |
Definition at line 25 of file Hash.h.
00025 { // parameters for hash table 00026 bucket_size = 4, // 0 < bucket_size 00027 min_buckets = 8}; // min_buckets = 2 ^^ N, 0 < N
size_t GaudiUtils::Hash< T >::operator() | ( | const T & | key | ) | const [inline] |
bool GaudiUtils::Hash< T >::operator() | ( | const T & | key1, | |
const T & | key2 | |||
) | const [inline] |
size_t GaudiUtils::Hash< int >::operator() | ( | const int & | key | ) | const [inline] |
size_t GaudiUtils::Hash< unsigned int >::operator() | ( | const unsigned int & | key | ) | const [inline] |
size_t GaudiUtils::Hash< long >::operator() | ( | const long & | key | ) | const [inline] |
size_t GaudiUtils::Hash< unsigned long >::operator() | ( | const unsigned long & | key | ) | const [inline] |
size_t GaudiUtils::Hash< long long >::operator() | ( | const long long & | key | ) | const [inline] |
size_t GaudiUtils::Hash< unsigned long long >::operator() | ( | const unsigned long long & | key | ) | const [inline] |
size_t GaudiUtils::Hash< std::string >::operator() | ( | const std::string & | key | ) | const [inline] |
size_t GaudiUtils::Hash< char * >::operator() | ( | const char * | key | ) | const [inline] |
std::less<T> GaudiUtils::Hash< T >::comp [protected] |