Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IPlatformFile
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IterateDirectoryStat
(
const TCHAR* Directory, |
Call the Visit function of the visitor once for each file or directory in a single directory. | GenericPlatform/GenericPlatformFile.h | |
virtual bool IterateDirectoryStat
(
const TCHAR* Directory, |
Call the visitor once for each file or directory in a single directory. | GenericPlatform/GenericPlatformFile.h |
IterateDirectoryStat(const TCHAR *, FDirectoryStatVisitor &)
Description
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
| Name | IterateDirectoryStat |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
bool IterateDirectoryStat
(
const TCHAR * Directory,
FDirectoryStatVisitor & Visitor
)
false if the directory did not exist or if the visitor returned false.
Parameters
| Name | Remarks |
|---|---|
| Directory | The directory to iterate the contents of. |
| Visitor | Visitor to call for each element of the directory |
IterateDirectoryStat(const TCHAR *, FDirectoryStatVisitorFunc)
Description
Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
| Name | IterateDirectoryStat |
| 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 bool IterateDirectoryStat
(
const TCHAR * Directory,
FDirectoryStatVisitorFunc Visitor
)
false if the directory did not exist or if the visitor returned false.
Parameters
| Name | Remarks |
|---|---|
| Directory | The directory to iterate the contents of. |
| Visitor | Visitor to call for each element of the directory (see FDirectoryStatVisitor::Visit for the signature) |