Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h |
Include | #include "UObject/UObjectArray.h" |
Syntax
class FChunkedFixedUObjectArray
Remarks
Simple array type that can be expanded without invalidating existing entries. This is critical to thread safe FNames.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor : Probably not thread safe |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddRange
(
int32 NumToAdd |
|
![]() |
int32 | AddSingle () |
|
![]() ![]() |
int32 | Capacity () |
Return the number max capacity of the array Thread safe, but you know, someone might have added more elements before this even returns |
![]() ![]() |
int64 | ||
![]() ![]() |
FUObjectItem const * | GetObjectPtr
(
int32 Index |
Return a pointer to the pointer to a given element |
![]() |
FUObjectItem * | GetObjectPtr
(
int32 Index |
|
![]() |
FUObjectItem *** | Return a naked pointer to the fundamental data structure for debug visualizers. | |
![]() ![]() |
bool | IsValidIndex
(
int32 Index |
Return if this index is valid Thread safe, if it is valid now, it is valid forever. |
![]() ![]() |
int32 | Num () |
Return the number of elements in the array Thread safe, but you know, someone might have added more elements before this even returns |
![]() |
void | PreAllocate
(
int32 InMaxElements, |
Expands the array so that Element[Index] is allocated. |
![]() ![]() |
void | PrefetchObjectPtr
(
int32 Index |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FUObjectItem const & | operator[]
(
int32 Index |
Return a reference to an element |
![]() |
FUObjectItem & | operator[]
(
int32 Index |
Constants
Name | Description |
---|---|
NumElementsPerChunk |