TSortableMapBase

The base type of sortable maps.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

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

Remarks

The base type of sortable maps.

Constructors

Name Description

Protected function

TSortableMapBase()

Protected function

TSortableMapBase

(
    TSortableMapBase&&
)

Protected function

TSortableMapBase

(
    const TSortableMapBase&
)

Protected function

TSortableMapBase

(
    TSortableMapBase< KeyType, ValueTyp...
)

Constructor for moving elements from a TMap with a different SetAllocator

Protected function

TSortableMapBase

(
    const TSortableMapBase< KeyType, Va...
)

Constructor for copying elements from a TMap with a different SetAllocator

Functions

Name Description

Public function

void

 

KeySort

(
    const PREDICATE_CLASS& Predicate
)

Sorts the pairs array using each pair's Key as the sort criteria, then rebuilds the map's hash.

Public function

void

 

ValueSort

(
    const PREDICATE_CLASS& Predicate
)

Sorts the pairs array using each pair's Value as the sort criteria, then rebuilds the map's hash.

Operators

Name Description

Protected function

TSortableMap...

 

operator=

(
    TSortableMapBase&&
)

Protected function

TSortableMap...

 

operator=

(
    const TSortableMapBase&
)

Protected function

TSortableMap...

 

operator=

(
    TSortableMapBase< KeyType, ValueTyp...
)

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

Protected function

TSortableMap...

 

operator=

(
    const TSortableMapBase< KeyType, Va...
)

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

Typedefs

Name

Description

Super

References

Module

Core

Header

Runtime/Core/Public/Containers/Map.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback