|
| CORE_API | FPreloadableArchive (FStringView ArchiveName) |
| |
| virtual CORE_API | ~FPreloadableArchive () |
| |
| CORE_API void | SetPageSize (int64 PageSize) |
| |
| CORE_API void | InitializeAsync (FCreateArchive &&InCreateArchiveFunction, uint32 InFlags=Flags::None, int64 PrimeSize=DefaultPrimeSize) |
| |
| CORE_API void | InitializeAsync (FCreateAsyncArchive &&InCreateAsyncArchiveFunction, uint32 InFlags=Flags::None, int64 PrimeSize=DefaultPrimeSize) |
| |
| CORE_API bool | IsInitialized () const |
| |
| CORE_API void | WaitForInitialization () const |
| |
| CORE_API bool | StartPreload () |
| |
| CORE_API void | StopPreload () |
| |
| CORE_API bool | IsPreloading () const |
| |
| CORE_API bool | AllocateCache () |
| |
| CORE_API void | ReleaseCache () |
| |
| CORE_API bool | IsCacheAllocated () const |
| |
| CORE_API FArchive * | DetachLowerLevel () |
| |
| CORE_API bool | HasValidData () const |
| |
| virtual CORE_API void | Serialize (void *V, int64 Length) final |
| |
| virtual CORE_API void | Seek (int64 InPos) final |
| |
| virtual CORE_API int64 | Tell () final |
| |
| virtual CORE_API int64 | TotalSize () final |
| |
| virtual CORE_API bool | Close () final |
| |
| virtual CORE_API FString | GetArchiveName () const final |
| |
| | FArchive ()=default |
| |
| | FArchive (const FArchive &)=default |
| |
| FArchive & | operator= (const FArchive &ArchiveToCopy)=default |
| |
| virtual CORE_API | ~FArchive () |
| |
| virtual FArchive & | operator<< (FName &Value) |
| |
| virtual CORE_API FArchive & | operator<< (FText &Value) |
| |
| virtual FArchive & | operator<< (UObject *&Value) |
| |
| virtual FArchive & | operator<< (FField *&Value) |
| |
| template<class T > |
| FArchive & | operator<< (TCheckedObjPtr< T > &Value) |
| |
| virtual CORE_API FArchive & | operator<< (struct FLazyObjectPtr &Value) |
| |
| virtual CORE_API FArchive & | operator<< (struct FObjectPtr &Value) |
| |
| virtual CORE_API FArchive & | operator<< (struct FSoftObjectPtr &Value) |
| |
| virtual CORE_API FArchive & | operator<< (struct FSoftObjectPath &Value) |
| |
| virtual CORE_API FArchive & | operator<< (struct FWeakObjectPtr &Value) |
| |
| virtual void | ForceBlueprintFinalization () |
| |
| virtual void | SerializeBits (void *V, int64 LengthBits) |
| |
| virtual void | SerializeInt (uint32 &Value, uint32 Max) |
| |
| virtual CORE_API void | SerializeIntPacked (uint32 &Value) |
| |
| virtual CORE_API void | SerializeIntPacked64 (uint64 &Value) |
| |
| virtual void | Preload (UObject *Object) |
| |
| FArchiveState & | GetArchiveState () |
| |
| const FArchiveState & | GetArchiveState () const |
| |
| virtual void | AttachBulkData (UObject *Owner, FBulkData *BulkData) |
| |
| virtual void | AttachBulkData (UE::Serialization::FEditorBulkData *BulkData) |
| |
| virtual void | DetachBulkData (FBulkData *BulkData, bool bEnsureBulkDataIsLoaded) |
| |
| virtual void | DetachBulkData (UE::Serialization::FEditorBulkData *BulkData, bool bEnsureBulkDataIsLoaded) |
| |
| virtual bool | SerializeBulkData (FBulkData &BulkData, const FBulkDataSerializationParams &Params) |
| |
| virtual bool | IsProxyOf (FArchive *InOther) const |
| |
| virtual bool | Precache (int64 PrecacheOffset, int64 PrecacheSize) |
| |
| virtual void | FlushCache () |
| |
| virtual bool | SetCompressionMap (TArray< FCompressedChunk > *CompressedChunks, ECompressionFlags CompressionFlags) |
| |
| virtual void | Flush () |
| |
| CORE_API void | SerializeCompressed (void *V, int64 Length, FName CompressionFormatCannotChange, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false) |
| |
| CORE_API void | SerializeCompressedNew (void *V, int64 Length, FName CompressionFormatToEncode, FName CompressionFormatToDecodeOldV1Files, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false, int64 *OutPartialReadLength=nullptr) |
| |
| CORE_API void | SerializeCompressedNew (void *V, int64 Length) |
| |
| CORE_API void | ByteSwap (void *V, int32 Length) |
| |
| FArchive & | ByteOrderSerialize (void *V, int32 Length) |
| |
| void | StartSerializingDefaults () |
| |
| void | StopSerializingDefaults () |
| |
| virtual void | MarkScriptSerializationStart (const UObject *Obj) |
| |
| virtual void | MarkScriptSerializationEnd (const UObject *Obj) |
| |
| virtual void | MarkSearchableName (const TObjectPtr< const UObject > &TypeObject, const FName &ValueName) const |
| |
| template<typename FmtType , typename... Types> |
| void | Logf (const FmtType &Fmt, Types... Args) |
| |
| virtual CORE_API void | UsingCustomVersion (const struct FGuid &Guid) |
| |
| virtual FArchive * | GetCacheableArchive () |
| |
| void | SetCookData (FArchiveCookData *InCookData) |
| |
| FArchiveCookData * | GetCookData () |
| |
| virtual CORE_API void | PushSerializedProperty (class FProperty *InProperty, const bool bIsEditorOnlyProperty) |
| |
| virtual CORE_API void | PopSerializedProperty (class FProperty *InProperty, const bool bIsEditorOnlyProperty) |
| |
| virtual bool | AttachExternalReadDependency (FExternalReadCallback &ReadCallback) |
| |
| template<SIZE_T Size> |
| bool | FastPathLoad (void *InDest) |
| |
| virtual void | PushFileRegionType (EFileRegionType Type) |
| |
| virtual void | PopFileRegionType () |
| |
| CORE_API void | SetArchiveState (const FArchiveState &InState) |
| |
| CORE_API void | SetError () |
| |
| CORE_API void | ClearError () |
| |
| CORE_API void | SetCriticalError () |
| |
| virtual FArchiveState & | GetInnermostState () |
| |
| virtual void | CountBytes (SIZE_T InNum, SIZE_T InMax) |
| |
| virtual FLinker * | GetLinker () |
| |
| virtual bool | AtEnd () |
| |
| bool | IsByteSwapping () |
| |
| void | ThisContainsCode () |
| |
| void | ThisContainsMap () |
| |
| CORE_API void | ThisRequiresLocalizationGather () |
| |
| virtual UObject * | GetArchetypeFromLoader (const UObject *Obj) |
| |
| UE_FORCEINLINE_HINT FPackageFileVersion | UEVer () const |
| |
| UE_FORCEINLINE_HINT int32 | LicenseeUEVer () const |
| |
| UE_FORCEINLINE_HINT FEngineVersionBase | EngineVer () const |
| |
| virtual CORE_API uint32 | EngineNetVer () const |
| |
| virtual CORE_API uint32 | GameNetVer () const |
| |
| CORE_API int32 | CustomVer (const struct FGuid &Key) const |
| |
| UE_FORCEINLINE_HINT bool | IsLoading () const |
| |
| UE_FORCEINLINE_HINT bool | IsLoadingFromCookedPackage () const |
| |
| UE_FORCEINLINE_HINT bool | IsSaving () const |
| |
| bool | IsTransacting () const |
| |
| UE_FORCEINLINE_HINT bool | IsTextFormat () const |
| |
| UE_FORCEINLINE_HINT bool | WantBinaryPropertySerialization () const |
| |
| UE_FORCEINLINE_HINT bool | UseUnversionedPropertySerialization () const |
| |
| UE_FORCEINLINE_HINT bool | IsForcingUnicode () const |
| |
| UE_FORCEINLINE_HINT bool | IsPersistent () const |
| |
| UE_FORCEINLINE_HINT bool | GetError () const |
| |
| UE_FORCEINLINE_HINT bool | IsError () const |
| |
| UE_FORCEINLINE_HINT bool | IsCriticalError () const |
| |
| UE_FORCEINLINE_HINT bool | ContainsCode () const |
| |
| UE_FORCEINLINE_HINT bool | ContainsMap () const |
| |
| bool | RequiresLocalizationGather () const |
| |
| UE_FORCEINLINE_HINT bool | ForceByteSwapping () const |
| |
| UE_FORCEINLINE_HINT bool | IsSerializingDefaults () const |
| |
| UE_FORCEINLINE_HINT bool | IsIgnoringArchetypeRef () const |
| |
| UE_FORCEINLINE_HINT bool | DoDelta () const |
| |
| UE_FORCEINLINE_HINT bool | DoIntraPropertyDelta () const |
| |
| UE_FORCEINLINE_HINT bool | IsIgnoringOuterRef () const |
| |
| UE_FORCEINLINE_HINT bool | IsIgnoringClassGeneratedByRef () const |
| |
| UE_FORCEINLINE_HINT bool | IsIgnoringClassRef () const |
| |
| UE_FORCEINLINE_HINT bool | IsAllowingLazyLoading () const |
| |
| UE_FORCEINLINE_HINT bool | IsObjectReferenceCollector () const |
| |
| UE_FORCEINLINE_HINT bool | IsModifyingWeakAndStrongReferences () const |
| |
| UE_FORCEINLINE_HINT bool | IsCountingMemory () const |
| |
| UE_FORCEINLINE_HINT uint32 | GetPortFlags () const |
| |
| UE_FORCEINLINE_HINT bool | HasAnyPortFlags (uint32 Flags) const |
| |
| UE_FORCEINLINE_HINT bool | HasAllPortFlags (uint32 Flags) const |
| |
| uint32 | GetDebugSerializationFlags () const |
| |
| UE_FORCEINLINE_HINT bool | ShouldSkipBulkData () const |
| |
| UE_FORCEINLINE_HINT int64 | GetMaxSerializeSize () const |
| |
| virtual CORE_API const FCustomVersionContainer & | GetCustomVersions () const |
| |
| virtual CORE_API void | SetCustomVersions (const FCustomVersionContainer &CustomVersionContainer) |
| |
| virtual CORE_API void | ResetCustomVersions () |
| |
| CORE_API void | SetCustomVersion (const struct FGuid &Key, int32 Version, FName FriendlyName) |
| |
| void | SetByteSwapping (bool Enabled) |
| |
| void | SetPortFlags (uint32 InPortFlags) |
| |
| virtual void | SetDebugSerializationFlags (uint32 InCustomFlags) |
| |
| bool | IsFilterEditorOnly () const |
| |
| virtual void | SetFilterEditorOnly (bool InFilterEditorOnly) |
| |
| bool | IsSavingOptionalObject () const |
| |
| virtual void | SetSavingOptionalObject (bool InSavingOptionalObject) |
| |
| bool | IsSaveGame () const |
| |
| UE_FORCEINLINE_HINT bool | IsNetArchive () const |
| |
| UE_FORCEINLINE_HINT bool | IsCooking () const |
| |
| UE_FORCEINLINE_HINT const ITargetPlatform * | CookingTarget () const |
| |
| void | SetSavePackageData (FArchiveSavePackageData *InSavePackageData) |
| |
| FArchiveSavePackageData * | GetSavePackageData () |
| |
| UE_FORCEINLINE_HINT FArchiveCookContext * | GetCookContext () |
| |
| virtual bool | UseToResolveEnumerators () const |
| |
| virtual bool | ShouldSkipProperty (const FProperty *InProperty) const |
| |
| virtual void | SetSerializedProperty (FProperty *InProperty) |
| |
| UE_FORCEINLINE_HINT class FProperty * | GetSerializedProperty () const |
| |
| CORE_API void | GetSerializedPropertyChain (TArray< class FProperty * > &OutProperties) const |
| |
| UE_FORCEINLINE_HINT const FArchiveSerializedPropertyChain * | GetSerializedPropertyChain () const |
| |
| virtual CORE_API void | SetSerializedPropertyChain (const FArchiveSerializedPropertyChain *InSerializedPropertyChain, class FProperty *InSerializedPropertyOverride=nullptr) |
| |
| virtual void | SetSerializeContext (FUObjectSerializeContext *InLoadContext) |
| |
| virtual CORE_API void | Reset () |
| |
| virtual CORE_API void | SetIsLoading (bool bInIsLoading) |
| |
| virtual CORE_API void | SetIsLoadingFromCookedPackage (bool bInIsLoadingFromCookedPackage) |
| |
| virtual CORE_API void | SetIsSaving (bool bInIsSaving) |
| |
| virtual CORE_API void | SetIsTransacting (bool bInIsTransacting) |
| |
| virtual CORE_API void | SetIsTextFormat (bool bInIsTextFormat) |
| |
| virtual CORE_API void | SetWantBinaryPropertySerialization (bool bInWantBinaryPropertySerialization) |
| |
| virtual CORE_API void | SetUseUnversionedPropertySerialization (bool bInUseUnversioned) |
| |
| virtual CORE_API void | SetForceUnicode (bool bInForceUnicode) |
| |
| virtual CORE_API void | SetIsPersistent (bool bInIsPersistent) |
| |
| virtual CORE_API void | SetUEVer (FPackageFileVersion InVer) |
| |
| virtual CORE_API void | SetLicenseeUEVer (int32 InVer) |
| |
| virtual CORE_API void | SetEngineVer (const FEngineVersionBase &InVer) |
| |
| virtual CORE_API void | SetEngineNetVer (const uint32 InEngineNetVer) |
| |
| virtual CORE_API void | SetGameNetVer (const uint32 InGameNetVer) |
| |
| UE_FORCEINLINE_HINT bool | ShouldSkipCompilingAssets () const |
| |
| CORE_API void | SetShouldSkipUpdateCustomVersion (bool bShouldSkip) |
| |
| UE_FORCEINLINE_HINT bool | ShouldSkipUpdateCustomVersion () const |
| |
| CORE_API void | SetMigratingRemoteObjects (bool bMigrating) |
| |
| UE_FORCEINLINE_HINT constexpr bool | IsMigratingRemoteObjects () const |
| |
| virtual const FUObjectMigrationContext * | GetMigrationContext () const |
| |
A read-only archive that adds support for asynchronous preloading and priming to an inner archive.
This class supports two mutually-exclusive modes: PreloadBytes: An asynchronous inner archive is opened using the passed-in CreateAsyncArchive function; this call is made asynchronously on a TaskGraph thread. The size is read during initialization. After initialization, when StartPreload is called, an array of bytes equal in size to the inner archive's size is allocated, and an asynchronous ReadRequest is sent to the IAsyncReadFileHandle to read the first <PageSize> bytes of the file. Upon completion of each in-flight ReadRequest, another asynchronous ReadRequest is issued, until the entire file has been read. If serialize functions are called beyond the bytes of the file that have been cached so far, they requests are satisfied by synchronous reads.
Activate this mode by passing an FCreateArchive to InitializeAsync. PreloadHandle: A synchronous inner archive is opened using the passed-in CreateArchive function; this call is made asynchronously on a TaskGraph thread. Optionally, a precache request is sent to the inner archive for the first <PrimeSize> bytes; this call is also made asynchronously. The created and primed lower-level FArchive can then be detached from this class and handed off to a new owner.
Activate this mode by passing an FCreateAsyncArchive and (optionally, for the precache request) Flags::Prime to InitializeAsync.
This class is not threadsafe. The public interface can be used at the same time as internal asynchronous tasks are executing, but the public interface can not be used from multiple threads at once.