TScriptBitArray

Untyped bit array type for accessing [TBitArray](API\Runtime\Core\Containers\TBitArray) data, like [FScriptArray](API\Runtime\Core\Containers\FScriptArray) for [TArray](API\Runtime\Core\Containers\TArray).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TScriptBitArray

FScriptBitArray

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/BitArray.h

Include

#include "Containers/BitArray.h"

Syntax

template<typename Allocator, typename InDerivedType>
class TScriptBitArray

Remarks

Untyped bit array type for accessing TBitArray data, like FScriptArray for TArray. Must have the same memory representation as a TBitArray.

Constructors

Name Description

Public function

TScriptBitArray()

Minimal initialization constructor.

Public function

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.

Functions

Name Description

Public function

int32

 

Add

(
    const bool Value
)

Public function

void

 

Empty

(
    int32 Slack
)

Public function Const

bool

 

IsValidIndex

(
    int32 Index
)

Public function

void

 

MoveAssign

(
    DerivedType& Other
)

Operators

Name Description

Public function

FBitReferenc...

 

operator[]

(
    int32 Index
)

Public function Const

FConstBitRef...

 

operator[]

(
    int32 Index
)

Public function

void

 

operator=

(
    const TScriptBitArray&
)

Typedefs

Name

Description

AllocatorType

DerivedType