Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32hashtab.h>

Class THashFunction32

class THashFunction32;

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>.

Members

Defined in THashFunction32:

See also:


Construction and destruction


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

inline THashFunction32(TUint32(*aHashFunc)(const T &));

Description

Parameters

TUint32(*)(const T &) aHashFunc

[Top]


Member functions


operator TGeneralHashFunction32()const

inline operator TGeneralHashFunction32() const;

Description

Return value


Hash(const T &)const

inline TUint32 Hash(const T &aKey) const;

Description

Parameters

const T &aKey

Return value

TUint32