Navigation
API > API/Runtime > API/Runtime/Core
Statically allocates two maps from the same array of pairs
| Name | TTwoWayMap |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Containers/TwoWayMap.h |
| Include Path | #include "Experimental/Containers/TwoWayMap.h" |
Syntax
template<typename ClassT, typename FirstType, typename SecondType>
struct TTwoWayMap
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InitListType | TArray< TPair< FirstType, SecondType > > | Experimental/Containers/TwoWayMap.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FirstToSecond | TMap< FirstType, SecondType > | Experimental/Containers/TwoWayMap.h | |
| SecondToFirst | TMap< SecondType, FirstType > | Experimental/Containers/TwoWayMap.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const TMap< FirstType, SecondType > & GetFirstToSecond() |
Experimental/Containers/TwoWayMap.h | ||
static const TMap< SecondType, FirstType > & GetSecondToFirst() |
Experimental/Containers/TwoWayMap.h | ||
static void InitIfNeeded() |
Experimental/Containers/TwoWayMap.h |