|
RavEngine
|
Classes | |
| struct | GetKey |
Public Types | |
| typedef PxPair< const Key, Value > | Entry |
| typedef PxHashBase< Entry, Key, HashFn, GetKey, PxAllocator, true > | BaseMap |
| typedef BaseMap::Iter | Iterator |
| typedef BaseMap::PxEraseIterator | EraseIterator |
Public Member Functions | |
| PxHashMapBase (uint32_t initialTableSize, float loadFactor, const PxAllocator &alloc) | |
| PxHashMapBase (const PxAllocator &alloc) | |
| PxHashMapBase (uint32_t initialTableSize=64, float loadFactor=0.75f) | |
| bool | insert (const Key k, const Value v) |
| Value & | operator[] (const Key &k) |
| PX_INLINE const Entry * | find (const Key &k) const |
| PX_INLINE bool | erase (const Key &k) |
| PX_INLINE bool | erase (const Key &k, Entry &e) |
| PX_INLINE uint32_t | size () const |
| PX_INLINE uint32_t | capacity () const |
| PX_INLINE Iterator | getIterator () |
| PX_INLINE EraseIterator | getEraseIterator () |
| PX_INLINE void | reserve (uint32_t size) |
| PX_INLINE void | clear () |
Protected Attributes | |
| BaseMap | mBase |