FFixedUObjectArray

Fixed size [UObject](API\Runtime\CoreUObject\UObject\UObject) array.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h

Include

#include "UObject/UObjectArray.h"

Syntax

class FFixedUObjectArray

Remarks

Fixed size UObject array.

Constructors

Name Description

Public function

FFixedUObjectArray()

Destructors

Name Description

Public function

~FFixedUObjectArray()

Functions

Name Description

Public function

int32

 

AddRange

(
    int32 Count
)

Public function

int32

 

AddSingle()

Public function Const

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

Public function Const

FUObjectItem...

 

GetObjectPtr

(
    int32 Index
)

Public function

FUObjectItem...

 

GetObjectPtr

(
    int32 Index
)

Public function

UObjectBase ...

 

GetRootBlockForDebuggerVisualizers()

Return a naked pointer to the fundamental data structure for debug visualizers.

Public function Const

bool

 

IsValidIndex

(
    int32 Index
)

Return if this index is valid Thread safe, if it is valid now, it is valid forever.

Public function Const

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

Public function

void

 

PreAllocate

(
    int32 InMaxElements
)

Expands the array so that Element[Index] is allocated. New pointers are all zero.

Operators

Name Description

Public function Const

FUObjectItem...

 

operator[]

(
    int32 Index
)

Return a reference to an element

Public function

FUObjectItem...

 

operator[]

(
    int32 Index
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss