Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/Map.h |
Include |
#include "Containers/Map.h" |
template<typename InKeyType, typename InValueType, typename SetAllocator, typename KeyFuncs>
class TMap : public TSortableMapBase< InKeyType, InValueType, SetAllocator, KeyFuncs >
A TMapBase specialization that only allows a single value associated with each key.
Name | Description | |
---|---|---|
|
TMap() |
|
|
TMap ( |
|
|
TMap ( |
|
|
TMap |
Constructor for moving elements from a TMap with a different SetAllocator |
|
TMap |
Constructor for copying elements from a TMap with a different SetAllocator |
|
TMap ( |
Constructor which gets its elements from a native initializer list |
Name | Description | ||
---|---|---|---|
|
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). |
|
|
FindAndRemoveChecked ( |
Find a pair with the specified key, removes it from the map, and returns the value part of the pair. |
|
|
RemoveAndCopyValue ( |
Remove the pair with the specified key and copies the value that was removed to the ref parameter |
|
|
RemoveAndCopyValueByHash |
See RemoveAndCopyValue() and class documentation section on ByHash() functions |
Name | Description | ||
---|---|---|---|
|
operator[] ( |
||
|
const ValueT... |
operator[] ( |
|
|
TMap & |
operator= ( |
Assignment operator which gets its elements from a native initializer list |
|
TMap & |
operator= |
Assignment operator for copying elements from a TMap with a different SetAllocator |
|
TMap & |
operator= |
Assignment operator for moving elements from a TMap with a different SetAllocator |
|
TMap & |
operator= ( |
|
|
TMap & |
operator= ( |
Name |
Description |
---|---|
KeyConstPointerType |
|
KeyFuncsType |
|
KeyInitType |
|
KeyType |
|
SetAllocatorType |
|
Super |
|
ValueType |