Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItem.h |
Include |
#include "ContentBrowserItem.h" |
struct FContentBrowserItem
Representation of a Content Browser item.
FContentBrowserItem is potentially a composite of multiple internal items (eg, combining equivalent folder items from different data sources), and defers back to these internal items to provide its functionality (via the data source that owns each internal item).
Name | Description | |
---|---|---|
|
FContentBrowserItem() |
Default constructor. |
|
FContentBrowserItem ( |
Construct this composite item from the given internal item(s). |
|
FContentBrowserItem ( |
Default constructor. |
|
FContentBrowserItem ( |
Default constructor. |
|
FContentBrowserItem ( |
Copy support. |
|
FContentBrowserItem ( |
Move support. |
Name | Description | ||
---|---|---|---|
|
Append ( |
Append the given item to this one, asserting if the combination isn't possible. |
|
|
Append ( |
Append the given item to this one, asserting if the combination isn't possible. |
|
|
AppendItemReference ( |
Attempt to append any path references for this item to the given string. |
|
|
CanCopy |
Query whether this item is can be copied, optionally providing error information if it cannot. |
|
|
CanDelete ( |
Query whether this item is can be deleted, optionally providing error information if it cannot. |
|
|
CanDuplicate ( |
Query whether this item is can be duplicated, optionally providing error information if it cannot. |
|
|
CanEdit ( |
Query whether this item is can be edited, optionally providing error information if it cannot. |
|
|
CanMove |
Query whether this item is can be moved, optionally providing error information if it cannot. |
|
|
CanPreview ( |
Query whether this item is can be previewed, optionally providing error information if it cannot. |
|
|
CanRename |
Query whether this item is can be renamed, optionally providing error information if it cannot. |
|
|
CanSave ( |
Query whether this item is can be saved, optionally providing error information if it cannot. |
|
|
Copy ( |
Attempt to copy this item to the given virtual path. |
|
|
Delete() |
Attempt to delete this item. |
|
|
FContentBrow... |
Duplicate() |
Attempt to begin the process of asynchronously duplicating this item, populating a temporary item that can be finalized or canceled by the user. |
|
Edit() |
Attempt to open this item for editing. |
|
|
GetDisplayName() |
Get the user-facing name of this item (eg, "MyFile"). |
|
|
FItemDataArr... |
GetInternalItems() |
Get the array of internal items that comprise this composite item. |
|
GetInternalPath() |
Gets the internal path if it has one (eg,. "/Game"). |
|
|
GetInvariantPath() |
Gets the path that will not change based on toggling "Show All Folder", "Organize Folders" or other rules (eg,. "/Plugins"). |
|
|
FContentBrow... |
GetItemAttribute |
Query the value of the given attribute on this item. |
|
FContentBrow... |
GetItemAttributes ( |
Query the values of all attributes on this item. |
|
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"). |
|
|
GetItemPhysicalPath ( |
Query the physical (on-disk) path of this item. |
|
|
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. |
|
const FConte... |
GetPrimaryInternalItem() |
Get the primary internal item from this composite item, if any. |
|
GetVirtualPath() |
Get the complete virtual path that uniquely identifies this item within its owner data source (eg, "/MyRoot/MyFolder/MyFile"). |
|
|
IsDirty() |
Query whether this item is considered dirty (ie, has unsaved changes). |
|
|
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 (contains at least one internal item). |
|
|
Legacy_TryGetAssetData ( |
Attempt to retrieve the asset data associated with this item. |
|
|
Legacy_TryGetPackagePath ( |
Attempt to retrieve the package path associated with this item. |
|
|
Move ( |
Attempt to move this item to the given virtual path. |
|
|
Preview() |
Attempt to preview this item. |
|
|
Remove ( |
Remove the given item from this one, asserting if the removal wasn't possible. |
|
|
Remove ( |
Remove the given item from this one, asserting if the removal wasn't possible. |
|
|
Rename ( |
Attempt to rename this item. |
|
|
Save ( |
Attempt to save this item. |
|
|
TryAppend ( |
Attempt to append the given item to this one, providing error information if the combination isn't possible. |
|
|
TryAppend ( |
Attempt to append the given item to this one, providing error information if the combination isn't possible. |
|
|
TryGetCollectionId ( |
Attempt to retrieve the identifier that should be used when storing a reference to this item within a collection. |
|
|
TryRemove ( |
Attempt to remove the given item from this one, providing error information if the removal wasn't possible. |
|
|
TryRemove ( |
Attempt to remove the given item from this one, providing error information if the removal wasn't possible. |
|
|
UpdateThumbnail ( |
Attempt to update the thumbnail associated with this item. |
Name | Description | ||
---|---|---|---|
|
FContentBrow... |
operator= ( |
|
|
FContentBrow... |
operator= ( |
Name |
Description |
---|---|
FItemDataArrayView |