Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/MapBuilder.h |
| Include | #include "Containers/MapBuilder.h" |
Syntax
template<typename KeyType, typename ValueType, typename SetAllocator>
class TMapBuilder
Remarks
Template for fluent map builders.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TMapBuilder () |
Default constructor. | ||
TMapBuilder
(
const TMap< KeyType, ValueType, OtherAllocator >& InMap |
Creates and initializes a new map builder from another map. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TMapBuilder & | Add
(
KeyType InKey, |
Adds a key-value pair to the map. | |
| TMapBuilder & | Appends another map. | ||
| TMap< KeyType, ValueType, SetAllocator > | Build () |
Builds the map as configured. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| Implicit conversion operator to build the map as configured. |