Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FScriptMapHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint8 * GetKeyPtr
(
int32 InternalIndex |
Returns a uint8 pointer to the Key (first element) in the map. | UObject/UnrealType.h | |
uint8 * GetKeyPtr
(
const FIterator Iterator |
Returns a uint8 pointer to the Key (first element) in the map. | UObject/UnrealType.h | |
const uint8 * GetKeyPtr
(
const FIterator Iterator |
Returns a const uint8 pointer to the Key (first element) in the map. | UObject/UnrealType.h |
GetKeyPtr(int32)
Description
Returns a uint8 pointer to the Key (first element) in the map. Currently identical to GetPairPtr, but provides clarity of purpose and avoids exposing implementation details of TMap.
| Name | GetKeyPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
uint8 * GetKeyPtr
(
int32 InternalIndex
)
Pointer to the key, or nullptr if the map is empty.
Parameters
| Name | Remarks |
|---|---|
| InternalIndex | index of the item to return a pointer to. |
GetKeyPtr(const FIterator)
Description
Returns a uint8 pointer to the Key (first element) in the map. Currently identical to GetPairPtr, but provides clarity of purpose and avoids exposing implementation details of TMap.
| Name | GetKeyPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
uint8 * GetKeyPtr
(
const FIterator Iterator
)
Pointer to the key, or will fail a check if an invalid iterator is provided.
Parameters
| Name | Remarks |
|---|---|
| Iterator | A valid iterator of the item to return a pointer to. |
GetKeyPtr(const FIterator)
Description
Returns a const uint8 pointer to the Key (first element) in the map. Currently identical to GetPairPtr, but provides clarity of purpose and avoids exposing implementation details of TMap.
| Name | GetKeyPtr |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
const uint8 * GetKeyPtr
(
const FIterator Iterator
) const
Pointer to the key, or will fail a check if an invalid iterator is provided.
Parameters
| Name | Remarks |
|---|---|
| Iterator | A valid iterator of the item to return a pointer to. |