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 | ||
---|---|---|---|
|
const FConst... |
AccessCorrespondingBit ( |
|
|
FBitReferenc... |
AccessCorrespondingBit ( |
|
|
Add |
Adds multiple bits to the array with the given value. |
|
|
Add ( |
Adds a bit to the array with the given value. |
|
|
Contains ( |
||
|
CountBytes ( |
Tracks the container's memory use through an archive. |
|
|
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 |
|
|
const uint32... |
GetData() |
|
|
uint32 * |
GetData() |
|
|
Init |
Resets the array's contents. |
|
|
IsValidIndex ( |
Accessors. |
|
|
Num() |
||
|
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. |
|
|
WriteMemoryImage ( |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
const FConst... |
operator[] ( |
|
|
FBitReferenc... |
operator[] ( |
|
|
operator< ( |
||
|
operator= ( |
Assignment operator. |
|
|
operator= ( |
Move assignment. |
|
|
operator== ( |
Name |
Description |
|
---|---|---|
|
FConstIterator |
Const BitArray iterator. |
|
FConstReverseIterator |
Const reverse iterator. |
|
FIterator |
BitArray iterator. |
Name |
Description |
---|---|
AllocatorType |