Navigation
API > API/Runtime > API/Runtime/CoreUObject
Fixed size UObject array.
| Name | FFixedUObjectArray |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h |
| Include Path | #include "UObject/UObjectArray.h" |
Syntax
class FFixedUObjectArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFixedUObjectArray() |
UObject/UObjectArray.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FFixedUObjectArray() |
UObject/UObjectArray.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxElements | int32 | Number of elements we currently have | UObject/UObjectArray.h | |
| NumElements | int32 | Current number of UObject slots | UObject/UObjectArray.h | |
| Objects | FUObjectItem * | Static primary table to chunks of pointers | UObject/UObjectArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddRange
(
int32 Count |
UObject/UObjectArray.h | ||
int32 AddSingle() |
UObject/UObjectArray.h | ||
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 | UObject/UObjectArray.h | |
FUObjectItem const * GetObjectPtr
(
int32 Index |
UObject/UObjectArray.h | ||
FUObjectItem * GetObjectPtr
(
int32 Index |
UObject/UObjectArray.h | ||
UObjectBase *** GetRootBlockForDebuggerVisualizers() |
Return a naked pointer to the fundamental data structure for debug visualizers. | UObject/UObjectArray.h | |
bool IsValidIndex
(
int32 Index |
Return if this index is valid Thread safe, if it is valid now, it is valid forever. | UObject/UObjectArray.h | |
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 | UObject/UObjectArray.h | |
void PreAllocate
(
int32 InMaxElements |
Expands the array so that Element[Index] is allocated. New pointers are all zero. | UObject/UObjectArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUObjectItem const & operator[]
(
int32 Index |
Return a reference to an element | UObject/UObjectArray.h | |
FUObjectItem & operator[]
(
int32 Index |
UObject/UObjectArray.h |