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 92 of file hashtableexample.h.
CHashTableExample::~CHashTableExample | ( | ) |
Destructor
Definition at line 44 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 55 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 68 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 120 of file hashtableexample.cpp.
void CHashTableExample::OperationsToHashSetL | ( | ) |
Applies various operations to hash set:
Definition at line 143 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 228 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 248 of file hashtableexample.cpp.
void CHashTableExample::OperationsToPtrHashSetL | ( | ) |
Applies various operations to hash set of pointers:
Definition at line 342 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 431 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 451 of file hashtableexample.cpp.
void CHashTableExample::OperationsToHashMapL | ( | ) |
Applies various operations to hash map:
Definition at line 474 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 552 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 572 of file hashtableexample.cpp.
void CHashTableExample::OperationsToPtrHashMapL | ( | ) |
Applies various operations to hash map of pointers:
Definition at line 595 of file hashtableexample.cpp.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.