Go to the source code of this file.
Functions | |
TUint32 | MyHashFunction (const TMyOwnObject &aObject) |
TBool | MyIdentityFunction (const TMyOwnObject &aObject1, const TMyOwnObject &aObject2) |
void | FindNumberInWords (const TInt &aNum, TDes &aDes) |
void | MainL () |
GLDEF_C TInt | E32Main () |
Definition in file hashtableexample.cpp.
TUint32 MyHashFunction | ( | const TMyOwnObject & | aObject | ) |
This is a simple implementation of a hash function for a compound object. It is not intended as an example of an optimum hash function implementation
aObject | Custom structure object |
Definition at line 99 of file hashtableexample.cpp.
TBool MyIdentityFunction | ( | const TMyOwnObject & | aObject1, | |
const TMyOwnObject & | aObject2 | |||
) |
Custom identity function in arbitary implementation to check the identity relation between the values of two custom structure objects.
aObj1 | Custom structure object | |
aObj2 | Custom structure object |
Definition at line 111 of file hashtableexample.cpp.
void FindNumberInWords | ( | const TInt & | aNum, | |
TDes & | aDes | |||
) |
Converts the specified number into words
aNum | Integer to convert | |
aDes | Reference to the descriptor containing the result in words |
Definition at line 266 of file hashtableexample.cpp.