TStaticBitArray

Syntax

template<uint32 NumBits>
class TStaticBitArray

Remarks

A statically sized bit array.

Constructors

Name Description

Public function

TStaticBitArray()

Minimal initialization constructor

Public function

TStaticBitArray

(
    UnspecifiedZeroType
)

Constructor that allows initializing by assignment from 0

Public function

TStaticBitArray

(
    const FString & Str
)

Constructor to initialize from string

Public function

TStaticBitArray

(
    bool,
    uint32 InBitIndex
)

Constructor to initialize to a single bit

Functions

Name Description

Public function Const

int32

 

FindFirstClearBit()

Finds the first clear bit in the array and returns the bit index.

Public function Const

int32

 

FindFirstSetBit()

Finds the first set bit in the array and returns it's index.

Public function Static

int32

 

Num()

Accessors.

Public function Const

FString

 

ToString()

Converts the bitarray to a string representing the binary representation of the array

Operators

Name Description

Public function Const

 

operator UnspecifiedBoolType()

Conversion to bool.

Public function

TStaticBitAr ...

 

operator&=

(
    const TStaticBitArray & Other
)

Public function

TStaticBitRe ...

 

operator[]

(
    int32 Index
)

Public function Const

const TConst ...

 

operator[]

(
    int32 Index
)

Public function

TStaticBitAr ...

 

operator^=

(
    const TStaticBitArray & Other
)

Public function

TStaticBitAr ...

 

operator|=

(
    const TStaticBitArray & Other
)

Modifiers.

Typedefs

Constants

Name

Description

NumBitsPerWord

Static_assert(NumBits > 0, "Must have at least 1 bit.");

NumOfBits

NumWords

References

Module

Core

Header

Runtime/Core/Public/Containers/StaticBitArray.h