Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FManagedBitArrayBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/ManagedArray.h |
| Include Path | #include "GeometryCollection/ManagedArray.h" |
Syntax
class FManagedBitArrayBase : public FManagedArrayBase
Inheritance Hierarchy
- FNoncopyable → FManagedArrayBase → FManagedBitArrayBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FManagedBitArrayBase
(
const FManagedBitArrayBase& Other |
GeometryCollection/ManagedArray.h | ||
FManagedBitArrayBase
(
FManagedBitArrayBase&& Other |
GeometryCollection/ManagedArray.h | ||
| GeometryCollection/ManagedArray.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FManagedBitArrayBase() |
GeometryCollection/ManagedArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
const bool Item |
GeometryCollection/ManagedArray.h | ||
int32 Count
(
const bool Item |
Count the number of entries match `Item_. | GeometryCollection/ManagedArray.h | |
void Fill
(
const bool Value |
Fill the array with `Value_. | GeometryCollection/ManagedArray.h | |
| GeometryCollection/ManagedArray.h | |||
int32 Find
(
const bool Item |
Find first index of the element | GeometryCollection/ManagedArray.h | |
TArray< bool > GetAsBoolArray() |
Helper function to convert the bitArray to a bool array this is creating a new array and copy convert each bit to a bool | GeometryCollection/ManagedArray.h | |
const TBitArray & GetConstArray () |
GeometryCollection/ManagedArray.h | ||
const TBitArray & GetConstArray () |
Helper function for returning the internal const array | GeometryCollection/ManagedArray.h | |
bool IsValidIndex
(
int32 Index |
Return true if index is in array range. | GeometryCollection/ManagedArray.h | |
void RangeCheck
(
int32 Index |
Checks if index is in array range. | GeometryCollection/ManagedArray.h |
Overridden from FManagedArrayBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CopyRange
(
const FManagedArrayBase& ConstArray, |
Copy from a predefined Array of matching type | GeometryCollection/ManagedArray.h | |
virtual void ExchangeArrays
(
FManagedArrayBase& Src |
Perform a memory move between the two arrays | GeometryCollection/ManagedArray.h | |
virtual SIZE_T GetAllocatedSize() |
Get allocated memory | GeometryCollection/ManagedArray.h | |
virtual size_t GetTypeSize () |
FORCEINLINE ElementType* GetData() | GeometryCollection/ManagedArray.h | |
virtual void Init
(
const FManagedArrayBase& NewArray |
Init from a predefined Array of matching type | GeometryCollection/ManagedArray.h | |
virtual int32 Max() |
The reserved length of the array. | GeometryCollection/ManagedArray.h | |
virtual int32 Num() |
Returning the size of the array | GeometryCollection/ManagedArray.h | |
virtual void RemoveElements
(
const TArray< int32 >& SortedDeletionList |
Remove elements | GeometryCollection/ManagedArray.h | |
virtual void Serialize
(
Chaos::FChaosArchive& Ar |
Serialization Support | GeometryCollection/ManagedArray.h |
Protected
Overridden from FManagedArrayBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Empty() |
Protected clear to prevent external clearing of the array | GeometryCollection/ManagedArray.h | |
virtual void Reorder
(
const TArray< int32 >& NewOrder |
Reorder elements given a new ordering. Sizes must match | GeometryCollection/ManagedArray.h | |
virtual void Reserve
(
const int32 Size |
Protected Reserve to prevent external reservation of the array | GeometryCollection/ManagedArray.h | |
virtual void Resize
(
const int32 Size |
Protected Resize to prevent external resizing of the array | GeometryCollection/ManagedArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FConstBitReference operator[]
(
int Index |
GeometryCollection/ManagedArray.h | ||
FBitReference operator[]
(
int Index |
Returning a reference to the element at index. | GeometryCollection/ManagedArray.h | |
FManagedBitArrayBase & operator=
(
TBitArray<>&& Other |
GeometryCollection/ManagedArray.h | ||
FManagedBitArrayBase & operator=
(
FManagedBitArrayBase&& Other |
GeometryCollection/ManagedArray.h |