physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator > Class Template Reference
#include <PsHashInternals.h>
Classes | |
| struct | GetKey |
Public Types | |
| typedef Pair< const Key, Value > | Entry |
| typedef HashBase< Entry, Key, HashFn, GetKey, Allocator, true > | BaseMap |
| typedef BaseMap::Iter | Iterator |
Public Member Functions | |
| HashMapBase (uint32_t initialTableSize, float loadFactor, const Allocator &alloc) | |
| HashMapBase (const Allocator &alloc) | |
| HashMapBase (uint32_t initialTableSize=64, float loadFactor=0.75f) | |
| bool | insert (const Keyk, const Valuev) |
| Value & | operator[] (const Key &k) |
| PX_INLINE const Entry * | find (const Key &k) const |
| PX_INLINE bool | erase (const Key &k) |
| PX_INLINE uint32_t | size () const |
| PX_INLINE uint32_t | capacity () const |
| PX_INLINE Iterator | getIterator () |
| PX_INLINE void | reserve (uint32_t size) |
| PX_INLINE void | clear () |
Protected Attributes | |
| BaseMap | mBase |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
class physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >
Member Typedef Documentation
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| typedef HashBase<Entry, Key, HashFn, GetKey, Allocator, true> physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::BaseMap |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| typedef Pair<const Key, Value> physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::Entry |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| typedef BaseMap::Iter physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::Iterator |
Reimplemented in physx::shdfnd::HashMap< Key, Value, HashFn, Allocator >.
Constructor & Destructor Documentation
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::HashMapBase | ( | uint32_t | initialTableSize, | |
| float | loadFactor, | |||
| const Allocator & | alloc | |||
| ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::HashMapBase | ( | const Allocator & | alloc | ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::HashMapBase | ( | uint32_t | initialTableSize = 64, |
|
| float | loadFactor = 0.75f | |||
| ) | [inline] |
Member Function Documentation
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE uint32_t physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::capacity | ( | ) | const [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE void physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::clear | ( | ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE bool physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::erase | ( | const Key & | k | ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE const Entry* physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::find | ( | const Key & | k | ) | const [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE Iterator physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::getIterator | ( | ) | [inline] |
Reimplemented in physx::shdfnd::HashMap< Key, Value, HashFn, Allocator >.
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| bool physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::insert | ( | const Key | k, | |
| const Value | v | |||
| ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| Value& physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::operator[] | ( | const Key & | k | ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE void physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::reserve | ( | uint32_t | size | ) | [inline] |
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
| PX_INLINE uint32_t physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::size | ( | ) | const [inline] |
Member Data Documentation
template<class Key, class Value, class HashFn, class Allocator = typename AllocatorTraits<Pair<const Key, Value> >::Type>
BaseMap physx::shdfnd::internal::HashMapBase< Key, Value, HashFn, Allocator >::mBase [protected] |
The documentation for this class was generated from the following file:
- E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/include/PsHashInternals.h
Generated on Tue Jul 28 14:22:03 2015 for NVIDIA(R) PsFoundation Reference by
1.5.8