Navigation
Unreal Engine C++ API Reference > Runtime > Core > Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FArchiveProxy
- FActorDescArchive
- FArchiveFromStructuredArchiveImpl
- FArchiveUObjectFromStructuredArchiveImpl
- FArchiveStackTraceWriter
- FChaosArchive
- FHierarchicalLogArchive
- FMaterialResourceProxyReader
- FNameAsStringIndexProxyArchive
- FNameAsStringProxyArchive
- FPropertyProxyArchive
- FShaderSaveArchive
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/ArchiveProxy.h |
Include | #include "Serialization/ArchiveProxy.h" |
Syntax
class FArchiveProxy : public FArchive
Remarks
Base class for archive proxies.
Archive proxies are archive types that modify the behavior of another archive type.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FArchive & | InnerArchive | Holds the archive that this archive is a proxy to. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FArchiveProxy
(
FArchive& InInnerArchive |
Creates and initializes a new instance of the archive proxy. | |
![]() |
FArchiveProxy
(
FArchiveProxy&& |
Non-copyable. | |
![]() |
FArchiveProxy
(
const FArchiveProxy& |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Overridden from FArchive
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AttachBulkData
(
UObject* Owner, |
Attaches/ associates the passed in bulk data object with the linker. |
![]() ![]() |
bool | AttachExternalReadDependency
(
FExternalReadCallback& ReadCallback |
Adds external read dependency |
![]() ![]() |
bool | Close () |
Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded. |
![]() ![]() |
void | DetachBulkData
(
FBulkData* BulkData, |
Detaches the passed in bulk data object from the linker. |
![]() ![]() |
void | Flush () |
Attempts to finish writing any buffered data to disk/permanent storage. |
![]() ![]() |
void | FlushCache () |
Flushes cache and frees internal data. |
![]() ![]() |
void | Inform the archive that a blueprint would like to force finalization, normally this is triggered by CDO load, but if there's no CDO we force finalization. | |
![]() ![]() |
FArchive * | Returns a pointer to an archive that represents the same data that the current archive covers, but that can be cached and reused later In the case of standard archives, this function will just return a pointer to itself. | |
![]() ![]() ![]() |
bool | Determine if the given archive is a valid "child" of this archive. | |
![]() ![]() |
void | MarkScriptSerializationEnd
(
const UObject* Obj |
Called when an object stops serializing property data using script serialization. |
![]() ![]() |
void | MarkScriptSerializationStart
(
const UObject* Obj |
Called when an object begins serializing property data using script serialization. |
![]() ![]() ![]() |
void | MarkSearchableName
(
const TObjectPtr< const UObject >& TypeObject, |
Called to register a reference to a specific name value, of type TypeObject (UEnum or UStruct normally). |
![]() ![]() |
void | ||
![]() ![]() |
void | PopSerializedProperty
(
FProperty* InProperty, |
Pops editor-only marker from the stack of currently serialized properties |
![]() ![]() |
bool | Precache
(
int64 PrecacheOffset, |
Hint the archive that the region starting at passed in offset and spanning the passed in size is going to be read soon and should be precached. |
![]() ![]() |
void | Tells the archive to attempt to preload the specified object so data can be loaded out of it. | |
![]() ![]() |
void | PushDebugDataString
(
const FName& DebugData |
Debug stack storage if you want to add data to the archive for usage further down the serialization stack this should be used in conjunction with the FScopeAddDebugData struct |
![]() ![]() |
void | PushSerializedProperty
(
FProperty* InProperty, |
Pushes editor-only marker to the stack of currently serialized properties |
![]() ![]() |
void | Seek
(
int64 InPos |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. |
![]() ![]() |
void | Serialize
(
void* V, |
|
![]() ![]() |
void | SerializeBits
(
void* Bits, |
|
![]() ![]() |
bool | SerializeBulkData
(
FBulkData& BulkData, |
Serialize bulk data. |
![]() ![]() |
void | SerializeInt
(
uint32& Value, |
|
![]() ![]() |
void | SerializeIntPacked
(
uint32& Value |
Packs int value into bytes of 7 bits with 8th bit for 'more' |
![]() ![]() |
bool | SetCompressionMap
(
TArray< FCompressedChunk >* CompressedChunks, |
Sets mapping from offsets/ sizes that are going to be used for seeking and serialization to what is actually stored on disk. |
Overridden from FArchiveState
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AtEnd () |
Returns true if the current location within the backing data storage is at the end, always returns false if there is no storage. |
![]() ![]() |
void | CountBytes
(
SIZE_T InNum, |
Called to get the computed size from a size-detecting archive after it has finished serializing. |
![]() ![]() |
UObject * | GetArchetypeFromLoader
(
const UObject* Obj |
Called to retrieve the archetype from the event driven loader. |
![]() ![]() ![]() |
FString | Returns the name of the Archive. | |
![]() ![]() ![]() |
const FCustomVersionContainer & | Gets the custom version numbers for this archive. | |
![]() ![]() |
::FArchiveState & | Returns lowest level archive state, proxy archives will override this. | |
![]() ![]() |
FLinker * | GetLinker () |
If this archive is a FLinkerLoad or FLinkerSave, returns a pointer to the ULinker portion. |
![]() ![]() ![]() |
FString | Get the localization namespace that this archive should use when serializing text properties. | |
![]() ![]() ![]() |
bool | Returns true if the stack of currently serialized properties contains an editor-only property | |
![]() ![]() |
void | Resets the custom version numbers for this archive. | |
![]() ![]() |
void | SetCustomVersions
(
const FCustomVersionContainer& CustomVersionContainer |
Sets the custom version numbers for this archive. |
![]() ![]() |
void | SetFilterEditorOnly
(
bool InFilterEditorOnly |
Sets a flag indicating that this archive needs to filter editor-only content. |
![]() ![]() |
void | SetLocalizationNamespace
(
const FString& InLocalizationNamespace |
Set the localization namespace that this archive should use when serializing text properties. |
![]() ![]() |
void | SetSerializedProperty
(
FProperty* InProperty |
Overrides the property that is currently being serialized |
![]() ![]() |
void | SetSerializedPropertyChain
(
const FArchiveSerializedPropertyChain* InSerializedPropertyChain, |
Set the raw serialized property chain for this archive, optionally overriding the serialized property too (or null to use the head of the property chain) |
![]() ![]() ![]() |
bool | ShouldSkipProperty
(
const FProperty* InProperty |
Checks whether the archive wants to skip the property independent of the other flags |
![]() ![]() |
int64 | Tell () |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. |
![]() ![]() |
int64 | TotalSize () |
Returns total size of the backing data storage. |
![]() ![]() ![]() |
bool | Checks whether the archive is used to resolve out-of-date enum indexes If function returns true, the archive should be called only for objects containing user defined enum |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FArchive & | operator<<
(
FField*& Value |
Serializes a Field value from or into this archive. |
![]() ![]() |
FArchive & | operator<<
(
FWeakObjectPtr& Value |
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<<
(
FLazyObjectPtr& Value |
Serializes a lazy object pointer value from or into this archive. |
![]() ![]() |
FArchive & | operator<<
(
FObjectPtr& Value |
Serializes a wrapped object pointer value from or into this archive. |
![]() ![]() |
FArchive & | operator<<
(
UObject*& Value |
Serializes an UObject value from or into this archive. |
![]() ![]() |
FArchive & | operator<<
(
FText& Value |
Serializes an FText value from or into an archive. |
![]() ![]() |
FArchive & | operator<<
(
FName& Value |
Serializes an FName value from or into this archive. |
![]() |
FArchiveProxy & | operator=
(
const FArchiveProxy& |
|
![]() |
FArchiveProxy & | operator=
(
FArchiveProxy&& |