Public Member Functions | |
~CHashTableExample () | |
void | ConstructDefaultHashSet () |
void | ConstructOwnHashSet () |
void | OperationsToHashSetL () |
void | ConstructDefaultPtrHashSet () |
void | ConstructOwnPtrHashSet () |
void | OperationsToPtrHashSetL () |
void | ConstructDefaultHashMap () |
void | ConstructOwnHashMap () |
void | OperationsToHashMapL () |
void | ConstructDefaultPtrHashMap () |
void | ConstructOwnPtrHashMap () |
void | OperationsToPtrHashMapL () |
Static Public Member Functions | |
static CHashTableExample * | NewL () |
Demonstrates some uses of the Symbian platform hash table APIs of the User Library component.
The class demonstrates how to construct and operate a hash set, a hash set of pointers, a hash map and a hash map of pointers.
Definition at line 105 of file hashtableexample.h.
CHashTableExample::~CHashTableExample | ( | ) |
Destructor
Definition at line 57 of file hashtableexample.cpp.
CHashTableExample * CHashTableExample::NewL | ( | ) | [static] |
Allocates and constructs a CHashTableExample object. Initialises all member data to their default values.
Definition at line 68 of file hashtableexample.cpp.
void CHashTableExample::ConstructDefaultHashSet | ( | ) |
Constructs a hash set using the default hash and identity functions for integers and for descriptors.
Definition at line 81 of file hashtableexample.cpp.
void CHashTableExample::ConstructOwnHashSet | ( | ) |
Constructs a hash set using the custom hash and identity functions to demonstrate the options. The objects declared aren't used elsewhere in the example.
Definition at line 133 of file hashtableexample.cpp.
void CHashTableExample::OperationsToHashSetL | ( | ) |
Applies various operations to hash set:
Definition at line 156 of file hashtableexample.cpp.
void CHashTableExample::ConstructDefaultPtrHashSet | ( | ) |
Constructs a hash set of pointers using the default hash and identity functions for integers and for descriptors
Definition at line 241 of file hashtableexample.cpp.
void CHashTableExample::ConstructOwnPtrHashSet | ( | ) |
Constructs hash set of pointers using the custom hash and identity functions to demonstrate the options. The objects declared aren't used elsewhere in the example.
Definition at line 261 of file hashtableexample.cpp.
void CHashTableExample::OperationsToPtrHashSetL | ( | ) |
Applies various operations to hash set of pointers:
Definition at line 355 of file hashtableexample.cpp.
void CHashTableExample::ConstructDefaultHashMap | ( | ) |
Constructs a hash map using the default hash and identity functions for integers and for descriptors.
Definition at line 444 of file hashtableexample.cpp.
void CHashTableExample::ConstructOwnHashMap | ( | ) |
Constructs a hash map using the custom hash and identity functions to demonstrate the options. The objects declared aren't used elsewhere in the example.
Definition at line 464 of file hashtableexample.cpp.
void CHashTableExample::OperationsToHashMapL | ( | ) |
Applies various operations to hash map:
Definition at line 487 of file hashtableexample.cpp.
void CHashTableExample::ConstructDefaultPtrHashMap | ( | ) |
Constructs hash map of pointers using the default hash and identity functions for integers and for descriptors.
Definition at line 565 of file hashtableexample.cpp.
void CHashTableExample::ConstructOwnPtrHashMap | ( | ) |
Constructs hash map of pointers using the custom hash and identity functions to demonstrate the options. The objects declared aren't used elsewhere in the example.
Definition at line 585 of file hashtableexample.cpp.
void CHashTableExample::OperationsToPtrHashMapL | ( | ) |
Applies various operations to hash map of pointers:
Definition at line 608 of file hashtableexample.cpp.