FArchiveReplaceOrClearExternalReferences

Identical to [FArchiveReplaceObjectRef](API\Runtime\CoreUObject\Serialization\FArchiveReplaceObjectRef), but for references to private objects in other packages we clear the reference instead of preserving it (unless it makes it into the replacement map)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "Serialization/ArchiveReplaceOrClearExternalReferences.h"

Syntax

template<class T>
class FArchiveReplaceOrClearExternalReferences : public FArchiveReplaceObjectRef< T >

Remarks

Identical to FArchiveReplaceObjectRef, but for references to private objects in other packages we clear the reference instead of preserving it (unless it makes it into the replacement map)

Variables

Name Description

Protected variable

UPackage *

 

DestPackage

Package that we are loading into, references to private objects in other packages will be cleared

Constructors

Name Description

Public function

FArchiveReplaceOrClearExternalReferences

(
    UObject* InSearchObject,
    const TMap< T*, T* >& In...,
    UPackage* InDestPackage,
    bool bDelayStart
)

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    UObject*& Obj
)

Serializes the reference to the object

Typedefs

Name

Description

TSuper

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