Module |
|
Header |
/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItemData.h |
Include |
#include "ContentBrowserItemData.h" |
class FContentBrowserItemData
The primitive data that represents an internal Content Browser item, as defined and managed by a Content Browser data source.
FContentBrowserItemData itself is a concrete type, so extensibility is handled via the IContentBrowserItemDataPayload interface, which can be used to store any data source defined payload data that is required to operate on the underlying thing that this item represents.
FContentBrowserItemData has no real functionality, and relies on passing itself back into the correct data source instance when asked to perform actions or validation.
@note This is the lower-level version of FContentBrowserItem, and is used internally by data sources. External code is more likely to use FContentBrowserItem directly, as that type can composite multiple internal items together (eg, combining equivalent folder items from different data sources).
Name | Description | |
---|---|---|
|
FContentBrowserItemData() |
Default constructor. |
|
FContentBrowserItemData ( |
Copy support. |
|
FContentBrowserItemData |
Move support. |
|
FContentBrowserItemData ( |
Create an internal Content Browser item. |
Name | Description | ||
---|---|---|---|
|
GetDisplayName() |
Get the user-facing name of this item (eg, "MyFile"). |
|
|
EContentBrow... |
GetItemCategory() |
Get the flags denoting the item category information for this item instance. |
|
EContentBrow... |
GetItemFlags() |
Get the flags denoting basic state information for this item instance. |
|
GetItemName() |
Get the leaf-name of this item (eg, "MyFile"). |
|
|
EContentBrow... |
GetItemTemporaryReason() |
Get the flags denoting the item temporary reason information for this item instance. |
|
EContentBrow... |
GetItemType() |
Get the flags denoting the item type information for this item instance. |
|
UContentBrow... |
GetOwnerDataSource() |
Get the pointer to the data source that manages the thing represented by this item. |
|
TSharedPtr< ... |
GetPayload() |
Get any data source defined payload data for this item. |
|
GetVirtualPath() |
Get the complete virtual path that uniquely identifies this item within its owner data source (eg, "/MyRoot/MyFolder/MyFile"). |
|
|
IsDisplayOnlyFolder() |
Check to see whether this item is a display only folder. |
|
|
IsFile() |
Check to see whether this item is a file. |
|
|
IsFolder() |
Check to see whether this item is a folder. |
|
|
IsTemporary() |
Check to see whether this item is temporary. |
|
|
IsValid() |
Check to see whether this item is valid (is either a folder or a file). |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
FContentBrow... |
operator= ( |
|
|
FContentBrow... |
operator= |
|
|
operator== ( |
Comparison support. |