Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TCompactSet
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSetElementId AddByHash
(
uint32 KeyHash, |
Adds an element to the set. | ||
FSetElementId AddByHash
(
uint32 KeyHash, |
AddByHash(uint32, const ElementType &, bool *)
Description
Adds an element to the set.
| Name | AddByHash |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CompactSet.h.inl |
| Include Path | #include "Containers/CompactSet.h.inl" |
FSetElementId AddByHash
(
uint32 KeyHash,
const ElementType & InElement,
bool * bIsAlreadyInSetPtr
)
A handle to the element stored in the set
Parameters
| Name | Remarks |
|---|---|
| KeyHash | A precomputed hash value, calculated in the same way as ElementType is hashed. |
| InElement | Element to add to set |
| bIsAlreadyInSetPtr | [out] Optional pointer to bool that will be set depending on whether element is already in set |
See Also
- Class documentation section on ByHash() functions
AddByHash(uint32, ElementType &&, bool *)
| Name | AddByHash |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/CompactSet.h.inl |
| Include Path | #include "Containers/CompactSet.h.inl" |
FSetElementId AddByHash
(
uint32 KeyHash,
ElementType && InElement,
bool * bIsAlreadyInSetPtr
)