Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > GeometryCollection
Inheritance Hierarchy
- FNoncopyable
- FManagedArrayBase
- TManagedArrayBase
- TManagedArray
- TManagedArray< FIntVector >
- TManagedArray< FIntVector2 >
- TManagedArray< FIntVector4 >
- TManagedArray< int32 >
- TManagedArray< TArray< FIntVector2 > >
- TManagedArray< TArray< int32 > >
- TManagedArray< TSet< int32 > >
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/ManagedArray.h |
Include | #include "GeometryCollection/ManagedArray.h" |
Syntax
template<class InElementType>
class TManagedArrayBase : public FManagedArrayBase
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor (default) Build an empty shared array | ||
![]() |
TManagedArrayBase
(
const TArray< ElementType >& Other |
Constructor (TArray) | |
![]() |
TManagedArrayBase
(
const TManagedArrayBase< ElementType >& Other |
Copy Constructor (default) | |
![]() |
TManagedArrayBase
(
TManagedArrayBase< ElementType >&& Other |
Move Constructor | |
![]() |
TManagedArrayBase
(
TArray< ElementType >&& Other |
Constructor (default) Build an empty shared array |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
RangedForConstIteratorType | begin () |
|
![]() |
RangedForIteratorType | begin () |
DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support. |
![]() ![]() |
bool | Contains
(
const ElementType& Item |
|
![]() ![]() |
int32 | Count
(
const ElementType& Item |
Count the number of entries match `Item_. |
![]() ![]() |
RangedForConstIteratorType | end () |
|
![]() |
RangedForIteratorType | end () |
|
![]() |
void | Fill
(
const ElementType& Value |
Fill the array with `Value_. |
![]() ![]() |
int32 | Find
(
const ElementType& Item |
Find first index of the element |
![]() ![]() |
const TArray< ElementType > & | ||
![]() |
const TArray< ElementType > & | Helper function for returning the internal const array | |
![]() ![]() |
const ElementType * | GetData () |
Helper function for returning a typed pointer to the first array entry. |
![]() |
ElementType * | GetData () |
Helper function for returning a typed pointer to the first array entry. |
![]() ![]() |
bool | IsValidIndex
(
int32 Index |
Return true if index is in array range. |
![]() ![]() |
void | RangeCheck
(
int32 Index |
Checks if index is in array range. |
Overridden from FManagedArrayBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CopyRange
(
const FManagedArrayBase& ConstArray, |
Copy from a predefined Array of matching type |
![]() ![]() |
void | ExchangeArrays
(
FManagedArrayBase& Src |
Perform a memory move between the two arrays |
![]() ![]() ![]() |
SIZE_T | Get allocated memory | |
![]() ![]() ![]() |
size_t | GetTypeSize () |
Helper function returning the size of the inner type. |
![]() ![]() |
void | Init
(
const FManagedArrayBase& NewArray |
Init from a predefined Array of matching type |
![]() ![]() ![]() |
int32 | Max () |
The reserved length of the array. |
![]() ![]() ![]() |
int32 | Num () |
Returning the size of the array |
![]() ![]() |
void | RemoveElements
(
const TArray< int32 >& SortedDeletionList |
Remove elements |
![]() ![]() |
void | Serialize
(
Chaos::FChaosArchive& Ar |
Serialization Support |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
ElementType & | operator[]
(
int Index |
Returning a reference to the element at index. |
![]() ![]() |
const ElementType & | operator[]
(
int Index |
|
![]() |
TManagedArrayBase & | operator=
(
TManagedArrayBase< ElementType >&& Other |
Assignment operator |
![]() |
TManagedArrayBase & | operator=
(
TArray< ElementType >&& Other |
Typedefs
Name | Description |
---|---|
ElementType | |
RangedForConstIteratorType | |
RangedForIteratorType |