class MHashKey |
Interface that a hash key must implement. These functions are needed to determine the location of a data item in the hash table, and to indicate when two keys are equal.
TBool | IsEqual | ( | const MHashKey & | aKey | ) | [pure virtual] |
Return ETrue if this key is considered equal to the another key. Equality can be a non-trivial concept, as can be seen in the implementation of THashKeyIp6 that implements this virtual class.
const MHashKey & aKey |
TUint | ToInt | ( | ) | [pure virtual] |
Generate a unsigned integer value from the key. It can be used, e.g. as an index to the hash table. The integer generation must be deterministic.
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.