Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FArchiveUObject
- FArchiveReplaceObjectRefBase
- FArchiveReplaceObjectRef
- FArchiveReplaceObjectAndStructPropertyRef
- FArchiveReplaceOrClearExternalReferences
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveReplaceObjectRef.h |
| Include | #include "Serialization/ArchiveReplaceObjectRef.h" |
Syntax
template<class T>
class FArchiveReplaceObjectRef : public FArchiveReplaceObjectRefBase
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TMap< T *, T * > & | ReplacementMap | Map of objects to find references to -> object to replace references with |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArchiveReplaceObjectRef
(
UObject* InSearchObject, |
Initializes variables and starts the serialization search | ||
FArchiveReplaceObjectRef
(
UObject* InSearchObject, |
Use version that supplies flags via enum. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Starts the serialization of the root object |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArchive & | operator<<
(
UObject*& Obj |
Serializes the reference to the object | |
| FArchive & | operator<<
(
FObjectPtr& Obj |
Serializes a resolved or unresolved object reference | |
| FArchive & | operator<<
(
FSoftObjectPath& Value |
Serializes soft object paths from or into this archive. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
FArchiveReplaceObjectRef
(
UObject* InSearchObject, |
Use version that supplies flags via enum. |