Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::HashKey< T > Class Template Reference

#include <elm/util/HashKey.h>

Static Public Member Functions

static t::hash hash (const T &key)
 
static bool equals (const T &key1, const T &key2)
 

Detailed Description

template<class T>
class elm::HashKey< T >

This is the default implementation of the Hash concept in ELM. It provides a generic Jenkins hash function but provides also easier or more adapted hash functions for curren types like integers, void pointer or strings.

Refer to hash concept for more details.

Member Function Documentation

template<class T >
static bool elm::HashKey< T >::equals ( const T &  key1,
const T &  key2 
)
static

References elm::hash_equals().

template<class T >
static t::hash elm::HashKey< T >::hash ( const T &  key)
static

References elm::hash_jenkins().


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