Navigation
Unreal Engine C++ API Reference > Runtime > Core > Unix
Inheritance Hierarchy
- IPlatformFile
- IPhysicalPlatformFile
- FUnixPlatformFile
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformFile.h |
Include | #include "Unix/UnixPlatformFile.h" |
Syntax
class FUnixPlatformFile : public IPhysicalPlatformFile
Remarks
Unix File I/O implementation
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bLoggingError | We're logging an error message. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | CreateDirectoriesFromPath
(
const TCHAR* Path |
|
![]() |
bool | IterateDirectoryCommon
(
const TCHAR* Directory, |
|
![]() ![]() |
FString | NormalizeDirectory
(
const TCHAR* Directory, |
|
![]() ![]() |
FString | NormalizeFilename
(
const TCHAR* Filename, |
Unix File I/O implementation |
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 | 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 | 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 |
![]() ![]() |
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 | IsReadOnly
(
const TCHAR* Filename |
Return true if the file is read only. |
![]() ![]() |
ESymlinkResult | Return true if the file is a symbolic link | |
![]() ![]() |
bool | IterateDirectory
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | IterateDirectoryStat
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. |
![]() ![]() |
bool | Attempt to move a file. Return true if successful. Will not overwrite existing files. | |
![]() ![]() |
IMappedFileHandle * | OpenMapped
(
const TCHAR* Filename |
Open a file for async reading. This call does hit the disk; it is synchronous open. |
![]() ![]() |
IFileHandle * | Attempt to open a file for reading. | |
![]() ![]() |
IFileHandle * | Attempt to open a file for writing. | |
![]() ![]() |
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 |