RHashTableBase Class Reference
Nested Classes and Structures
- RHashTableBase::Defaults
- RHashTableBase::Defaults< TDesC16 *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TDesC16, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TDesC8 *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TDesC8, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TInt *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TInt, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TInt32 *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TInt32, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TUint *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TUint, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TUint32 *, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::Defaults< TUint32, RHashTableBase::EDefaultSpecifier_Normal >
- RHashTableBase::SElement
Protected Member Functions |
---|
| RHashTableBase(TGeneralHashFunction32, TGeneralIdentityRelation, TInt, TInt) |
IMPORT_C void | Close() |
IMPORT_C void | ConsistencyCheck(TUint32 *, TUint32 *, TUint32, TUint32 *) |
IMPORT_C TInt | Count() |
IMPORT_C TAny * | Find(const TAny *, TInt) |
IMPORT_C TAny * | FindL(const TAny *, TInt) |
TInt
| Insert(const TAny *, TAny *&) |
IMPORT_C TInt | PtrInsert(const TAny *, const TAny *) |
IMPORT_C void | PtrInsertL(const TAny *, const TAny *) |
IMPORT_C TInt | Remove(const TAny *) |
IMPORT_C TInt | Reserve(TInt) |
IMPORT_C void | ReserveL(TInt) |
IMPORT_C TInt | ValueInsert(const TAny *, TInt, const TAny *, TInt, TInt) |
IMPORT_C void | ValueInsertL(const TAny *, TInt, const TAny *, TInt, TInt) |
Detailed Description
Base class used in the derivation of RHashSet<T>, RPtrHashSet<T>, RHashMap<K,V> and RPtrHashMap<K,V>.
This class provides a general hash table implementation using probe sequences generated by pseudo-double hashing. The class is internal and is not intended for use.
Member Enumeration Documentation
Enum TDefaultSpecifier
Enum TElementState
Constructor & Destructor Documentation
RHashTableBase ( TGeneralHashFunction32, TGeneralIdentityRelation, TInt, TInt )
Member Function Documentation
Close ( )
IMPORT_C void | Close | ( | ) | [protected] |
ConsistencyCheck ( TUint32 *, TUint32 *, TUint32, TUint32 * )
IMPORT_C void | ConsistencyCheck | ( | TUint32 * | aDeleted = 0, |
| TUint32 * | aComparisons = 0, |
| TUint32 | aChainLimit = 0, |
| TUint32 * | aChainInfo = 0 |
| ) | [protected] |
Count ( )
IMPORT_C TInt | Count | ( | ) | const [protected] |
Find ( const TAny *, TInt )
IMPORT_C TAny * | Find | ( | const TAny * | aKey, |
| TInt | aOffset = 0 |
| ) | const [protected] |
FindL ( const TAny *, TInt )
IMPORT_C TAny * | FindL | ( | const TAny * | aKey, |
| TInt | aOffset = 0 |
| ) | const [protected] |
Insert ( const TAny *, TAny *& )
PtrInsert ( const TAny *, const TAny * )
IMPORT_C TInt | PtrInsert | ( | const TAny * | aKey, |
| const TAny * | aValue |
| ) | [protected] |
PtrInsertL ( const TAny *, const TAny * )
IMPORT_C void | PtrInsertL | ( | const TAny * | aKey, |
| const TAny * | aValue |
| ) | [protected] |
Remove ( const TAny * )
IMPORT_C TInt | Remove | ( | const TAny * | aKey | ) | [protected] |
Reserve ( TInt )
IMPORT_C TInt | Reserve | ( | TInt | aCount | ) | [protected] |
ReserveL ( TInt )
IMPORT_C void | ReserveL | ( | TInt | aCount | ) | [protected] |
ValueInsert ( const TAny *, TInt, const TAny *, TInt, TInt )
IMPORT_C TInt | ValueInsert | ( | const TAny * | aKey, |
| TInt | aKeySize, |
| const TAny * | aValue, |
| TInt | aValueOffset, |
| TInt | aValueSize |
| ) | [protected] |
ValueInsertL ( const TAny *, TInt, const TAny *, TInt, TInt )
IMPORT_C void | ValueInsertL | ( | const TAny * | aKey, |
| TInt | aKeySize, |
| const TAny * | aValue, |
| TInt | aValueOffset, |
| TInt | aValueSize |
| ) | [protected] |