![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IOSPlatformFile.h>
Inheritance diagram for FIOSPlatformFile:Protected Member Functions | |
| virtual FString | NormalizeFilename (const TCHAR *Filename) |
| virtual FString | NormalizeDirectory (const TCHAR *Directory) |
Additional Inherited Members | |
Public Types inherited from IPlatformFile | |
| enum class | EOpenReadFlags : uint8 { None = 0 , AllowWrite = 1 << 0 , AllowDelete = 1 << 1 , NoBuffering = 1 << 2 } |
| enum class | EOpenWriteFlags : uint8 { None = 0 , AllowRead = 1 << 0 , Append = 1 << 1 } |
| typedef TFunctionRef< bool(const TCHAR *, bool)> | FDirectoryVisitorFunc |
| typedef TFunctionRef< bool(const TCHAR *, const FFileStatData &)> | FDirectoryStatVisitorFunc |
| typedef TFunctionRef< bool(const TCHAR *, const FFileJournalData &)> | FDirectoryJournalVisitorFunc |
Static Public Member Functions inherited from IPlatformFile | |
| static CORE_API IPlatformFile & | GetPlatformPhysical () |
| static CORE_API const TCHAR * | GetPhysicalTypeName () |
iOS File I/O implementation
| FIOSPlatformFile::FIOSPlatformFile | ( | ) |
|
overridevirtual |
Converts passed in filename to use an absolute path (for reading).
| Filename | filename to convert to use an absolute path, safe to pass in already using absolute path |
Reimplemented from IPlatformFile.
|
overridevirtual |
Converts passed in filename to use an absolute path (for writing)
| Filename | filename to convert to use an absolute path, safe to pass in already using absolute path |
Reimplemented from IPlatformFile.
Create a directory and return true if the directory was created or already existed.
Reimplemented from FApplePlatformFile.
Delete a directory and return true if the directory was deleted or otherwise does not exist.
Reimplemented from FApplePlatformFile.
Delete a file and return true if the file exists. Will not delete read only files.
Reimplemented from FApplePlatformFile.
Return true if the directory exists.
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Checks to see if this file system creates publicly accessible files
Reimplemented from IPlatformFile.
Return true if the file exists.
Reimplemented from FApplePlatformFile.
Return the size of the file, or -1 if it doesn't exist.
Reimplemented from FApplePlatformFile.
Return the last access time of a file. Returns FDateTime::MinValue() on failure
Reimplemented from FApplePlatformFile.
|
overridevirtual |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Return the stat data for the given file or directory. Check the FFileStatData::bIsValid member before using the returned data
Reimplemented from FApplePlatformFile.
Return the modification time of a file. Returns FDateTime::MinValue() on failure
Reimplemented from FApplePlatformFile.
Return true if the file is read only.
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
| Directory | The directory to iterate the contents of. |
| Visitor | Visitor to call for each element of the directory |
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
| Directory | The directory to iterate the contents of. |
| Visitor | Visitor to call for each element of the directory |
Reimplemented from FApplePlatformFile.
Attempt to move a file. Return true if successful. Will not overwrite existing files.
Reimplemented from FApplePlatformFile.
|
protectedvirtual |
Reimplemented from FApplePlatformFile.
|
protectedvirtual |
Mac File I/O implementation
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Attempt to open a file for reading. Please consider using the new overload that takes EReadFlags instead of bools as parameters.
| Filename | file to be opened |
| bAllowWrite | (applies to certain platforms only) whether this file is allowed to be written to by other processes. This flag is needed to open files that are currently being written to as well. |
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Attempt to open a file for writing. If successful will return a non-nullptr pointer. Close the file by deleting the handle.
Reimplemented from FApplePlatformFile.
Sets file system to create publicly accessible files or not
| bCreatePublicFiles | true to set the file system to create publicly accessible files |
Reimplemented from IPlatformFile.
|
overridevirtual |
Attempt to change the read only status of a file. Return true if successful.
Reimplemented from FApplePlatformFile.
|
overridevirtual |
Sets the modification time of a file
Reimplemented from FApplePlatformFile.