Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FOutputDeviceFile
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/OutputDeviceFile.h |
Include | #include "Misc/OutputDeviceFile.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/OutputDeviceFile.cpp |
FOutputDeviceFile
&40;
const TCHAR &42; InFilename,
bool bDisableBackup,
bool bAppendIfExists,
bool bCreateWriterLazily,
TFunction< void(const TCHAR &42;)> FileOpenedCallback
&41;
Remarks
Constructor, initializing member variables.
Constructor, initializing member variables.
Parameters
Name | Description |
---|---|
InFilename | Filename to use, can be nullptr. If null, a file name will be automatically generated. If a filename is specified but cannot be opened because it is already open/used by another process, the implementation will try to generate a new name automatically, until the a file is created or the number of trials exhausted (32). |
bDisableBackup | If true, existing files will not be backed up |
bCreateWriterLazily | If true, delay the creation of the file until something needs to be written, otherwise, open it immediatedly. |
FileOpenedCallback | If bound, invoked when the output file is successfully opened, passing the actual filename. |
InFilename | Filename to use, can be NULL |
bInDisableBackup | If true, existing files will not be backed up |