Navigation
API > API/Plugins > API/Plugins/AudioGameplay
Variant of TMap that allows multiple key types within the same map instance. Key types must be hash-able, as with a regular map.
| Name | TMapAnyKey |
| Type | class |
| Header File | /Engine/Plugins/AudioGameplay/Source/AudioGameplay/Public/MapAnyKey.h |
| Include Path | #include "MapAnyKey.h" |
Syntax
template<typename ValueType>
class TMapAnyKey : public TMap< uint32, ValueType >
Inheritance Hierarchy
- TMap → TMapAnyKey
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | TMap< uint32, ValueType > | MapAnyKey.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ValueType & FindOrAdd
(
AnyKeyType Key, |
Find the value associated with a specified key, or if none exists, add a value using the default constructor. | MapAnyKey.h |