TFindObjectReferencers

Inheritance Hierarchy

TMapBase

TSortableMapBase

TMultiMap

TFindObjectReferencers

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

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/Serialization/FindObjectReferencers.h