Bike-X
0.8
|
#include "OVR_Hash.h"
Data Structures | |
struct | ConstIterator |
struct | Iterator |
struct | TableType |
Public Types | |
typedef HashSetBase< C, HashF, AltHashF, Allocator, Entry > | SelfType |
Public Member Functions | |
HashSetBase () | |
HashSetBase (int sizeHint) | |
HashSetBase (const SelfType &src) | |
~HashSetBase () | |
void | Assign (const SelfType &src) |
void | Clear () |
bool | IsEmpty () const |
template<class CRef > | |
void | Set (const CRef &key) |
template<class CRef > | |
void | Add (const CRef &key) |
template<class K > | |
void | RemoveAlt (const K &key) |
template<class CRef > | |
void | Remove (const CRef &key) |
template<class K > | |
C * | Get (const K &key) |
template<class K > | |
const C * | Get (const K &key) const |
template<class K > | |
const C * | GetAlt (const K &key) const |
template<class K > | |
C * | GetAlt (const K &key) |
template<class K > | |
bool | GetAlt (const K &key, C *pval) const |
UPInt | GetSize () const |
void | CheckExpand () |
void | Resize (UPInt n) |
void | SetCapacity (UPInt newSize) |
Iterator | Begin () |
Iterator | End () |
ConstIterator | Begin () const |
ConstIterator | End () const |
template<class K > | |
Iterator | Find (const K &key) |
template<class K > | |
Iterator | FindAlt (const K &key) |
template<class K > | |
ConstIterator | Find (const K &key) const |
template<class K > | |
ConstIterator | FindAlt (const K &key) const |
Private Types | |
enum | { HashMinSize = 8 } |
Private Member Functions | |
template<class K > | |
SPInt | findIndex (const K &key) const |
template<class K > | |
SPInt | findIndexAlt (const K &key) const |
template<class K > | |
SPInt | findIndexCore (const K &key, UPInt hashValue) const |
template<class CRef > | |
void | add (const CRef &key, UPInt hashValue) |
Entry & | E (UPInt index) |
const Entry & | E (UPInt index) const |
void | setRawCapacity (UPInt newSize) |
Private Attributes | |
TableType * | pTable |
Friends | |
struct | ConstIterator |
struct | Iterator |
Definition at line 195 of file OVR_Hash.h.
struct OVR::HashSetBase::TableType |
Definition at line 896 of file OVR_Hash.h.
Data Fields | ||
---|---|---|
UPInt | EntryCount | |
UPInt | SizeMask |
typedef HashSetBase<C, HashF, AltHashF, Allocator, Entry> OVR::HashSetBase< C, HashF, AltHashF, Allocator, Entry >::SelfType |
Definition at line 202 of file OVR_Hash.h.
|
private |
Enumerator | |
---|---|
HashMinSize |
Definition at line 197 of file OVR_Hash.h.
|
inline |
Definition at line 204 of file OVR_Hash.h.
|
inline |
Definition at line 205 of file OVR_Hash.h.
|
inline |
Definition at line 206 of file OVR_Hash.h.
|
inline |
Definition at line 208 of file OVR_Hash.h.
|
inline |
Definition at line 290 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 748 of file OVR_Hash.h.
|
inline |
Definition at line 226 of file OVR_Hash.h.
|
inline |
Definition at line 643 of file OVR_Hash.h.
|
inline |
Definition at line 658 of file OVR_Hash.h.
|
inline |
Definition at line 420 of file OVR_Hash.h.
|
inline |
Definition at line 242 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 818 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 824 of file OVR_Hash.h.
|
inline |
Definition at line 656 of file OVR_Hash.h.
|
inline |
Definition at line 659 of file OVR_Hash.h.
|
inline |
Definition at line 662 of file OVR_Hash.h.
|
inline |
Definition at line 680 of file OVR_Hash.h.
|
inline |
Definition at line 671 of file OVR_Hash.h.
|
inline |
Definition at line 683 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 688 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 697 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 707 of file OVR_Hash.h.
|
inline |
Definition at line 362 of file OVR_Hash.h.
|
inline |
Definition at line 371 of file OVR_Hash.h.
|
inline |
Definition at line 381 of file OVR_Hash.h.
|
inline |
Definition at line 390 of file OVR_Hash.h.
|
inline |
Definition at line 399 of file OVR_Hash.h.
|
inline |
Definition at line 412 of file OVR_Hash.h.
|
inline |
Definition at line 260 of file OVR_Hash.h.
|
inline |
Definition at line 353 of file OVR_Hash.h.
|
inline |
Definition at line 298 of file OVR_Hash.h.
|
inline |
Definition at line 435 of file OVR_Hash.h.
|
inline |
Definition at line 270 of file OVR_Hash.h.
|
inline |
Definition at line 449 of file OVR_Hash.h.
|
inlineprivate |
Definition at line 835 of file OVR_Hash.h.
|
friend |
Definition at line 545 of file OVR_Hash.h.
|
friend |
Definition at line 641 of file OVR_Hash.h.
|
private |
Definition at line 903 of file OVR_Hash.h.