FArchiveTraceRoute

DEPRECATED: This class is out of date and misses many GC references, replace with [FReferenceChainSearch](API\Runtime\CoreUObject\UObject\FReferenceChainSearch).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "Serialization/ArchiveTraceRoute.h"

Syntax

class FArchiveTraceRoute : public FArchiveUObject

Remarks

DEPRECATED: This class is out of date and misses many GC references, replace with FReferenceChainSearch.

Constructors

No constructors are accessible with public or protected access.

Destructors

No destructors are accessible with public or protected access.

Functions

Name Description

Public function

void

 

CalculateReferenceDepthsForNode

(
    FObjectGraphNode* ObjectNode
)

Recursively iterates over the referencing objects for the specified node, marking each with the current Depth value.

Public function

bool

 

FindClosestLink

(
    FObjectGraphNode* CurrentNode,
    int32& LowestDepth,
    FRouteLink& ClosestLink
)

Searches through the objects referenced by CurrentNode for a record with a Depth lower than LowestDepth.

Public function

void

 

GenerateObjectGraph

(
    TSparseArray< UObject* >& Obj...
)

Serializes the objects in the specified set; any objects encountered during serialization of an object are added to the object set and processed until no new objects are added.

Public function Static

FString

 

PrintRootPath

(
    const TMap< UObject*, FPropert...,
    const UObject* TargetObject
)

Retuns path to root created by e.g. FindShortestRootPath via a string.

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Deprecated Functions

Name Description

Public function Static

TMap< UObjec...

 

FindShortestRootPath

(
    UObject* Object,
    bool bIncludeTransients,
    EObjectFlags KeepFlags
)

This function is out of date and misses many GC references, replace with FReferenceChainSearch

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