Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMapBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ValueType & FindOrAdd
(
const KeyType& Key |
Find the value associated with a specified key, or if none exists, adds a value using the default constructor. | Containers/Map.h | |
ValueType & FindOrAdd
(
KeyType&& Key |
Containers/Map.h | ||
ValueType & FindOrAdd
(
const KeyType& Key, |
Find the value associated with a specified key, or if none exists, adds a value using the default constructor. | Containers/Map.h | |
ValueType & FindOrAdd
(
const KeyType& Key, |
Containers/Map.h | ||
ValueType & FindOrAdd
(
KeyType&& Key, |
Containers/Map.h | ||
ValueType & FindOrAdd
(
KeyType&& Key, |
Containers/Map.h |
FindOrAdd(const KeyType &)
Description
Find the value associated with a specified key, or if none exists, adds a value using the default constructor.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
const KeyType & Key
)
A reference to the value associated with the specified key.
Parameters
| Name | Remarks |
|---|---|
| Key | The key to search for. |
FindOrAdd(KeyType &&)
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
KeyType && Key
)
FindOrAdd(const KeyType &, const ValueType &)
Description
Find the value associated with a specified key, or if none exists, adds a value using the default constructor.
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
const KeyType & Key,
const ValueType & Value
)
A reference to the value associated with the specified key.
Parameters
| Name | Remarks |
|---|---|
| Key | The key to search for. |
| Value | The value to associate with the key. |
FindOrAdd(const KeyType &, ValueType &&)
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
const KeyType & Key,
ValueType && Value
)
FindOrAdd(KeyType &&, const ValueType &)
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
KeyType && Key,
const ValueType & Value
)
FindOrAdd(KeyType &&, ValueType &&)
| Name | FindOrAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
ValueType & FindOrAdd
(
KeyType && Key,
ValueType && Value
)