Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSortedSet
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ElementType & FindOrAdd
(
const ElementType& InValue, |
Adds an element to the set if not already present and returns a reference to the added or existing element. | Containers/SortedSet.h | |
ElementType & FindOrAdd
(
ElementType&& InValue, |
Containers/SortedSet.h |
FindOrAdd(const ElementType &, bool *)
Description
Adds an element to the set if not already present and returns a reference to the added or existing element.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SortedSet.h |
| Include Path | #include "Containers/SortedSet.h" |
ElementType & FindOrAdd
(
const ElementType & InValue,
bool * bIsAlreadyInSetPtr
)
A handle to the value in the set (only valid until the next change to the set).
Parameters
| Name | Remarks |
|---|---|
| InValue | The value to add. |
| bIsAlreadyInSetPtr | [out] Optional pointer to bool that will be set depending on whether element is already in set |
FindOrAdd(ElementType &&, bool *)
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/SortedSet.h |
| Include Path | #include "Containers/SortedSet.h" |
ElementType & FindOrAdd
(
ElementType && InValue,
bool * bIsAlreadyInSetPtr
)