FFindReferencersArchive

Archive for mapping out the referencers of a collection of objects.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FArchiveState

FArchive

FArchiveUObject

FFindReferencersArchive

References

Module

CoreUObject

Header

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

Include

#include "Serialization/FindReferencersArchive.h"

Syntax

class FFindReferencersArchive : public FArchiveUObject

Remarks

Archive for mapping out the referencers of a collection of objects.

Variables

Name Description

Protected variable

UObject *

 

PotentialReferencer

The potential referencer we ignore

Protected variable

TMultiMap< clas...

 

ReferenceMap

A mapping of target object => the properties in PotentialReferencer that hold the reference to target object

Protected variable

FTargetObjectCo...

 

TargetObjects

Constructors

Name Description

Public function

FFindReferencersArchive

(
    UObject* PotentialReferencer,
    const TArray< class UObject* >...,
    bool bFindAlsoWeakReferences
)

Constructor

Functions

Name Description

Public function Const

int32

 

GetReferenceCount

(
    UObject* TargetObject,
    TArray< class FProperty* >...
)

Retrieves the number of references from PotentialReferencer to the object specified.

Public function Const

int32

 

GetReferenceCounts

(
    TMap< class UObject*, int32 > ...
)

Retrieves the number of references from PotentialReferencer list of TargetObjects

Public function Const

int32

 

GetReferenceCounts

(
    TMap< class UObject*, int32 > ...,
    TMultiMap< class UObject*, cla...
)

Retrieves the number of references from PotentialReferencer list of TargetObjects

Public function

void

 

ResetPotentialReferencer

(
    UObject* InPotentialReferencer
)

Resets the reference counts.

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Classes

Name

Description

Protected class

FTargetObjectContainer

Container specifically optimized for the operations we're doing here.