Navigation
API > API/Runtime > API/Runtime/Core
The base type of sortable maps.
| Name | TSortableMapBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
Syntax
template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
class TSortableMapBase : public TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >
Inheritance Hierarchy
- TMapBase → TSortableMapBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Containers/Map.h | |||
| Containers/Map.h | |||
TSortableMapBase
(
const TSortableMapBase& |
Containers/Map.h | ||
TSortableMapBase
(
TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs >&& Other |
Constructor for moving elements from a TMap with a different SetAllocator | Containers/Map.h | |
TSortableMapBase
(
const TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs >& Other |
Constructor for copying elements from a TMap with a different SetAllocator | Containers/Map.h | |
| Containers/Map.h |
Classes
| Name | Remarks |
|---|---|
| FKeyComparisonClass | Extracts the pair's key from the map's pair structure and passes it to the user provided comparison class. |
| FValueComparisonClass | Extracts the pair's value from the map's pair structure and passes it to the user provided comparison class. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IntrusiveUnsetOptionalStateType | TSortableMapBase | Containers/Map.h | |
| Super | TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs > | Containers/Map.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bHasIntrusiveUnsetOptionalState | bool | Start - intrusive TOptional |
Containers/Map.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void KeySort
(
const PREDICATE_CLASS& Predicate |
End - intrusive TOptional |
Containers/Map.h | |
void KeyStableSort
(
const PREDICATE_CLASS& Predicate |
Stable sorts the pairs array using each pair's Key as the sort criteria, then rebuilds the map's hash. | Containers/Map.h | |
void SortFreeList () |
Sort the free element list so that subsequent additions will occur in the lowest available TSet index resulting in tighter packing without moving any existing items. | Containers/Map.h | |
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. | Containers/Map.h | |
void ValueStableSort
(
const PREDICATE_CLASS& Predicate |
Stable sorts the pairs array using each pair's Value as the sort criteria, then rebuilds the map's hash. | Containers/Map.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Containers/Map.h | |||
TSortableMapBase & operator=
(
const TSortableMapBase& |
Containers/Map.h | ||
TSortableMapBase & operator=
(
TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs >&& Other |
Assignment operator for moving elements from a TMap with a different SetAllocator | Containers/Map.h | |
TSortableMapBase & operator=
(
const TSortableMapBase< KeyType, ValueType, OtherSetAllocator, KeyFuncs >& Other |
Assignment operator for copying elements from a TMap with a different SetAllocator | Containers/Map.h | |
bool operator==
(
FIntrusiveUnsetOptionalState Tag |
Containers/Map.h |