DefaultHash Class Reference

class DefaultHash

A set of common hashing functions for frequently occurring types.

RHashSet RPtrHashSet RHashMap RPtrHashMap

Public Member Functions
IMPORT_C TUint32Des16(const TDesC16 &)
IMPORT_C TUint32Des16Ptr(TDesC16 *const &)
IMPORT_C TUint32Des8(const TDesC8 &)
IMPORT_C TUint32Des8Ptr(TDesC8 *const &)
IMPORT_C TUint32Integer(const TInt &)
IMPORT_C TUint32IntegerPtr(TInt *const &)

Member Functions Documentation

Des16(const TDesC16 &)

IMPORT_C TUint32Des16(const TDesC16 &)[static]

Calculate a 32 bit hash from a 16 bit descriptor.

Parameters

const TDesC16 & The descriptor to be hashed.

Des16Ptr(TDesC16 *const &)

IMPORT_C TUint32Des16Ptr(TDesC16 *const &)[static]

Calculate a 32 bit hash from a TDesC16 pointer.

Parameters

TDesC16 *const & The TDesC16 pointer to be hashed.

Des8(const TDesC8 &)

IMPORT_C TUint32Des8(const TDesC8 &)[static]

Calculate a 32 bit hash from an 8 bit descriptor.

Parameters

const TDesC8 & The descriptor to be hashed.

Des8Ptr(TDesC8 *const &)

IMPORT_C TUint32Des8Ptr(TDesC8 *const &)[static]

Calculate a 32 bit hash from a TDesC8 pointer.

Parameters

TDesC8 *const & The TDesC8 pointer to be hashed.

Integer(const TInt &)

IMPORT_C TUint32Integer(const TInt &)[static]

Calculate a 32 bit hash from a 32 bit integer.

Parameters

const TInt &

IntegerPtr(TInt *const &)

IMPORT_C TUint32IntegerPtr(TInt *const &)[static]

Calculate a 32 bit hash from a TInt pointer.

Parameters

TInt *const & The TInt pointer to be hashed.