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
class FArchiveReplaceObjectRefBase : public FArchiveUObject
Remarks
Base class for object replacement archives
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bNullPrivateReferences | Whether references to non-public objects not contained within the SearchObject should be set to null | |
| bool | bTrackReplacedReferences | Whether to populate the map of referencing objects to referencing properties | |
| TOptional< bool > | CanIgnoreUnresolvedImports | Whether unresolved references to objects in other packages can be ignored when searching | |
| int32 | Count | The number of times encountered | |
| TArray< UObject * > | PendingSerializationObjects | Object that will be serialized | |
| TMap< UObject *, TArray< FProperty * > > | ReplacedReferences | Map of referencing objects to referencing properties | |
| UObject * | SearchObject | Initial object to start the reference search from | |
| TSet< UObject * > | SerializedObjects | List of objects that have already been serialized | |
| UObject * | SerializingObject | Object that SerializeObject was most recently called on |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int64 | GetCount () |
Returns the number of times the object was referenced | |
| const TMap< UObject *, TArray< FProperty * > > & | Returns a reference to the replaced references map | ||
| const UObject * | Returns a reference to the object this archive is operating on | ||
| void | SerializeObject
(
UObject* ObjectToSerialize |
Serializes a single object | |
| bool | ShouldSkipReplacementCheckForObjectPtr
(
FObjectPtr& Obj, |
Overridden from FArchiveState
| Type | Name | Description | |
|---|---|---|---|
| FString | Returns the name of this archive. |