Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FUnixPlatformFile
Description
Call the Visit function of the visitor once for each file or directory in a single directory. This function does not explore subdirectories.
Virtual Inheritance
- IPlatformFile::IterateDirectory → FUnixPlatformFile::IterateDirectory
| Name | IterateDirectory |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformFile.h |
| Include Path | #include "Unix/UnixPlatformFile.h" |
| Source | /Engine/Source/Runtime/Core/Private/Unix/UnixPlatformFile.cpp |
virtual bool IterateDirectory
(
const TCHAR * Directory,
FDirectoryVisitor & 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 |