Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IPlatformFile
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FFileOpenResult OpenWrite
(
const TCHAR* Filename, |
Open a file handle for writing. | GenericPlatform/GenericPlatformFile.h | |
IFileHandle * OpenWrite
(
const TCHAR* Filename, |
Attempt to open a file for writing. | GenericPlatform/GenericPlatformFile.h |
OpenWrite(const TCHAR *, EOpenWriteFlags)
Description
Open a file handle for writing.
| Name | OpenWrite |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformFile.cpp |
virtual FFileOpenResult OpenWrite
(
const TCHAR * Filename,
EOpenWriteFlags Flags
)
The return value will either contain the valid file handle or an error message.
Parameters
| Name | Remarks |
|---|---|
| Filename | The file to be opened |
| Flags | Allows specialization of the open operation, |
See Also
-
FFileOpenResult
OpenWrite(const TCHAR *, bool, bool)
Description
Attempt to open a file for writing. If successful will return a non-nullptr pointer. Close the file by deleting the handle.
| Name | OpenWrite |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
IFileHandle * OpenWrite
(
const TCHAR * Filename,
bool bAppend,
bool bAllowRead
)