| TBitArray
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
Include |
#include "Containers/BitArray.h" |
template<typename Allocator>
class TBitArray
A dynamically sized bit array. An array of Booleans. They stored in one bit/Boolean. There are iterators that efficiently iterate over only set bits.
Name | Description | ||
---|---|---|---|
|
FBitReferenc... |
AccessCorrespondingBit ( |
|
|
const FConst... |
AccessCorrespondingBit ( |
|
|
Add ( |
Adds a bit to the array with the given value. |
|
|
Add |
Adds multiple bits to the array with the given value. |
|
|
AddRange |
Adds multiple bits read from the given pointer. |
|
|
AddRange |
Adds multiple bits read from the given BitArray. |
|
|
AddUninitialized ( |
Inserts space for multiple bits at the end of the array. |
|
|
BitwiseAND ( |
Return the bitwise AND of two bit arrays. |
|
|
BitwiseNOT() |
Perform a bitwise NOT on all the bits in this array |
|
|
BitwiseOR ( |
Return the bitwise OR of two bit arrays. |
|
|
BitwiseXOR ( |
Return the bitwise XOR of two bit arrays. |
|
|
CheckInvariants() |
Checks the invariants of this class |
|
|
CombineWithBitwiseAND ( |
Perform a bitwise AND on this bit array with another. |
|
|
CombineWithBitwiseOR ( |
Return the bitwise OR of two bit arrays. |
|
|
CombineWithBitwiseXOR ( |
Return the bitwise XOR of two bit arrays. |
|
|
CompareSetBits |
Returns true if Other contains all the same set bits as this, accounting for differences in length. |
|
|
Contains ( |
||
|
CountBytes ( |
Tracks the container's memory use through an archive. |
|
|
CountSetBits |
Count the number of set bits in this array FromIndex <= bit < ToIndex |
|
|
Empty ( |
Removes all bits from the array, potentially leaving space allocated for an expected number of bits about to be added. |
|
|
Find ( |
Finds the first true/false bit in the array, and returns the bit index. |
|
|
FindAndSetFirstZeroBit ( |
Finds the first zero bit in the array, sets it to true, and returns the bit index. |
|
|
FindAndSetLastZeroBit() |
Finds the last zero bit in the array, sets it to true, and returns the bit index. |
|
|
FindLast ( |
Finds the last true/false bit in the array, and returns the bit index. |
|
|
GetAllocatedSize() |
Helper function to return the amount of memory allocated by this container |
|
|
uint32 * |
GetData() |
|
|
const uint32... |
GetData() |
|
|
GetRange |
Reads a range of bits within the array and writes them to the given pointer. |
|
|
Init |
Resets the array's contents. |
|
|
Insert |
Inserts multiple bits with the given value into the array, starting at the given Index. |
|
|
Insert |
Adds a bit with the given value at the given index in the array. |
|
|
InsertRange |
Inserts multiple bits read from the given BitArray into the array, starting at the given index. |
|
|
InsertRange |
Inserts multiple bits read from the given pointer, starting at the given index. |
|
|
InsertUninitialized |
Inserts space for multiple bits into the array, starting at the given index. |
|
|
IsValidIndex ( |
Accessors. |
|
|
Max() |
||
|
Num() |
||
|
PadToNum |
Pad this bit array with the specified value to ensure that it is at least the specified length. |
|
|
RemoveAt |
Removes bits from the array. |
|
|
RemoveAtSwap |
Removes bits from the array by swapping them with bits at the end of the array. |
|
|
Reserve ( |
Reserves memory such that the array can contain at least Number bits. |
|
|
Reset() |
Removes all bits from the array retaining any space already allocated. |
|
|
SetNumUninitialized ( |
Sets number of bits without initializing new bits. |
|
|
SetRange |
Sets or unsets a range of bits within the array. |
|
|
SetRangeFromRange |
Sets range of bits within the TBitArray to the values read out of a pointer. |
|
|
SetRangeFromRange |
Sets range of bits within this TBitArray to the values read out another TBitArray. |
|
|
WriteMemoryImage ( |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
const FConst... |
operator[] ( |
|
|
FBitReferenc... |
operator[] ( |
|
|
operator< ( |
||
|
operator= ( |
Assignment operator. |
|
|
operator= ( |
Move assignment. |
|
|
operator= ( |
||
|
operator== ( |
Name |
Description |
|
---|---|---|
|
FConstIterator |
Const BitArray iterator. |
|
FConstReverseIterator |
Const reverse iterator. |
|
FIterator |
BitArray iterator. |
Name |
Description |
---|---|
AllocatorType |
|
WordType |
Name |
Description |
---|---|
FullWordMask |