Public Types | |
typedef Key | TKeyType |
Public Member Functions | |
TMCHashCommon (uint32 size) | |
~TMCHashCommon () | |
virtual boolean | SetElemSpace (const uint32 n) |
T & | operator[] (uint32 i) |
uint32 | GetElemCount (void) const |
virtual void | ResetDatas () |
Protected Member Functions | |
virtual boolean | AreKeysEqual (const TKeyType &key1, const TKeyType &key2) const |
virtual uint32 | HashFunction (const TKeyType &key) const |
const TMCArray< uint32 > * | GetElemArray (const TKeyType &key) const |
TMCArray< uint32 > * | GetElemArray (const TKeyType &key) |
Protected Attributes | |
uint32 | fSize |
TMCPtrArray< TMCArray< uint32 > > | fHashTable |
TMCClassArray< T > | fHashData |
typedef Key TMCHashCommon< Key, T >::TKeyType |
TMCHashCommon< Key, T >::TMCHashCommon | ( | uint32 | size | ) | [inline] |
TMCHashCommon< Key, T >::~TMCHashCommon | ( | ) | [inline] |
virtual boolean TMCHashCommon< Key, T >::AreKeysEqual | ( | const TKeyType & | key1, | |
const TKeyType & | key2 | |||
) | const [inline, protected, virtual] |
TMCArray<uint32>* TMCHashCommon< Key, T >::GetElemArray | ( | const TKeyType & | key | ) | [inline, protected] |
const TMCArray<uint32>* TMCHashCommon< Key, T >::GetElemArray | ( | const TKeyType & | key | ) | const [inline, protected] |
uint32 TMCHashCommon< Key, T >::GetElemCount | ( | void | ) | const [inline] |
uint32 TMCHashCommon< Key, T >::HashFunction | ( | const TKeyType & | key | ) | const [inline, protected, virtual] |
T& TMCHashCommon< Key, T >::operator[] | ( | uint32 | i | ) | [inline] |
virtual void TMCHashCommon< Key, T >::ResetDatas | ( | ) | [inline, virtual] |
Reimplemented in TMCHashMap< Key, T >.
boolean TMCHashCommon< Key, T >::SetElemSpace | ( | const uint32 | n | ) | [inline, virtual] |
Reimplemented in TMCHashMap< Key, T >.
TMCClassArray<T> TMCHashCommon< Key, T >::fHashData [protected] |
TMCPtrArray< TMCArray<uint32> > TMCHashCommon< Key, T >::fHashTable [protected] |
uint32 TMCHashCommon< Key, T >::fSize [protected] |