physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced > Class Template Reference
#include <PsHashInternals.h>
Classes | |
| struct | GetKey |
Public Types | |
| typedef HashBase< Key, Key, HashFn, GetKey, Allocator, Coalesced > | BaseMap |
| typedef BaseMap::Iter | Iterator |
Public Member Functions | |
| HashSetBase (uint32_t initialTableSize, float loadFactor, const Allocator &alloc) | |
| HashSetBase (const Allocator &alloc) | |
| HashSetBase (uint32_t initialTableSize=64, float loadFactor=0.75f) | |
| bool | insert (const Key &k) |
| PX_INLINE bool | contains (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 void | reserve (uint32_t size) |
| PX_INLINE void | clear () |
Protected Attributes | |
| BaseMap | mBase |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
class physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >
Member Typedef Documentation
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| typedef HashBase<Key, Key, HashFn, GetKey, Allocator, Coalesced> physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::BaseMap |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| typedef BaseMap::Iter physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::Iterator |
Reimplemented in physx::shdfnd::HashSet< Key, HashFn, Allocator >.
Constructor & Destructor Documentation
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::HashSetBase | ( | uint32_t | initialTableSize, | |
| float | loadFactor, | |||
| const Allocator & | alloc | |||
| ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::HashSetBase | ( | const Allocator & | alloc | ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::HashSetBase | ( | uint32_t | initialTableSize = 64, |
|
| float | loadFactor = 0.75f | |||
| ) | [inline] |
Member Function Documentation
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE uint32_t physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::capacity | ( | ) | const [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE void physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::clear | ( | ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE bool physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::contains | ( | const Key & | k | ) | const [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE bool physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::erase | ( | const Key & | k | ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| bool physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::insert | ( | const Key & | k | ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE void physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::reserve | ( | uint32_t | size | ) | [inline] |
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
| PX_INLINE uint32_t physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::size | ( | ) | const [inline] |
Member Data Documentation
template<class Key, class HashFn, class Allocator = typename AllocatorTraits<Key>::Type, bool Coalesced = false>
BaseMap physx::shdfnd::internal::HashSetBase< Key, HashFn, Allocator, Coalesced >::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:02 2015 for NVIDIA(R) PsFoundation Reference by
1.5.8