Navigation
API > API/Editor > API/Editor/ContentBrowserData > API/Editor/ContentBrowserData/UContentBrowserDataSource
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnumerateItemsAtUserProvidedPath
(
const FStringView InPath, |
Enumerate items at the given user provided path, optionally filtering by type, and invoking the callback for each matching item. | ContentBrowserDataSource.h | |
virtual void EnumerateItemsAtUserProvidedPath
(
const FStringView InPath, |
ContentBrowserDataSource.h |
EnumerateItemsAtUserProvidedPath(const FStringView, const EContentBrowserItemTypeFilter, TFunctionRef< bool(FContentBrowserItemData &&)>)
Description
Enumerate items at the given user provided path, optionally filtering by type, and invoking the callback for each matching item. The user provided path can be any path format the data source supports other than a virtual path. The data source will deduce the path type.
This function must not block waiting on content discovery! It should use the current state as known at this point in time.
| Name | EnumerateItemsAtUserProvidedPath |
| Type | function |
| Header File | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
| Include Path | #include "ContentBrowserDataSource.h" |
| Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual void EnumerateItemsAtUserProvidedPath
(
const FStringView InPath,
const EContentBrowserItemTypeFilter InItemTypeFilter,
TFunctionRef < bool &&)> InCallback
)
Parameters
| Name | Remarks |
|---|---|
| InPath | The user provided path to find items for. |
| InItemTypeFilter | The types of items we want to find. |
| InCallback | The function to invoke for each matching item (return true to continue enumeration). |
| InSink | Parameter provided to receive output as either a callback or an array. |
EnumerateItemsAtUserProvidedPath(const FStringView, const EContentBrowserItemTypeFilter, const TGetOrEnumerateSink< FContentBrowserItemData > &)
| Name | EnumerateItemsAtUserProvidedPath |
| Type | function |
| Header File | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
| Include Path | #include "ContentBrowserDataSource.h" |
| Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual void EnumerateItemsAtUserProvidedPath
(
const FStringView InPath,
const EContentBrowserItemTypeFilter InItemTypeFilter,
const TGetOrEnumerateSink < FContentBrowserItemData > & InSink
)