Navigation
API > API/Runtime > API/Runtime/Core
Untyped bit array type for accessing TBitArray data, like FScriptArray for TArray. Must have the same memory representation as a TBitArray.
| Name | TScriptBitArray |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include Path | #include "Containers/BitArray.h" |
Syntax
template<typename Allocator, typename InDerivedType>
class TScriptBitArray
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Minimal initialization constructor. | Containers/BitArray.h | ||
TScriptBitArray
(
const TScriptBitArray& |
These should really be private, because they shouldn't be called, but there's a bunch of code that needs to be fixed first. | Containers/BitArray.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AllocatorType | Allocator::template ForElementType< uint32 > | Containers/BitArray.h | |
| DerivedType | std::conditional_t< std::is_void_v< InDerivedType >, TScriptBitArray, InDerivedType > | Containers/BitArray.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatorInstance | AllocatorType | Containers/BitArray.h | ||
| MaxBits | int32 | Containers/BitArray.h | ||
| NumBits | int32 | Containers/BitArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Add
(
const bool Value |
Containers/BitArray.h | ||
void Empty
(
int32 Slack |
Containers/BitArray.h | ||
bool IsValidIndex
(
int32 Index |
Containers/BitArray.h | ||
void MoveAssign
(
DerivedType& Other |
Containers/BitArray.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CheckConstraints() |
This function isn't intended to be called, just to be compiled to validate the correctness of the type. | Containers/BitArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBitReference operator[]
(
int32 Index |
Containers/BitArray.h | ||
FConstBitReference operator[]
(
int32 Index |
Containers/BitArray.h | ||
void operator=
(
const TScriptBitArray& |
Containers/BitArray.h |