![]() |
Ark Server API (ASA) - Wiki
|
#include <IPlatformFileLogWrapper.h>
Inheritance diagram for FLoggedFileHandle:
Collaboration diagram for FLoggedFileHandle:Public Member Functions | |
| FLoggedFileHandle (IFileHandle *InFileHandle, const TCHAR *InFilename, FLoggedPlatformFile &InOwner) | |
| virtual | ~FLoggedFileHandle () |
| virtual int64 | Tell () override |
| virtual bool | Seek (int64 NewPosition) override |
| virtual bool | SeekFromEnd (int64 NewPositionRelativeToEnd) override |
| virtual bool | Read (uint8 *Destination, int64 BytesToRead) override |
| virtual bool | Write (const uint8 *Source, int64 BytesToWrite) override |
| virtual int64 | Size () override |
| virtual bool | Flush (const bool bFullFlush=false) override |
| virtual bool | Truncate (int64 NewSize) override |
| virtual void | ShrinkBuffers () override |
Public Member Functions inherited from IFileHandle | |
| virtual | ~IFileHandle () |
Private Attributes | |
| TUniquePtr< IFileHandle > | FileHandle |
| FString | Filename |
| FLoggedPlatformFile & | PlatformFile |
Definition at line 42 of file IPlatformFileLogWrapper.h.
| FLoggedFileHandle::FLoggedFileHandle | ( | IFileHandle * | InFileHandle, |
| const TCHAR * | InFilename, | ||
| FLoggedPlatformFile & | InOwner ) |
Here is the caller graph for this function:
|
virtual |
Flushes file handle to disk.
| bFullFlush | true to flush everything about the file (including its meta-data) with a strong guarantee that it will be on disk by the time this function returns, or false to let the operating/file system have more leeway about when the data actually gets written to disk |
Implements IFileHandle.
Definition at line 108 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:
|
inlineoverridevirtual |
Read bytes from the file.
| Destination | Buffer to holds the results, should be at least BytesToRead in size. |
| BytesToRead | Number of bytes to read into the destination. |
Implements IFileHandle.
Definition at line 81 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Change the current write or read position.
| NewPosition | new write or read position |
Implements IFileHandle.
Definition at line 63 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Change the current write or read position, relative to the end of the file.
| NewPositionRelativeToEnd | new write or read position, relative to the end of the file should be <=0! |
Implements IFileHandle.
Definition at line 72 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Minimizes optional system or process cache kept for the file.
Reimplemented from IFileHandle.
Definition at line 126 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Return the total size of the file
Reimplemented from IFileHandle.
Definition at line 99 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Return the current write or read position.
Implements IFileHandle.
Definition at line 54 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:Truncate the file to the given size (in bytes).
| NewSize | Truncated file size (in bytes). |
Implements IFileHandle.
Definition at line 117 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:
|
inlineoverridevirtual |
Write bytes to the file.
| Source | Buffer to write, should be at least BytesToWrite in size. |
| BytesToWrite | Number of bytes to write. |
Implements IFileHandle.
Definition at line 90 of file IPlatformFileLogWrapper.h.
Here is the call graph for this function:
|
private |
Definition at line 44 of file IPlatformFileLogWrapper.h.
|
private |
Definition at line 45 of file IPlatformFileLogWrapper.h.
|
private |
Definition at line 47 of file IPlatformFileLogWrapper.h.