Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- TScriptMap
- FScriptMap
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include | #include "Containers/Map.h" |
Syntax
template<typename AllocatorType, typename InDerivedType>
class TScriptMap
Remarks
Untyped map type for accessing TMap data, like FScriptArray for TArray. Must have the same memory representation as a TMap.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScriptMap () |
|||
TScriptMap
(
const TScriptMap& |
These should really be private, because they shouldn't be called, but there's a bunch of code that needs to be fixed first. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const void* Key, |
Adds the (key, value) pair to the map | |
| int32 | AddUninitialized
(
const FScriptMapLayout& Layout |
Adds an uninitialized object to the map. | |
| void | Empty
(
int32 Slack, |
||
| void * | FindOrAdd
(
const void* Key, |
Constructs a new key-value pair if key didn't exist | |
| int32 | FindPairIndex
(
const void* Key, |
Finds the associated key, value from hash of Key, rather than linearly searching | |
| uint8 * | FindValue
(
const void* Key, |
Finds the associated value from hash of Key, rather than linearly searching | |
| const void * | GetData
(
int32 Index, |
||
| void * | GetData
(
int32 Index, |
||
| int32 | GetMaxIndex () |
||
| FScriptMapLayout | GetScriptLayout
(
int32 KeySize, |
||
| bool | IsEmpty () |
||
| bool | IsValidIndex
(
int32 Index |
||
| void | MoveAssign
(
DerivedType& Other, |
||
| int32 | Num () |
||
| void | Rehash
(
const FScriptMapLayout& Layout, |
||
| void | RemoveAt
(
int32 Index, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const TScriptMap& |
Typedefs
| Name | Description |
|---|---|
| DerivedType |