PxHashSetBase

Defined in include/foundation/PxHashInternals.h

template<class Key, class HashFn, class PxAllocator = typename PxAllocatorTraits<Key>::Type, bool Coalesced = false>
class PxHashSetBase

Public Types

typedef PxHashBase<Key, Key, HashFn, GetKey, PxAllocator, Coalesced> BaseMap
typedef BaseMap::Iter Iterator

Public Functions

inline PxHashSetBase(uint32_t initialTableSize, float loadFactor, const PxAllocator &alloc)
inline PxHashSetBase(const PxAllocator &alloc)
inline PxHashSetBase(uint32_t initialTableSize = 64, float loadFactor = 0.75f)
inline bool insert(const Key &k)
inline bool contains(const Key &k) const
inline bool erase(const Key &k)
inline uint32_t size() const
inline uint32_t capacity() const
inline void reserve(uint32_t size)
inline void clear()

Protected Attributes

BaseMap mBase
struct GetKey

Public Functions

inline const Key &operator()(const Key &e)