Navigation
API > API/Runtime > API/Runtime/CoreUObject
A constant bitset container that extends TBitArray<> with additional utilities. Used for operations such as bitwise checks and hashing
| Name | FConstBitSetContainer |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/StructTypeBitSet.h |
| Include Path | #include "StructUtils/StructTypeBitSet.h" |
Syntax
struct FConstBitSetContainer : public TBitArray<>
Inheritance Hierarchy
- TBitArray → FConstBitSetContainer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| 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 |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | TBitArray<> | StructUtils/StructTypeBitSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
const int32 Index |
Checks if a specific bit is set in the bitset | StructUtils/StructTypeBitSet.h | |
int32 CountStoredTypes() |
Counts the number of set bits in the bitset | StructUtils/StructTypeBitSet.h | |
bool HasAll
(
const TBitArray<>& Other |
Checks if all bits set in the Other bit array are also set in this bitset | StructUtils/StructTypeBitSet.h | |
bool HasAny
(
const TBitArray<>& Other |
Checks if any bits in the Other bit array are also set in this bitset | StructUtils/StructTypeBitSet.h | |
bool IsEmpty() |
StructUtils/StructTypeBitSet.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FConstBitSetContainer& Other |
Compares two bitsets for equality | StructUtils/StructTypeBitSet.h |