Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL
Inheritance Hierarchy
- IPlatformFile
- FLoggedPlatformFile
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/IPlatformFileLogWrapper.h |
Include | #include "HAL/IPlatformFileLogWrapper.h" |
Syntax
class FLoggedPlatformFile : public IPlatformFile
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const TCHAR * | GetTypeName () |
|
![]() |
void | HandleDumpCommand
(
const TCHAR* Cmd, |
|
![]() |
void | OnHandleClosed
(
const FString& Filename |
|
![]() |
void | OnHandleOpen
(
const FString& Filename |
Overridden from IPlatformFile
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CopyFile
(
const TCHAR* To, |
Copy a file. This will fail if the destination file already exists. |
![]() ![]() |
bool | CreateDirectory
(
const TCHAR* Directory |
Create a directory and return true if the directory was created or already existed. |
![]() ![]() |
bool | DeleteDirectory
(
const TCHAR* Directory |
Delete a directory and return true if the directory was deleted or otherwise does not exist. |
![]() ![]() |
bool | DeleteDirectoryRecursively
(
const TCHAR* Directory |
Delete all files and subdirectories in a directory, then delete the directory itself |
![]() ![]() |
bool | DeleteFile
(
const TCHAR* Filename |
Delete a file and return true if the file exists. Will not delete read only files. |
![]() ![]() |
bool |
DirectoryExists
(
const TCHAR* Directory |
Return true if the directory exists. |
![]() ![]() |
bool | FileExists
(
const TCHAR* Filename |
Return true if the file exists. |
![]() ![]() |
int64 | FileSize
(
const TCHAR* Filename |
Return the size of the file, or -1 if it doesn't exist. |
![]() ![]() |
FDateTime | GetAccessTimeStamp
(
const TCHAR* Filename |
Return the last access time of a file. |
![]() ![]() |
FString | GetFilenameOnDisk
(
const TCHAR* Filename |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem |
![]() ![]() |
IPlatformFile * | Gets the platform file wrapped by this file. | |
![]() ![]() ![]() |
const TCHAR * | GetName () |
Gets this platform file type name. |
![]() ![]() |
FFileStatData | GetStatData
(
const TCHAR* FilenameOrDirectory |
Return the stat data for the given file or directory. |
![]() ![]() |
FDateTime | GetTimeStamp
(
const TCHAR* Filename |
Return the modification time of a file. |
![]() ![]() |
bool | Initialize
(
IPlatformFile* Inner, |
Initializes platform file. |
![]() ![]() |
bool | IsReadOnly
(
const TCHAR* Filename |
Return true if the file is read only. |
![]() ![]() |
bool | IterateDirectory
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | IterateDirectoryRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
![]() ![]() |
bool | IterateDirectoryStat
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | IterateDirectoryStatRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
![]() ![]() |
bool | MoveFile
(
const TCHAR* To, |
Attempt to move a file. Return true if successful. Will not overwrite existing files. |
![]() ![]() |
IAsyncReadFileHandle * | OpenAsyncRead
(
const TCHAR* Filename |
Open a file for async reading. This call does not hit the disk or block. |
![]() ![]() |
IMappedFileHandle * | OpenMapped
(
const TCHAR* Filename |
Open a file for async reading. This call does hit the disk; it is synchronous open. |
![]() ![]() |
IFileHandle * | OpenRead
(
const TCHAR* Filename, |
Attempt to open a file for reading. |
![]() ![]() |
IFileHandle * | OpenWrite
(
const TCHAR* Filename, |
Attempt to open a file for writing. |
![]() ![]() |
void | SetAsyncMinimumPriority
(
EAsyncIOPriorityAndFlags MinPriority |
Controls if the pak precacher should process precache requests. |
![]() ![]() |
void | SetLowerLevel
(
IPlatformFile* NewLowerLevel |
Sets the platform file wrapped by this file. |
![]() ![]() |
bool | SetReadOnly
(
const TCHAR* Filename, |
Attempt to change the read only status of a file. Return true if successful. |
![]() ![]() |
void | SetTimeStamp
(
const TCHAR* Filename, |
Sets the modification time of a file |
![]() ![]() ![]() |
bool | ShouldBeUsed
(
IPlatformFile* Inner, |
Checks if this platform file should be used even though it was not asked to be. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FLogStatVisitor | ||
![]() |
FLogVisitor |