engine
 
载入中...
搜索中...
未找到
所有成员列表
TRDGHandleBitArray< HandleType > 模板类 参考

Specialization of bit array with compile-time type checking for handles and a pre-configured allocator. 更多...

#include <RenderGraphDefinitions.h>

+ 类 TRDGHandleBitArray< HandleType > 继承关系图:

额外继承的成员函数

- Public 成员函数 继承自 TBitArray< SceneRenderingBitArrayAllocator >
int32 Add (const bool Value)
 Adds a bit to the array with the given value. 更多...
 
int32 Add (const bool Value, int32 NumBitsToAdd)
 Adds multiple bits to the array with the given value. 更多...
 
int32 AddRange (const InWordType *ReadBits, int32 NumBitsToAdd, int32 ReadOffsetBits=0)
 Adds multiple bits read from the given pointer. 更多...
 
int32 AddRange (const TBitArray< OtherAllocator > &ReadBits, int32 NumBitsToAdd, int32 ReadOffsetBits=0)
 Adds multiple bits read from the given BitArray. 更多...
 
int32 AddUninitialized (int32 NumBitsToAdd)
 Inserts space for multiple bits at the end of the array. 更多...
 
void BitwiseNOT ()
 Perform a bitwise NOT on all the bits in this array
 
void CheckInvariants () const
 Checks the invariants of this class
 
TBitArray & CombineWithBitwiseAND (const TBitArray &InOther, EBitwiseOperatorFlags InFlags)
 Perform a bitwise AND on this bit array with another. 更多...
 
TBitArray & CombineWithBitwiseOR (const TBitArray &InOther, EBitwiseOperatorFlags InFlags)
 Return the bitwise OR of two bit arrays. 更多...
 
TBitArray & CombineWithBitwiseXOR (const TBitArray &InOther, EBitwiseOperatorFlags InFlags)
 Return the bitwise XOR of two bit arrays. 更多...
 
bool CompareSetBits (const TBitArray &Other, const bool bMissingBitValue) const
 Returns true if Other contains all the same set bits as this, accounting for differences in length. 更多...
 
void CountBytes (FArchive &Ar) const
 Tracks the container's memory use through an archive.
 
int32 CountSetBits (int32 FromIndex=0, int32 ToIndex=INDEX_NONE) const
 Count the number of set bits in this array FromIndex <= bit < ToIndex
 
void Empty (int32 ExpectedNumBits=0)
 Removes all bits from the array, potentially leaving space allocated for an expected number of bits about to be added. 更多...
 
int32 Find (bool bValue) const
 Finds the first true/false bit in the array, and returns the bit index. 更多...
 
int32 FindAndSetFirstZeroBit (int32 ConservativeStartIndex=0)
 Finds the first zero bit in the array, sets it to true, and returns the bit index. 更多...
 
int32 FindAndSetLastZeroBit ()
 Finds the last zero bit in the array, sets it to true, and returns the bit index. 更多...
 
int32 FindLast (bool bValue) const
 Finds the last true/false bit in the array, and returns the bit index. 更多...
 
uint32 GetAllocatedSize (void) const
 Helper function to return the amount of memory allocated by this container 更多...
 
FORCEINLINE void GetRange (int32 Index, int32 NumBitsToGet, InWordType *WriteBits, int32 WriteOffsetBits=0) const
 Reads a range of bits within the array and writes them to the given pointer. 更多...
 
FORCEINLINE void Init (bool bValue, int32 InNumBits)
 Resets the array's contents. 更多...
 
void Insert (bool Value, int32 Index)
 Adds a bit with the given value at the given index in the array. 更多...
 
void Insert (bool Value, int32 Index, int32 NumBitsToAdd)
 Inserts multiple bits with the given value into the array, starting at the given Index. 更多...
 
void InsertRange (const InWordType *ReadBits, int32 Index, int32 NumBitsToAdd, int32 ReadOffsetBits=0)
 Inserts multiple bits read from the given pointer, starting at the given index. 更多...
 
void InsertRange (const TBitArray< OtherAllocator > &ReadBits, int32 Index, int32 NumBitsToAdd, int32 ReadOffsetBits=0)
 Inserts multiple bits read from the given BitArray into the array, starting at the given index. 更多...
 
void InsertUninitialized (int32 Index, int32 NumBitsToAdd)
 Inserts space for multiple bits into the array, starting at the given index. 更多...
 
FORCEINLINE TBitArray & operator= (const TBitArray &Copy)
 Assignment operator.
 
FORCEINLINE TBitArray & operator= (TBitArray &&Other)
 Move assignment.
 
int32 PadToNum (int32 DesiredNum, bool bPadValue)
 Pad this bit array with the specified value to ensure that it is at least the specified length. 更多...
 
void RemoveAt (int32 BaseIndex, int32 NumBitsToRemove=1)
 Removes bits from the array. 更多...
 
void Reserve (int32 Number)
 Reserves memory such that the array can contain at least Number bits. 更多...
 
void Reset ()
 Removes all bits from the array retaining any space already allocated.
 
void SetNumUninitialized (int32 InNumBits)
 Sets number of bits without initializing new bits.
 
FORCENOINLINE void SetRange (int32 Index, int32 NumBitsToSet, bool Value)
 Sets or unsets a range of bits within the array. 更多...
 
void SetRangeFromRange (int32 Index, int32 NumBitsToSet, const InWordType *ReadBits, int32 ReadOffsetBits=0)
 Sets range of bits within the TBitArray to the values read out of a pointer. 更多...
 
FORCEINLINE void SetRangeFromRange (int32 Index, int32 NumBitsToSet, const TBitArray< OtherAllocator > &ReadBits, int32 ReadOffsetBits=0)
 Sets range of bits within this TBitArray to the values read out another TBitArray. 更多...
 
FORCEINLINE TBitArray (bool bValue, int32 InNumBits)
 Minimal initialization constructor. 更多...
 
FORCEINLINE TBitArray (const TBitArray &Copy)
 Copy constructor.
 
FORCEINLINE TBitArray (TBitArray &&Other)
 Move constructor.
 
- 静态 Public 成员函数 继承自 TBitArray< SceneRenderingBitArrayAllocator >
static TBitArray BitwiseAND (const TBitArray &A, const TBitArray &B, EBitwiseOperatorFlags InFlags)
 Return the bitwise AND of two bit arrays. 更多...
 
static TBitArray BitwiseOR (const TBitArray &A, const TBitArray &B, EBitwiseOperatorFlags InFlags)
 Return the bitwise OR of two bit arrays. 更多...
 
static TBitArray BitwiseXOR (const TBitArray &A, const TBitArray &B, EBitwiseOperatorFlags InFlags)
 Return the bitwise XOR of two bit arrays. 更多...
 

详细描述

template<typename HandleType>
class TRDGHandleBitArray< HandleType >

Specialization of bit array with compile-time type checking for handles and a pre-configured allocator.


该类的文档由以下文件生成: