Navigation
API > API/Runtime > API/Runtime/CoreUObject
A mutable extension of FConstBitSetContainer, adding methods for modifying bits
| Name | FBitSetContainer |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/StructTypeBitSet.h |
| Include Path | #include "StructUtils/StructTypeBitSet.h" |
Syntax
struct FBitSetContainer : public FStructTypeBitSet::FConstBitSetContainer
Inheritance Hierarchy
- TBitArray → FConstBitSetContainer → FBitSetContainer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| StructUtils/StructTypeBitSet.h | |||
FBitSetContainer
(
const TBitArray<>& Source |
StructUtils/StructTypeBitSet.h | ||
FBitSetContainer
(
TBitArray<>&& Source |
StructUtils/StructTypeBitSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAtIndex
(
const int32 Index |
Adds a bit at the specified index | StructUtils/StructTypeBitSet.h | |
| StructUtils/StructTypeBitSet.h | |||
FConstBitSetContainer
(
const TBitArray<>& Source |
Copy-constructor for creating a bitset from another bit array | StructUtils/StructTypeBitSet.h | |
FConstBitSetContainer
(
TBitArray<>&& Source |
Move-constructor for creating a bitset from another bit array | StructUtils/StructTypeBitSet.h | |
void RemoveAtIndex
(
const int32 Index |
Removes a bit at the specified index | StructUtils/StructTypeBitSet.h | |
void SetAll
(
const bool bValue, |
Initializes the bitset to a specified size and value | StructUtils/StructTypeBitSet.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetBitNoCheck
(
const int32 Index, |
Directly sets a bit without boundary checks for improved performance. | StructUtils/StructTypeBitSet.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBitSetContainer & operator=
(
const TBitArray<>& Other |
StructUtils/StructTypeBitSet.h | ||
void operator-=
(
const TBitArray<>& Other |
Removes bits set in the Other bit array from this bitset | StructUtils/StructTypeBitSet.h |