Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/Map.h |
Include |
#include "Containers/Map.h" |
template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
class TMultiMap : public TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
A TMapBase specialization that allows multiple values to be associated with each key.
Name | Description | |
---|---|---|
|
TMultiMap() |
|
|
TMultiMap ( |
|
|
TMultiMap ( |
|
|
TMultiMap ( |
Constructor for moving elements from a TMap with a different SetAllocator |
|
TMultiMap ( |
Constructor for copying elements from a TMap with a different SetAllocator |
|
TMultiMap ( |
Constructor which gets its elements from a native initializer list |
Name | Description | ||
---|---|---|---|
|
ValueType & |
AddUnique ( |
Add a key-value association to the map. |
|
ValueType & |
AddUnique ( |
|
|
ValueType & |
AddUnique ( |
|
|
ValueType & |
AddUnique ( |
|
|
Append ( |
Move all items from another map into our map (if any keys are in both, the value from the other map wins) and empty the other map. |
|
|
Append ( |
Add all items from another map to our map (if any keys are in both, the value from the other map wins). |
|
|
ValueType & |
EmplaceUnique ( |
Add a key-value association to the map. |
|
const ValueT... |
FindPair ( |
Find an association between a specified key and value. (const) |
|
ValueType &#... |
FindPair ( |
Find an association between a specified key and value. |
|
MultiFind ( |
Finds all values associated with the specified key. |
|
|
MultiFindPointer ( |
Finds all values associated with the specified key. |
|
|
MultiFindPointer ( |
||
|
Num ( |
Returns the number of values within this map associated with the specified key |
|
|
Num() |
Since we implement an overloaded Num() function in TMultiMap, we need to reimplement TMapBase::Num to make it visible. |
|
|
Remove ( |
Remove all value associations for a key. |
|
|
Remove ( |
Remove associations between the specified key and value from the map. |
|
|
RemoveSingle ( |
Remove the first association between the specified key and value from the map. |
Name | Description | ||
---|---|---|---|
|
operator= ( |
||
|
operator= ( |
||
|
operator= ( |
Assignment operator for moving elements from a TMap with a different SetAllocator |
|
|
operator= ( |
Assignment operator for copying elements from a TMap with a different SetAllocator |
|
|
operator= ( |
Assignment operator which gets its elements from a native initializer list |
Name |
Description |
---|---|
KeyConstPointerType |
|
KeyInitType |
|
Super |
|
ValueInitType |