TMapBuilder

Template for fluent map builders.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

TMapBuilder()

Default constructor.

Public function

TMapBuilder

(
    const TMap< KeyType, ValueType, Oth...
)

Creates and initializes a new map builder from another map.

Functions

Name Description

Public function

TMapBuilder ...

 

Add

(
    KeyType InKey,
    ValueType InValue
)

Adds a key-value pair to the map.

Public function

TMapBuilder ...

 

Append

(
    const TMap< KeyType, ValueType, Set...
)

Appends another map.

Public function

TMap< KeyTyp...

 

Build()

Builds the map as configured.

Operators

Name Description

Public function

 

operator TMap< KeyType, ValueType, SetAllocator >()

Implicit conversion operator to build the map as configured.