Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFileManagerGeneric
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Finds all the files within the given directory, with optional file extension filter. | HAL/FileManagerGeneric.h | ||
| Finds file or directories. | HAL/FileManagerGeneric.h |
FindFiles(TArray< FString > &, const TCHAR , const TCHAR )
Description
Finds all the files within the given directory, with optional file extension filter.
| Name | FindFiles |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/FileManagerGeneric.h |
| Include Path | #include "HAL/FileManagerGeneric.h" |
| Source | /Engine/Source/Runtime/Core/Private/HAL/FileManagerGeneric.cpp |
virtual void FindFiles
(
TArray < FString > & FoundFiles,
const TCHAR * Directory,
const TCHAR * FileExtension
)
FoundFiles, All the files that matched the optional FileExtension filter, or all files if none was specified.
Parameters
| Name | Remarks |
|---|---|
| Directory, the | absolute path to the directory to search. Ex: "C:\UE4\Pictures" |
| FileExtension, If | FileExtension is NULL, or an empty string "" then all files are found. Otherwise FileExtension can be of the form .EXT or just EXT and only files with that extension will be returned. |
FindFiles(TArray< FString > &, const TCHAR *, bool, bool)
Description
Finds file or directories.
| Name | FindFiles |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/FileManagerGeneric.h |
| Include Path | #include "HAL/FileManagerGeneric.h" |
| Source | /Engine/Source/Runtime/Core/Private/HAL/FileManagerGeneric.cpp |
virtual void FindFiles
(
TArray < FString > & FileNames,
const TCHAR * Filename,
bool Files,
bool Directories
)