Choose your operating system:
Windows
macOS
Linux
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementList.h |
Include |
#include "Elements/Framework/TypedElementList.h" |
class FTypedElementList : public TSharedFromThis< FTypedElementList >
A list of element handles. Provides high-level access to groups of elements, including accessing elements that implement specific interfaces.
No constructors are accessible with public or protected access.
Name | Description | |
---|---|---|
|
~FTypedElementList() |
Name | Description | ||
---|---|---|---|
|
Add ( |
Add the given element owner to this element list, if it isn't already in the list. |
|
|
Add ( |
Add the given element handle to this element list, if it isn't already in the list. |
|
|
Add ( |
Add the given element handle to this element list, if it isn't already in the list. |
|
|
Append ( |
Append the given element owners to this element list. |
|
|
Append ( |
Append the given element owners to this element list. |
|
|
Append ( |
Append another element list to this element list. |
|
|
Append ( |
Append the given element handles to this element list. |
|
|
FTypedElemen... |
Clone() |
Clone this list instance. @note Only copies elements; does not copy any bindings! |
|
Contains ( |
Does this element list contain an entry for the given element owner? |
|
|
Contains ( |
Does this element list contain an entry for the given element handle? |
|
|
Contains ( |
Does this element list contain an entry for the given element ID? |
|
|
CountElements ( |
Count the number of elements in this list, optionally filtering to elements that implement the given interface. |
|
|
CountElementsOfType ( |
Count the number of elements in this list of the given type. |
|
|
CountElementsOfType ( |
Count the number of elements in this list of the given type. |
|
|
Empty ( |
Remove all entries from this element list, potentially leaving space allocated for the given number of entries. |
|
|
ForEachElement ( |
Enumerate the elements in this list that implement the given interface. |
|
|
ForEachElementHandle ( |
Enumerate the handle of every element in this list, optionally filtering to elements that implement the given interface. |
|
|
TTypedElemen... |
GetBottomElement() |
Get the last element implementing the given interface. |
|
TTypedElemen... |
GetBottomElement ( |
Get the last element that implement the given interface and pass the predicate. |
|
const FTyped... |
GetCounter() |
Get the counter for the elements within the list. |
|
TTypedElemen... |
GetElement ( |
Get the element from the given handle. |
|
GetElement ( |
Get the element from the given handle. |
|
|
TTypedElemen... |
GetElementAt ( |
Get the element at the given index. @note Use IsValidIndex to test for validity. |
|
GetElementAt ( |
Get the element at the given index. @note Use IsValidIndex to test for validity. |
|
|
FTypedElemen... |
GetElementHandleAt ( |
Get the element handle at the given index. @note Use IsValidIndex to test for validity. |
|
GetElementHandles ( |
Get the handle of every element in this list, optionally filtering to elements that implement the given interface. |
|
|
GetElementHandles ( |
Get the handle of every element in this list, optionally filtering to elements that implement the given interface. |
|
|
UObject *... |
GetElementInterface ( |
Get the element interface from the given handle. |
|
BaseInterfac... |
GetElementInterface ( |
Get the element interface from the given handle. |
|
FScopedClear... |
GetScopedClearNewPendingChange() |
Get a scoped object that when destroyed it clear a pending change notification without emitting the notification if it happened during its lifecycle. |
|
TTypedElemen... |
GetTopElement ( |
Get the first element that implement the given interface and pass the predicate A function that should return true when the element is desirable |
|
TTypedElemen... |
GetTopElement() |
Get the first element implementing the given interface. |
|
HasElements ( |
Test whether there are elements in this list, optionally filtering to elements that implement the given interface. |
|
|
HasElementsOfType ( |
Test whether there are elements in this list of the given type. |
|
|
HasElementsOfType ( |
Test whether there are elements in this list of the given type. |
|
|
IsValidIndex ( |
Is the given index a valid entry within this element list? |
|
|
FTypedElemen... |
Legacy_GetSync() |
Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as an element list is changed. |
|
FTypedElemen... |
Legacy_GetSyncPtr() |
Access the interface to allow external systems (such as USelection) to receive immediate sync notifications as an element list is changed. |
|
NotifyPendingChanges() |
Invoke the delegate called whenever this element list has been changed. |
|
|
Num() |
Get the number of entries within this element list. |
|
|
OnChanged() |
||
|
FOnPreChange... |
OnPreChange() |
|
|
FTypedElemen... |
Private_CreateElementList ( |
Internal function used by the element registry to create an element list instance. |
|
Remove ( |
Remove the given element ID from this element list, if it is in the list. |
|
|
Remove ( |
Remove the given element handle from this element list, if it is in the list. |
|
|
Remove ( |
Remove the given element owner from this element list, if it is in the list. |
|
|
RemoveAll ( |
Remove any elements that match the given predicate from this element list. |
|
|
RemoveAll ( |
Remove any element handles that match the given predicate from this element list. |
|
|
Reserve ( |
Pre-allocate enough memory in this element list to store the given number of entries. |
|
|
Reset() |
Remove all entries from this element list, preserving existing allocations. |
|
|
Shrink() |
Shrink this element list storage to avoid slack. |
Name | Description | ||
---|---|---|---|
|
FTypedElemen... |
operator[] ( |
Get the element handle at the given index. @note Use IsValidIndex to test for validity. |
Name |
Description |
|
---|---|---|
|
FOnChanged |
Access the delegate that is invoked whenever this element list has been changed. |
|
FOnPreChange |
Access the delegate that is invoked whenever this element list is potentially about to change. |
|
FScopedClearNewPendingChange |
A utility struct that help to cancel any new pending notification that happened in a scope. |
Name |
Description |
|
---|---|---|
|
EChangeType |