FReferenceFinder

[FReferenceFinder](API\Runtime\CoreUObject\UObject\FReferenceFinder).

Windows
MacOS
Linux

Inheritance Hierarchy

FReferenceCollector

FReferenceFinder

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Syntax

class FReferenceFinder : public FReferenceCollector

Remarks

FReferenceFinder. Helper class used to collect object references.

Variables

Name Description

Protected variable

bool

 

bRequireDirectOuter

Determines whether nested objects contained within LimitOuter are considered.

Protected variable

bool

 

bSerializeRecursively

Determines whether we should recursively look for references of the referenced objects.

Protected variable

bool

 

bShouldIgnoreArchetype

Determines whether archetype references are considered.

Protected variable

bool

 

bShouldIgnoreTransient

Determines whether transient references are considered.

Protected variable

UObject *

 

LimitOuter

Only objects within this outer will be considered, nullptr value indicates that outers are disregarded.

Protected variable

TArray< UObject...

 

ObjectArray

Stored reference to array of objects we add object references to.

Protected variable

TSet< const UOb...

 

SerializedObjects

List of objects that have been recursively serialized.

Protected variable

FProperty *

 

SerializedProperty

Property that is referencing the current object

Constructors

Name Description

Public function

FReferenceFinder

(
    TArray< UObject* >& InObjectA...,
    UObject* InOuter,
    bool bInRequireDirectOuter,
    bool bInShouldIgnoreArchetype,
    bool bInSerializeRecursively,
    bool bInShouldIgnoreTransient
)

Constructor

Functions

Name Description

Public function Virtual

void

 

FindReferences

(
    UObject* Object,
    UObject* ReferencingObject,
    FProperty* ReferencingProperty
)

Finds all objects referenced by Object.

Overridden from FReferenceCollector

Name Description

Public function Virtual Const

FProperty &#...

 

GetSerializedProperty()

Gets the property that is currently being serialized

Public function Virtual

void

 

HandleObjectReference

(
    UObject*& InObject,
    const UObject* InReferencingOb...,
    const FProperty* InReferencing...
)

Handle object reference. Called by AddReferencedObject.

Public function Virtual Const

bool

 

IsIgnoringArchetypeRef()

If true archetype references should not be added to this collector.

Public function Virtual Const

bool

 

IsIgnoringTransient()

If true transient objects should not be added to this collector.

Public function Virtual

void

 

SetSerializedProperty

(
    FProperty* Inproperty
)

Sets the property that is currently being serialized

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