|
| FArchiveFileReaderGeneric (IFileHandle *InHandle, const TCHAR *InFilename, int64 InSize, uint32 InBufferSize=PLATFORM_FILE_READER_BUFFER_SIZE, uint32 InFlags=FILEREAD_None) |
|
| ~FArchiveFileReaderGeneric () |
|
virtual void | Seek (int64 InPos) override final |
|
virtual int64 | Tell () override final |
|
virtual int64 | TotalSize () override final |
|
virtual bool | Close () override final |
|
virtual void | Serialize (void *V, int64 Length) override final |
|
virtual FString | GetArchiveName () const override |
|
virtual void | FlushCache () override final |
|
virtual bool | Precache (int64 PrecacheOffset, int64 PrecacheSize) override |
|
| FArchive ()=default |
|
| FArchive (const FArchive &)=default |
|
FArchive & | operator= (const FArchive &ArchiveToCopy)=default |
|
| ~FArchive ()=default |
|
virtual FArchive & | operator<< (FName &Value) |
|
virtual FArchive & | operator<< (FText &Value) |
|
virtual FArchive & | operator<< (UObject *&Value) |
|
virtual FArchive & | operator<< (FField *&Value) |
|
template<class T > |
FORCEINLINE FArchive & | operator<< (TCheckedObjPtr< T > &Value) |
|
virtual FArchive & | operator<< (struct FLazyObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FSoftObjectPtr &Value) |
|
virtual FArchive & | operator<< (struct FSoftObjectPath &Value) |
|
virtual FArchive & | operator<< (struct FWeakObjectPtr &Value) |
|
virtual void | ForceBlueprintFinalization () |
|
virtual void | SerializeBits (void *V, int64 LengthBits) |
|
virtual void | SerializeInt (uint32 &Value, uint32 Max) |
|
virtual void | SerializeIntPacked (uint32 &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 struct FBulkDataSerializationParams &Params) |
|
virtual bool | IsProxyOf (FArchive *InOther) const |
|
virtual bool | SetCompressionMap (TArray< struct FCompressedChunk > *CompressedChunks, ECompressionFlags CompressionFlags) |
|
virtual void | Flush () |
|
void | SerializeCompressed (void *V, int64 Length, FName CompressionFormatCannotChange, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false) |
|
void | SerializeCompressedNew (void *V, int64 Length, FName CompressionFormatToEncode, FName CompressionFormatToDecodeOldV1Files, ECompressionFlags Flags=COMPRESS_NoFlags, bool bTreatBufferAsFileReader=false, int64 *OutPartialReadLength=nullptr) |
|
void | SerializeCompressedNew (void *V, int64 Length) |
|
void | ByteSwap (void *V, int32 Length) |
|
FORCEINLINE 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 UObject *TypeObject, const FName &ValueName) const |
|
template<typename FmtType , typename... Types> |
void | Logf (const FmtType &Fmt, Types... Args) |
|
virtual void | UsingCustomVersion (const struct FGuid &Guid) |
|
virtual FArchive * | GetCacheableArchive () |
|
virtual void | PushSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty) |
|
virtual void | PopSerializedProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty) |
|
virtual bool | AttachExternalReadDependency (FExternalReadCallback &ReadCallback) |
|
template<SIZE_T Size> |
FORCEINLINE bool | FastPathLoad (void *InDest) |
|
virtual void | PushFileRegionType (EFileRegionType Type) |
|
virtual void | PopFileRegionType () |
|
void | SetArchiveState (const FArchiveState &InState) |
|
void | SetError () |
|
void | ClearError () |
|
virtual FArchiveState & | GetInnermostState () |
|
virtual void | CountBytes (SIZE_T InNum, SIZE_T InMax) |
|
virtual FLinker * | GetLinker () |
|
virtual bool | AtEnd () |
|
FORCEINLINE bool | IsByteSwapping () |
|
void | ThisContainsCode () |
|
void | ThisContainsMap () |
|
void | ThisRequiresLocalizationGather () |
|
virtual UObject * | GetArchetypeFromLoader (const UObject *Obj) |
|
FORCEINLINE FPackageFileVersion | UEVer () const |
|
FORCEINLINE int32 | UE4Ver () const |
|
FORCEINLINE int32 | LicenseeUEVer () const |
|
FORCEINLINE FEngineVersionBase | EngineVer () const |
|
uint32 | EngineNetVer () const |
|
uint32 | GameNetVer () const |
|
int32 | CustomVer (const struct FGuid &Key) const |
|
FORCEINLINE bool | IsLoading () const |
|
FORCEINLINE bool | IsLoadingFromCookedPackage () const |
|
FORCEINLINE bool | IsSaving () const |
|
FORCEINLINE bool | IsTransacting () const |
|
FORCEINLINE bool | IsTextFormat () const |
|
FORCEINLINE bool | WantBinaryPropertySerialization () const |
|
FORCEINLINE bool | UseUnversionedPropertySerialization () const |
|
FORCEINLINE bool | IsForcingUnicode () const |
|
FORCEINLINE bool | IsPersistent () const |
|
FORCEINLINE bool | GetError () const |
|
FORCEINLINE bool | IsError () const |
|
FORCEINLINE bool | IsCriticalError () const |
|
FORCEINLINE bool | ContainsCode () const |
|
FORCEINLINE bool | ContainsMap () const |
|
FORCEINLINE bool | RequiresLocalizationGather () const |
|
FORCEINLINE bool | ForceByteSwapping () const |
|
FORCEINLINE bool | IsSerializingDefaults () const |
|
FORCEINLINE bool | IsIgnoringArchetypeRef () const |
|
FORCEINLINE bool | DoDelta () const |
|
FORCEINLINE bool | DoIntraPropertyDelta () const |
|
FORCEINLINE bool | IsIgnoringOuterRef () const |
|
FORCEINLINE bool | IsIgnoringClassGeneratedByRef () const |
|
FORCEINLINE bool | IsIgnoringClassRef () const |
|
FORCEINLINE bool | IsAllowingLazyLoading () const |
|
FORCEINLINE bool | IsObjectReferenceCollector () const |
|
FORCEINLINE bool | IsModifyingWeakAndStrongReferences () const |
|
FORCEINLINE bool | IsCountingMemory () const |
|
FORCEINLINE uint32 | GetPortFlags () const |
|
FORCEINLINE bool | HasAnyPortFlags (uint32 Flags) const |
|
FORCEINLINE bool | HasAllPortFlags (uint32 Flags) const |
|
FORCEINLINE uint32 | GetDebugSerializationFlags () const |
|
FORCEINLINE bool | ShouldSkipBulkData () const |
|
FORCEINLINE int64 | GetMaxSerializeSize () const |
|
virtual const FCustomVersionContainer & | GetCustomVersions () const |
|
virtual void | SetCustomVersions (const FCustomVersionContainer &CustomVersionContainer) |
|
virtual void | ResetCustomVersions () |
|
void | SetCustomVersion (const struct FGuid &Key, int32 Version, FName FriendlyName) |
|
void | SetByteSwapping (bool Enabled) |
|
void | SetPortFlags (uint32 InPortFlags) |
|
void | SetDebugSerializationFlags (uint32 InCustomFlags) |
|
bool | IsFilterEditorOnly () const |
|
virtual void | SetFilterEditorOnly (bool InFilterEditorOnly) |
|
bool | IsSaveGame () const |
|
FORCEINLINE bool | IsNetArchive () const |
|
FORCEINLINE bool | IsCooking () const |
|
FORCEINLINE const ITargetPlatform * | CookingTarget () const |
|
void | SetCookData (FArchiveCookData *InCookData) |
|
FArchiveCookData * | GetCookData () |
|
FORCEINLINE FArchiveCookContext * | GetCookContext () |
|
virtual bool | UseToResolveEnumerators () const |
|
virtual bool | ShouldSkipProperty (const FProperty *InProperty) const |
|
virtual void | SetSerializedProperty (FProperty *InProperty) |
|
FORCEINLINE struct FProperty * | GetSerializedProperty () const |
|
void | GetSerializedPropertyChain (TArray< struct FProperty * > &OutProperties) const |
|
FORCEINLINE const FArchiveSerializedPropertyChain * | GetSerializedPropertyChain () const |
|
virtual void | SetSerializedPropertyChain (const FArchiveSerializedPropertyChain *InSerializedPropertyChain, struct FProperty *InSerializedPropertyOverride=nullptr) |
|
virtual void | SetSerializeContext (FUObjectSerializeContext *InLoadContext) |
|
virtual FUObjectSerializeContext * | GetSerializeContext () |
|
virtual void | Reset () |
|
virtual void | SetIsLoading (bool bInIsLoading) |
|
virtual void | SetIsLoadingFromCookedPackage (bool bInIsLoadingFromCookedPackage) |
|
virtual void | SetIsSaving (bool bInIsSaving) |
|
virtual void | SetIsTransacting (bool bInIsTransacting) |
|
virtual void | SetIsTextFormat (bool bInIsTextFormat) |
|
virtual void | SetWantBinaryPropertySerialization (bool bInWantBinaryPropertySerialization) |
|
virtual void | SetUseUnversionedPropertySerialization (bool bInUseUnversioned) |
|
virtual void | SetForceUnicode (bool bInForceUnicode) |
|
virtual void | SetIsPersistent (bool bInIsPersistent) |
|
virtual void | SetUEVer (FPackageFileVersion InVer) |
|
FORCEINLINE void | SetUE4Ver (int32 InVer) |
|
virtual void | SetLicenseeUEVer (int32 InVer) |
|
virtual void | SetEngineVer (const FEngineVersionBase &InVer) |
|
virtual void | SetEngineNetVer (const uint32 InEngineNetVer) |
|
virtual void | SetGameNetVer (const uint32 InGameNetVer) |
|
FORCEINLINE bool | ShouldSkipCompilingAssets () const |
|
Definition at line 226 of file FileManagerGeneric.h.
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.
The function returns whether the precache operation has completed or not which is an important hint for code knowing that it deals with potential async I/O. The archive is free to either not implement this function or only partially precache so it is required that given sufficient time the function will return true. Archives not based on async I/O should always return true.
This function will not change the current archive position.
- Parameters
-
PrecacheOffset | Offset at which to begin precaching. |
PrecacheSize | Number of bytes to precache |
- Returns
- false if precache operation is still pending, true otherwise
Reimplemented from FArchive.