diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/hashtableexample_8cpp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/hashtableexample_8cpp.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,137 @@ + +
++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.
+ ++