Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL
Inheritance Hierarchy
- IPlatformFile
- FPlatformFileOpenLog
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/IPlatformFileOpenLogWrapper.h |
| Include | #include "HAL/IPlatformFileOpenLogWrapper.h" |
Syntax
class FPlatformFileOpenLog : public IPlatformFile
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLogDuplicates | ||
| FCriticalSection | CriticalSection | ||
| TMap< FString, int64 > | FilenameAccessMap | ||
| TArray< IFileHandle * > | LogOutput | ||
| IPlatformFile * | LowerLevel | ||
| int64 | OpenOrder |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddLabel
(
const FmtType& Fmt, |
||
| void | AddLabelToOpenLog
(
const TCHAR* LabelStr |
||
| void | AddPackageToOpenLog
(
const TCHAR* Filename |
||
| void | AddToOpenLog
(
const TCHAR* Filename |
||
| const TCHAR * | GetTypeName () |
Overridden from IPlatformFile
| Type | Name | Description | |
|---|---|---|---|
| FString | ConvertToAbsolutePathForExternalAppForRead
(
const TCHAR* Filename |
Converts passed in filename to use an absolute path (for reading). | |
| FString | ConvertToAbsolutePathForExternalAppForWrite
(
const TCHAR* Filename |
Converts passed in filename to use an absolute path (for writing) | |
| bool | CopyDirectoryTree
(
const TCHAR* DestinationDirectory, |
Copy a file or a hierarchy of files (directory). | |
| 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 | CreateDirectoryTree
(
const TCHAR* Directory |
Create a directory, including any parent directories 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 | 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 visitor once for each file or directory in a single directory. | |
| 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 | 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 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 | IterateDirectoryStatRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. | |
| bool | IterateDirectoryStatRecursively
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a directory tree. | |
| bool | 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 * | Attempt to open a file for reading. | ||
| IFileHandle * | Attempt to open a file for writing. | ||
| bool | SendMessageToServer
(
const TCHAR* Message, |
Sends a message to the file server, and will block until it's complete. | |
| 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. |