FCookedIterativeNetworkFile::IterateDirectoryRecursively

Call the Visit function of the visitor once for each file or directory in a directory tree.

Windows
MacOS
Linux

Override Hierarchy

References

Module

CookedIterativeFile

Header

/Engine/Source/Runtime/CookedIterativeFile/Public/CookedIterativeNetworkFile.h

Include

#include "CookedIterativeNetworkFile.h"

Source

/Engine/Source/Runtime/CookedIterativeFile/Private/CookedIterativeNetworkFile.cpp

Syntax

virtual bool IterateDirectoryRecursively
(
    const TCHAR * Directory,
    IPlatformFile::FDirectoryVisitor & Visitor
)

Remarks

Call the Visit function of the visitor once for each file or directory in a directory tree. This function explores 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, recursively.

Visitor

Visitor to call for each element of the directory and each element of all subdirectories.

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