PxBitMapBase
Defined in include/foundation/PxBitMap.h
Classes
Structs
-
template<class PxAllocator>
class PxBitMapBase : public PxUserAllocated Hold a bitmap with operations to set,reset or test given bit.
We inhibit copy to prevent unintentional copies. If a copy is desired copy() should be used or alternatively a copy constructor implemented.
Public Functions
-
inline PxBitMapBase(const PxAllocator &allocator)
-
inline PxBitMapBase()
-
inline ~PxBitMapBase()
-
inline void release()
-
inline PxAllocator &getAllocator()
-
inline void clear()
-
inline void setEmpty()
-
inline void copy(const PxBitMapBase &a)
-
template<class Combiner, class _>
inline void combineInPlace(const PxBitMapBase<_> &b)
-
template<class Combiner, class _1, class _2>
inline void combine(const PxBitMapBase<_1> &a, const PxBitMapBase<_2> &b)
-
inline void *operator new(size_t, void *address)
-
template<typename Alloc>
inline void *operator new(size_t size, Alloc alloc, const char *fileName, int line)
-
template<typename Alloc>
inline void *operator new(size_t size, size_t, Alloc alloc, const char *fileName, int line)
-
inline void operator delete(void*, void*)
-
template<typename Alloc>
inline void operator delete(void *ptr, Alloc alloc, const char *fileName, int line)
-
inline void operator delete(void *ptr)
-
template<typename Alloc>
inline void *operator new[](size_t size, Alloc alloc, const char *fileName, int line)
-
template<typename Alloc>
inline void *operator new[](size_t size, size_t, Alloc alloc, const char *fileName, int line)
-
template<typename Alloc>
inline void operator delete[](void *ptr, Alloc alloc, const char *fileName, int line)
-
inline void operator delete[](void *ptr)
Protected Functions
Friends
- friend class Iterator
-
struct AND
-
class Iterator
Iterate over indices in a bitmap
This iterator is good because it finds the set bit without looping over the cached bits upto 31 times. However it does require a variable shift.
-
struct OR
-
class PxCircularIterator
Public Functions
-
inline PxCircularIterator(const PxBitMapBase &map, PxU32 index)
-
inline PxCircularIterator(const PxBitMapBase &map, PxU32 index)
-
class PxLoopIterator
-
struct XOR
-
inline PxBitMapBase(const PxAllocator &allocator)