FArchiveReplaceObjectRefBase

Base class for object replacement archives

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "Serialization/ArchiveReplaceObjectRef.h"

Syntax

class FArchiveReplaceObjectRefBase : public FArchiveUObject

Remarks

Base class for object replacement archives

Variables

Name Description

Protected variable

bool

 

bNullPrivateReferences

Whether references to non-public objects not contained within the SearchObject should be set to null

Protected variable

bool

 

bTrackReplacedReferences

Whether to populate the map of referencing objects to referencing properties

Protected variable

TOptional< bool...

 

CanIgnoreUnresolvedImports

Whether unresolved references to objects in other packages can be ignored when searching

Protected variable

int32

 

Count

The number of times encountered

Protected variable

TArray< UObject...

 

PendingSerializationObjects

Object that will be serialized

Protected variable

TMap< UObject &...

 

ReplacedReferences

Map of referencing objects to referencing properties

Protected variable

UObject *

 

SearchObject

Initial object to start the reference search from

Protected variable

TSet< UObject &...

 

SerializedObjects

List of objects that have already been serialized

Protected variable

UObject *

 

SerializingObject

Object that SerializeObject was most recently called on

Functions

Name Description

Public function Const

int64

 

GetCount()

Returns the number of times the object was referenced

Public function Const

const TMap< ...

 

GetReplacedReferences()

Returns a reference to the replaced references map

Public function Const

const UObjec...

 

GetSearchObject()

Returns a reference to the object this archive is operating on

Protected function

void

 

SerializeObject

(
    UObject* ObjectToSerialize
)

Serializes a single object

Protected function

bool

 

ShouldSkipReplacementCheckForObjectPtr

(
    FObjectPtr& Obj,
    const ContainerType& ReplacementCo...,
    const ElementToObjectType& Element...
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of this archive.