Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TDirectoryTree
Description
Add a path to the tree if it does not already exist. Construct default Value for it if it did not already exist. Return a reference to the added or existing Value. Optionally report whether the path already existed. This reference can be invalidated by any operations that modify the tree.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/DirectoryTree.h |
| Include Path | #include "Containers/DirectoryTree.h" |
ValueType & FindOrAdd
(
FStringView Path,
bool * bOutExisted
)