DefaultHash Class Reference

#include <e32hashtab.h>

class DefaultHash
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 &)

Detailed Description

A set of common hashing functions for frequently occurring types.

See also: RHashSet RPtrHashSet RHashMap RPtrHashMap

Member Function Documentation

Des16 ( const TDesC16 & )

IMPORT_C TUint32Des16(const TDesC16 &)[static]

Calculate a 32 bit hash from a 16 bit descriptor.

ParameterDescription
The descriptor to be hashed.

Returns: The calculated 32 bit hash value.

Des16Ptr ( TDesC16 *const & )

IMPORT_C TUint32Des16Ptr(TDesC16 *const &)[static]

Calculate a 32 bit hash from a TDesC16 pointer.

ParameterDescription
The TDesC16 pointer to be hashed.

Returns: The calculated 32 bit hash value.

Des8 ( const TDesC8 & )

IMPORT_C TUint32Des8(const TDesC8 &)[static]

Calculate a 32 bit hash from an 8 bit descriptor.

ParameterDescription
The descriptor to be hashed.

Returns: The calculated 32 bit hash value.

Des8Ptr ( TDesC8 *const & )

IMPORT_C TUint32Des8Ptr(TDesC8 *const &)[static]

Calculate a 32 bit hash from a TDesC8 pointer.

ParameterDescription
The TDesC8 pointer to be hashed.

Returns: The calculated 32 bit hash value.

Integer ( const TInt & )

IMPORT_C TUint32Integer(const TInt &)[static]

Calculate a 32 bit hash from a 32 bit integer.

Returns: The calculated 32 bit hash value.

IntegerPtr ( TInt *const & )

IMPORT_C TUint32IntegerPtr(TInt *const &)[static]

Calculate a 32 bit hash from a TInt pointer.

ParameterDescription
The TInt pointer to be hashed.

Returns: The calculated 32 bit hash value.