Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32hashtab.h
Link against: euser.lib

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

Class DefaultHash

class DefaultHash;

Description

A set of common hashing functions for frequently occurring types.

Members

Defined in DefaultHash:
Des16(), Des16Ptr(), Des8(), Des8Ptr(), IntegerPtr()

See also:


Member functions


Des8()

static IMPORT_C TUint32 Des8(const TDesC8 &);

Description

Calculate a 32 bit hash from an 8 bit descriptor.

Parameters

const TDesC8 &

The descriptor to be hashed.

Return value

TUint32

The calculated 32 bit hash value.


Des16()

static IMPORT_C TUint32 Des16(const TDesC16 &);

Description

Calculate a 32 bit hash from a 16 bit descriptor.

Parameters

const TDesC16 &

The descriptor to be hashed.

Return value

TUint32

The calculated 32 bit hash value.


IntegerPtr()

static IMPORT_C TUint32 IntegerPtr(TInt *const &);

Description

Calculate a 32 bit hash from a TInt pointer.

Parameters

TInt *const &

The TInt pointer to be hashed.

Return value

TUint32

The calculated 32 bit hash value.


Des8Ptr()

static IMPORT_C TUint32 Des8Ptr(TDesC8 *const &);

Description

Calculate a 32 bit hash from a TDesC8 pointer.

Parameters

TDesC8 *const &

The TDesC8 pointer to be hashed.

Return value

TUint32

The calculated 32 bit hash value.


Des16Ptr()

static IMPORT_C TUint32 Des16Ptr(TDesC16 *const &);

Description

Calculate a 32 bit hash from a TDesC16 pointer.

Parameters

TDesC16 *const &

The TDesC16 pointer to be hashed.

Return value

TUint32

The calculated 32 bit hash value.