Additional Inherited Members | |
Public Types inherited from Proud::CFastMap< HostID, CP2PGroupPtr > | |
typedef CPNElementTraits < HostID >::INARGTYPE | KINARGTYPE |
typedef CPNElementTraits < HostID >::OUTARGTYPE | KOUTARGTYPE |
typedef CPNElementTraits < CP2PGroupPtr >::INARGTYPE | VINARGTYPE |
typedef CPNElementTraits < CP2PGroupPtr >::OUTARGTYPE | VOUTARGTYPE |
typedef CFastMap< HostID, CP2PGroupPtr >::const_iterator | ConstIterType |
Public Member Functions inherited from Proud::CFastMap< HostID, CP2PGroupPtr > | |
CFastMap (uint32_t nBins=17, float fOptimalLoad=0.75f, float fLoThreshold=0.25f, float fHiThreshold=2.25f) | |
CFastMap (const CFastMap &a) | |
intptr_t | GetCount () const throw () |
intptr_t | size () const |
bool | IsEmpty () const throw () |
bool | Lookup (KINARGTYPE key, VOUTARGTYPE value) const |
const CPair * | Lookup (KINARGTYPE key) const throw () |
CPair * | Lookup (KINARGTYPE key) throw () |
CP2PGroupPtr & | operator[] (KINARGTYPE key) throw () |
CNode * | SetAt (KINARGTYPE key, VINARGTYPE value) |
void | SetValueAt (Proud::Position pos, VINARGTYPE value) |
bool | RemoveKey (KINARGTYPE key, bool rehashOnNeed=false) throw () |
| |
void | Clear () |
bool | Remove (KINARGTYPE key, bool rehashOnNeed=false) |
void | RemoveAll () |
| |
void | RemoveAtPos (Proud::Position pos, bool rehashOnNeed=false) throw () |
Proud::Position | GetStartPosition () const throw () |
Proud::Position | GetEndPosition () const throw () |
void | GetNextAssoc (Proud::Position &pos, KOUTARGTYPE key, VOUTARGTYPE value) const |
const CPair * | GetNext (Proud::Position &pos) const throw () |
CPair * | GetNext (Proud::Position &pos) throw () |
CPair * | GetPrev (Proud::Position &pos) throw () |
const HostID & | GetNextKey (Proud::Position &pos) const |
const CP2PGroupPtr & | GetNextValue (Proud::Position &pos) const |
CP2PGroupPtr & | GetNextValue (Proud::Position &pos) |
void | GetAt (Proud::Position pos, KOUTARGTYPE key, VOUTARGTYPE value) const |
CPair * | GetAt (Proud::Position pos) throw () |
const CPair * | GetAt (Proud::Position pos) const throw () |
CPair * | GetPairByIndex (int index) throw () |
const CPair * | GetPairByIndex (int index) const throw () |
const HostID & | GetKeyAt (Proud::Position pos) const |
const CP2PGroupPtr & | GetValueAt (Proud::Position pos) const |
CP2PGroupPtr & | GetValueAt (Proud::Position pos) |
uint32_t | GetHashTableSize () const throw () |
bool | InitHashTable (uint32_t nBins, bool bAllocNow=true) |
void | EnableAutoRehash () throw () |
void | DisableAutoRehash () throw () |
void | Rehash (uint32_t nBins=0) |
void | SetOptimalLoad (float fOptimalLoad, float fLoThreshold, float fHiThreshold, bool bRehashNow=false) |
void | SetOptimalLoad_BestLookup (bool rehashNow=false) |
intptr_t | GetWorstBinItemCount () |
void | EnableSlowConsistCheck () |
void | KeysToArray (CFastArray< HostID > &output) const |
void | ValuesToArray (CFastArray< CP2PGroupPtr > &output) const |
void | AssertConsist () const |
CFastMap & | operator= (const CFastMap &a) |
bool | Equals (const CFastMap &a) const |
void | CopyKeysTo (CFastArray< HostID > &dest) |
bool | ContainsKey (const HostID &key) |
bool | ContainsValue (const CP2PGroupPtr &val) |
bool | TryGetValue (KINARGTYPE key, VOUTARGTYPE value) |
bool | Add (KINARGTYPE key, VINARGTYPE value) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
value_type | front () |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reverse_iterator | erase (reverse_iterator iter) |
iterator | erase (iterator iter) |
iterator | find (const HostID &key) |
const_iterator | find (const HostID &key) const |
void | UseFastHeap (CFastHeap *heap) |
CFastHeap * | GetRefFastHeap () |
P2P group list