![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GCObjectInfo.h>
Public Member Functions | |
| FGCObjectInfo ()=default | |
| FGCObjectInfo (const UObject *Obj) | |
| COREUOBJECT_API UObject * | TryResolveObject () |
| FGCObjectInfo * | GetClass () const |
| FGCObjectInfo * | GetOuter () const |
| bool | IsIn (const FGCObjectInfo *MaybeOuter) const |
| bool | HasAnyFlags (EObjectFlags InFlags) const |
| bool | HasAnyInternalFlags (EInternalObjectFlags InFlags) const |
| bool | IsRooted () const |
| bool | IsNative () const |
| bool | IsGarbage () const |
| int32 | GetOwnerIndex () const |
| FString | GetClassName () const |
| int32 | GetRefCount () const |
| bool | IsValid () const |
| bool | IsDisregardForGC () const |
| COREUOBJECT_API void | GetPathName (FStringBuilderBase &ResultString) const |
| COREUOBJECT_API FString | GetPathName () const |
| COREUOBJECT_API FString | GetFullName () const |
Static Public Member Functions | |
| static COREUOBJECT_API FGCObjectInfo * | FindOrAddInfoHelper (const UObject *InObject, TMap< const UObject *, FGCObjectInfo * > &InOutObjectToInfoMap) |
Friends | |
| uint32 | GetTypeHash (const FGCObjectInfo &Info) |
Structure containing information about a UObject participating in Garbage Collection. It's purpose is to avoid holding onto direct references to UObjects which may have already been Garbage Collected. FGCObjectInfo interface mimics that of UObject.
|
default |
|
inlineexplicit |
|
static |
Helper function for adding info about an UObject into UObject to FGCObjectInfo map
|
inline |
|
inline |
| FString FGCObjectInfo::GetFullName | ( | ) | const |
|
inline |
|
inline |
| FString FGCObjectInfo::GetPathName | ( | ) | const |
| void FGCObjectInfo::GetPathName | ( | FStringBuilderBase & | ResultString | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| UObject * FGCObjectInfo::TryResolveObject | ( | ) |
Tries to find an existing object matching the stored Path.
|
friend |