IFileManager::IterateDirectoryStat

Call the visitor once for each file or directory in a single directory.

Windows
MacOS
Linux

Override Hierarchy

IFileManager::IterateDirectoryStat()

FFileManagerGeneric::IterateDirectoryStat()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/FileManager.h

Include

#include "HAL/FileManager.h"

Syntax

bool IterateDirectoryStat
(
    const TCHAR * Directory,
    IPlatformFile::FDirectoryStatVisitorFunc Visitor
)

Remarks

Call the visitor once for each file or directory in a single directory. This function does not explore subdirectories.

Returns

false if the directory did not exist or if the visitor returned false.

Parameters

Parameter

Description

Directory

The directory to iterate the contents of.

Visitor

Visitor to call for each element of the directory (see FDirectoryStatVisitor::Visit for the signature)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss