Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FArchiveProxy
- FNameAsStringProxyArchive
- FObjectAndNameAsStringProxyArchive
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ObjectAndNameAsStringProxyArchive.h |
| Include | #include "Serialization/ObjectAndNameAsStringProxyArchive.h" |
Syntax
struct FObjectAndNameAsStringProxyArchive : public FNameAsStringProxyArchive
Remarks
Implements a proxy archive that serializes UObjects and FNames as string data.
Expected use is: FArchive* SomeAr = CreateAnAr(); FObjectAndNameAsStringProxyArchive Ar(*SomeAr); SomeObject->Serialize(Ar); FinalizeAr(SomeAr);
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLoadIfFindFails | If we fail to find an object during loading, try and load it. | |
| bool | bResolveRedirectors | If bResolveRedirectors is true, when loading, in operator<< functions that return a resolved object, (UObject*, FWeakObjectPtr, FObjectPtr if resolved), if a UObject is a UObjectRedirector, the UObjectRedirector will be followed and the output Obj will receive the target of the redirector. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObjectAndNameAsStringProxyArchive
(
FArchive& InInnerArchive, |
Creates and initializes a new instance. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArchive & | operator<<
(
UObject*& Obj |
Serialize the given UObject* as an FString | |
| FArchive & | operator<<
(
FWeakObjectPtr& Obj |
Serializes FWeakObjectPtr value from or into this archive. | |
| FArchive & | operator<<
(
FSoftObjectPtr& Value |
Serializes asset pointer from or into this archive. | |
| FArchive & | operator<<
(
FSoftObjectPath& Value |
Serializes soft object paths from or into this archive. | |
| FArchive & | operator<<
(
FObjectPtr& Obj |
Serializes a wrapped object pointer value from or into this archive. |