THashFunction32 Class Reference

#include <e32hashtab.h>

class THashFunction32
Public Member Functions
THashFunction32(TUint32(*)(const T &))
TUint32 Hash(const T &)
operator TGeneralHashFunction32()

Detailed Description

A templated class which packages a function that calculates a 32 bit hash value from a key of templated type.

A THashFunction32<T> object is constructed and passed as a parameter to member functions of the hash table classes RHashSet<T>, RPtrHashSet<T>, RHashMap<T,V> and RPtrHashMap<T,V>.

See also: RHashSet RPtrHashSet RHashMap RPtrHashMap

Constructor & Destructor Documentation

THashFunction32 ( TUint32(*)(const T &) )

THashFunction32(TUint32(*)(const T &)aHashFunc)[inline]

Member Function Documentation

Hash ( const T & )

TUint32 Hash(const T &aKey)const [inline]

operator TGeneralHashFunction32 ( )

operator TGeneralHashFunction32()const [inline]