Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32hashtab.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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:
Hash(), THashFunction32(), operator TGeneralHashFunction32()

See also:


Construction and destruction


THashFunction32()

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

Description

Parameters

TUint32(*)(const T &) aHashFunc

[Top]


Member functions


operator TGeneralHashFunction32()

inline operator TGeneralHashFunction32() const;

Description

Return value


Hash()

inline TUint32 Hash(const T &aKey) const;

Description

Parameters

const T &aKey

Return value

TUint32