Navigation
API > API/Runtime > API/Runtime/Core
| Name | FArchiveFileWriterGeneric |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/FileManagerGeneric.h |
| Include Path | #include "HAL/FileManagerGeneric.h" |
Syntax
class FArchiveFileWriterGeneric : public FArchive
Inheritance Hierarchy
- FArchiveState → FArchive → FArchiveFileWriterGeneric
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArchiveFileWriterGeneric
(
IFileHandle* InHandle, |
HAL/FileManagerGeneric.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FArchiveFileWriterGeneric() |
HAL/FileManagerGeneric.h |
Functions
Public
Overridden from FArchive
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Close() |
Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded. | HAL/FileManagerGeneric.h | |
virtual void Flush() |
Attempts to finish writing any buffered data to disk/permanent storage. | HAL/FileManagerGeneric.h | |
virtual void Seek
(
int64 InPos |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. | HAL/FileManagerGeneric.h | |
virtual void Serialize
(
void* V, |
HAL/FileManagerGeneric.h |
Overridden from FArchiveState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetArchiveName () |
Returns the name of the Archive. | HAL/FileManagerGeneric.h | |
virtual 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. | HAL/FileManagerGeneric.h | |
virtual int64 TotalSize() |
Returns total size of the backing data storage. | HAL/FileManagerGeneric.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CloseLowLevel() |
Close the file handle | HAL/FileManagerGeneric.h | |
bool FlushBuffer () |
Write any internal buffer to the file handle | HAL/FileManagerGeneric.h | |
bool IsSilent() |
Returns true if the archive should suppress logging in case of error | HAL/FileManagerGeneric.h | |
void LogWriteError
(
const TCHAR* Message |
HAL/FileManagerGeneric.h | ||
void LogWriteError
(
const TCHAR* Message, |
Logs I/O error It is important to not call any platform API functions after the error occurred and before calling this functions as the system error code may get reset and will not be properly logged in this message. | HAL/FileManagerGeneric.h | |
virtual bool SeekLowLevel
(
int64 InPos |
Platform specific seek | HAL/FileManagerGeneric.h | |
virtual bool WriteLowLevel
(
const uint8* Src, |
Platform specific write | HAL/FileManagerGeneric.h |