TFindObjectReferencers

This class is used to find which objects reference any element from a list of "TargetObjects".

Windows
MacOS
Linux

Inheritance Hierarchy

TMapBase

TSortableMapBase

TMultiMap

TFindObjectReferencers

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/FindObjectReferencers.h

Include

#include "Serialization/FindObjectReferencers.h"

Syntax

template<class T>
class TFindObjectReferencers : public TMultiMap< T , UObject >

Remarks

This class is used to find which objects reference any element from a list of "TargetObjects". When invoked, it will generate a mapping of each target object to an array of objects referencing that target object.

Each key corresponds to an element of the input TargetObjects array which was referenced by some other object. The values for these keys are the objects which are referencing them.

Constructors

Name Description

Public function

TFindObjectReferencers

(
    TArray< T* > TargetObjects,
    UPackage* PackageToCheck,
    bool bIgnoreTemplates,
    bool bFindAlsoWeakReferences
)

Default constructor

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