Language:
Discover
By Skill Level
By Category

TMap

Choose your OS:

Inheritance Hierarchy

Syntax

template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
class TMap : public TSortableMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >

Remarks

A TMapBase specialization that only allows a single value associated with each key.

Constructors

Name Description

Public function

TMap()

Public function

TMap

(
    TMap &&
)

Public function

TMap

(
    const TMap &
)

Public function

TMap

(
    TMap < KeyType, ValueType, OtherSetA...
)

Constructor for moving elements from a TMap with a different SetAllocator

Public function

TMap

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

Constructor for copying elements from a TMap with a different SetAllocator

Functions

Name Description

Public function

void

 

Append

(
    TMap < KeyType, ValueType, OtherSetA...
)

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.

Public function

void

 

Append

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

Add all items from another map to our map (if any keys are in both, the value from the other map wins).

Public function

ValueType

 

FindAndRemoveChecked

(
    KeyConstPointerType Key
)

Find a pair with the specified key, removes it from the map, and returns the value part of the pair.

Public function

bool

 

RemoveAndCopyValue

(
    KeyInitType Key,
    ValueType& OutRemovedValue
)

Remove the pair with the specified key and copies the value that was removed to the ref parameter

Operators

Name Description

Public function

ValueType &

 

operator[]

(
    KeyConstPointerType Key
)

Public function

const ValueT...

 

operator[]

(
    KeyConstPointerType Key
)

Public function

TMap &

 

operator=

(
    TMap &&
)

Public function

TMap &

 

operator=

(
    const TMap &
)

Public function

TMap &

 

operator=

(
    TMap < KeyType, ValueType, OtherSetA...
)

Assignment operator for moving elements from a TMap with a different SetAllocator

Public function

TMap &

 

operator=

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

Assignment operator for copying elements from a TMap with a different SetAllocator

Typedefs

References

Module

Core

Header

Runtime/Core/Private/Internationalization/TextFormatArgumentModifier.h