Navigation
API > API/Runtime > API/Runtime/Core
| Name | FCachedFileHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/IPlatformFileCachedWrapper.h |
| Include Path | #include "HAL/IPlatformFileCachedWrapper.h" |
Syntax
class FCachedFileHandle : public IFileHandle
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCachedFileHandle
(
IFileHandle* InFileHandle, |
HAL/IPlatformFileCachedWrapper.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCachedFileHandle() |
HAL/IPlatformFileCachedWrapper.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BufferCacheSize | uint32 | HAL/IPlatformFileCachedWrapper.h | |
| BufferSizeMask | uint64 | HAL/IPlatformFileCachedWrapper.h | |
| CacheCount | uint32 | HAL/IPlatformFileCachedWrapper.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bReadable | bool | HAL/IPlatformFileCachedWrapper.h | ||
| BufferCache | uint8 | HAL/IPlatformFileCachedWrapper.h | ||
| bWritable | bool | HAL/IPlatformFileCachedWrapper.h | ||
| CacheEnd | int64 | HAL/IPlatformFileCachedWrapper.h | ||
| CacheStart | int64 | HAL/IPlatformFileCachedWrapper.h | ||
| CurrentCache | int32 | HAL/IPlatformFileCachedWrapper.h | ||
| FileHandle | TUniquePtr< IFileHandle > | HAL/IPlatformFileCachedWrapper.h | ||
| FilePos | int64 | HAL/IPlatformFileCachedWrapper.h | ||
| FileSize | int64 | HAL/IPlatformFileCachedWrapper.h | ||
| TellPos | int64 | HAL/IPlatformFileCachedWrapper.h |
Functions
Public
Overridden from IFileHandle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Flush
(
const bool bFullFlush |
Flushes file handle to disk. | HAL/IPlatformFileCachedWrapper.h | |
virtual bool Read
(
uint8* Destination, |
Read bytes from the file. | HAL/IPlatformFileCachedWrapper.h | |
virtual bool ReadAt
(
uint8* Destination, |
HAL/IPlatformFileCachedWrapper.h | ||
virtual bool Seek
(
int64 NewPosition |
Change the current write or read position. | HAL/IPlatformFileCachedWrapper.h | |
virtual bool SeekFromEnd
(
int64 NewPositionRelativeToEnd |
Change the current write or read position, relative to the end of the file. | HAL/IPlatformFileCachedWrapper.h | |
virtual void ShrinkBuffers() |
Minimizes optional system or process cache kept for the file. | HAL/IPlatformFileCachedWrapper.h | |
virtual int64 Size() |
Return the total size of the file | HAL/IPlatformFileCachedWrapper.h | |
virtual int64 Tell() |
Return the current write or read position. | HAL/IPlatformFileCachedWrapper.h | |
virtual bool Truncate
(
int64 NewSize |
Truncate the file to the given size (in bytes). | HAL/IPlatformFileCachedWrapper.h | |
virtual bool Write
(
const uint8* Source, |
Write bytes to the file. | HAL/IPlatformFileCachedWrapper.h |