Navigation
API > API/Runtime > API/Runtime/CoreUObject
Archive for replacing a reference to an object. This classes uses serialization to replace all references to one object with another. Note that this archive will only traverse objects with an Outer that matches InSearchObject.
NOTE: The template type must be a child of UObject or this class will not compile.
| Name | FArchiveReplaceObjectRef |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveReplaceObjectRef.h |
| Include Path | #include "Serialization/ArchiveReplaceObjectRef.h" |
Syntax
template<class T>
class FArchiveReplaceObjectRef : public FArchiveReplaceObjectRefBase
Inheritance Hierarchy
- FArchiveState → FArchive → FArchiveUObject → FArchiveReplaceObjectRefBase → FArchiveReplaceObjectRef
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArchiveReplaceObjectRef
(
UObject* InSearchObject, |
Initializes variables and starts the serialization search | Serialization/ArchiveReplaceObjectRef.h | |
FArchiveReplaceObjectRef
(
UObject* InSearchObject, |
Serialization/ArchiveReplaceObjectRef.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SerializeSearchObject() |
Starts the serialization of the root object | Serialization/ArchiveReplaceObjectRef.h |