![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectArray.h>
Public Member Functions | |
| FChunkedFixedUObjectArray () | |
| ~FChunkedFixedUObjectArray () | |
| void | PreAllocate (int32 InMaxElements, bool bPreAllocateChunks) |
| UE_FORCEINLINE_HINT int32 | Num () const |
| UE_FORCEINLINE_HINT int32 | Capacity () const |
| UE_FORCEINLINE_HINT bool | IsValidIndex (int32 Index) const |
| FUObjectItem const * | GetObjectPtr (int32 Index) const |
| FUObjectItem * | GetObjectPtr (int32 Index) |
| void | PrefetchObjectPtr (int32 Index) const |
| FUObjectItem const & | operator[] (int32 Index) const |
| FUObjectItem & | operator[] (int32 Index) |
| int32 | AddRange (int32 NumToAdd) |
| int32 | AddSingle () |
| FUObjectItem *** | GetRootBlockForDebuggerVisualizers () |
| int64 | GetAllocatedSize () const |
Simple array type that can be expanded without invalidating existing entries. This is critical to thread safe FNames.
| ElementType | Type of the pointer we are storing in the array |
| MaxTotalElements | absolute maximum number of elements this array can ever hold |
| ElementsPerChunk | how many elements to allocate in a chunk |
|
inline |
Constructor : Probably not thread safe
|
inline |
|
inline |
|
inline |
Return the number max capacity of the array Thread safe, but you know, someone might have added more elements before this even returns
|
inline |
|
inline |
|
inline |
Return a pointer to the pointer to a given element
| Index | The Index of an element we want to retrieve the pointer-to-pointer for |
|
inline |
Return a naked pointer to the fundamental data structure for debug visualizers.
|
inline |
Return if this index is valid Thread safe, if it is valid now, it is valid forever. Other threads might be adding during this call.
| Index | Index to test |
|
inline |
Return the number of elements in the array Thread safe, but you know, someone might have added more elements before this even returns
|
inline |
|
inline |
Return a reference to an element
| Index | Index to return |
Expands the array so that Element[Index] is allocated. New pointers are all zero.
| Index | The Index of an element we want to be sure is allocated |