A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::Hasher< KeyType > Class Template Reference
+ Collaboration diagram for pdb::Hasher< KeyType >:

Static Public Member Functions

static auto hash (const KeyType &k) -> decltype(hash_impl(k, 0))
 
template<typename U >
static auto hash_impl (U const &u, int) -> decltype(specialHash(u))
 

Static Private Member Functions

template<typename U >
static auto hash_impl (U const &u,...) -> size_t
 
template<typename U >
static auto hash_impl (U const &u, int) -> decltype(u.hash())
 

Detailed Description

template<class KeyType>
class pdb::Hasher< KeyType >

Definition at line 70 of file PairArray.cc.

Member Function Documentation

template<class KeyType>
static auto pdb::Hasher< KeyType >::hash ( const KeyType &  k) -> decltype(hash_impl(k, 0))
inlinestatic

Definition at line 85 of file PairArray.cc.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class KeyType>
template<typename U >
static auto pdb::Hasher< KeyType >::hash_impl ( U const &  u,
  ... 
) -> size_t
inlinestaticprivate

Definition at line 74 of file PairArray.cc.

+ Here is the caller graph for this function:

template<class KeyType>
template<typename U >
static auto pdb::Hasher< KeyType >::hash_impl ( U const &  u,
int   
) -> decltype(u.hash())
inlinestaticprivate

Definition at line 80 of file PairArray.cc.

template<class KeyType>
template<typename U >
static auto pdb::Hasher< KeyType >::hash_impl ( U const &  u,
int   
) -> decltype(specialHash(u))
inlinestatic

Definition at line 97 of file PairArray.cc.

+ Here is the call graph for this function:


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