TFindObjectReferencers

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

Choose your operating system:

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