Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL
Inheritance Hierarchy
- IFileManager
- FFileManagerGeneric
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/FileManagerGeneric.h |
Include | #include "HAL/FileManagerGeneric.h" |
Syntax
class FFileManagerGeneric : public IFileManager
Remarks
Base class for file managers.
This base class simplifies IFileManager implementations by providing simple, unoptimized implementations of functions whose implementations can be derived from other functions.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | DefaultConvertToRelativePath
(
const TCHAR* Filename |
Converts passed in filename to use a relative path. |
Overridden from IFileManager
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) |
![]() ![]() |
FString | ConvertToRelativePath
(
const TCHAR* Filename |
Converts passed in filename to use a relative path. |
![]() ![]() |
uint32 | Copy
(
const TCHAR* Dest, |
Copies a file. |
![]() ![]() |
FArchive * | CreateFileReader
(
const TCHAR* Filename, |
Opens a file for reading and create an FArchive which can be used to read from it. |
![]() ![]() |
FArchive * | CreateFileWriter
(
const TCHAR* Filename, |
Opens a file for writing and create an FArchive which can be used to write to it. |
![]() ![]() |
bool | Deletes a file. | |
![]() ![]() |
bool | DeleteDirectory
(
const TCHAR* Path, |
Deletes a directory. |
![]() ![]() |
bool |
DirectoryExists
(
const TCHAR* InDirectory |
Checks if a directory exists. |
![]() ![]() |
bool | FileExists
(
const TCHAR* Filename |
Checks if a file exists |
![]() ![]() |
int64 | Returns the size of a file. (Thread-safe) | |
![]() ![]() |
void | Finds file or directories. | |
![]() ![]() |
void | Finds all the files within the given directory, with optional file extension filter. | |
![]() ![]() |
void | FindFilesRecursive
(
TArray< FString >& FileNames, |
Finds file or directories recursively. |
![]() ![]() |
FDateTime | GetAccessTimeStamp
(
const TCHAR* Filename |
|
![]() ![]() |
double | GetFileAgeSeconds
(
const TCHAR* Filename |
Gets the age of a file measured in seconds. |
![]() ![]() |
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* Path |
|
![]() ![]() |
void | GetTimeStampPair
(
const TCHAR* PathA, |
|
![]() ![]() |
bool | IsReadOnly
(
const TCHAR* Filename |
If you're writing to a debug file, you should use CreateDebugFileWriter, and wrap the calling code in #if ALLOW_DEBUG_FILES. |
![]() ![]() ![]() |
bool | Returns whether the sandbox is enabled or not | |
![]() ![]() |
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 | MakeDirectory
(
const TCHAR* Path, |
Creates a directory. |
![]() ![]() |
bool | Moves/renames a file. | |
![]() ![]() |
void | Allow the file manager to handle the commandline | |
![]() ![]() |
bool | SendMessageToServer
(
const TCHAR* Message, |
Sends a message to the file server, and will block until it's complete. |
![]() ![]() |
void | SetSandboxEnabled
(
bool bInEnabled |
Enables/disables the sandbox, if it is being used |
![]() ![]() |
bool | SetTimeStamp
(
const TCHAR* Path, |
Sets the modification time of the given file |