#include <Map.h>
|
| FScriptMap () |
|
bool | IsValidIndex (int32 Index) const |
|
int32 | Num () const |
|
int32 | GetMaxIndex () const |
|
void * | GetData (int32 Index, const FScriptMapLayout &Layout) |
|
const void * | GetData (int32 Index, const FScriptMapLayout &Layout) const |
|
void | Empty (int32 Slack, const FScriptMapLayout &Layout) |
|
void | RemoveAt (int32 Index, const FScriptMapLayout &Layout) |
|
int32 | AddUninitialized (const FScriptMapLayout &Layout) |
|
void | Rehash (const FScriptMapLayout &Layout, TFunctionRef< uint32(const void *)> GetKeyHash) |
|
int32 | FindPairIndex (const void *Key, const FScriptMapLayout &MapLayout, TFunctionRef< uint32(const void *)> GetKeyHash, TFunctionRef< bool(const void *, const void *)> KeyEqualityFn) |
|
uint8 * | FindValue (const void *Key, const FScriptMapLayout &MapLayout, TFunctionRef< uint32(const void *)> GetKeyHash, TFunctionRef< bool(const void *, const void *)> KeyEqualityFn) |
|
void | Add (const void *Key, const void *Value, const FScriptMapLayout &Layout, TFunctionRef< uint32(const void *)> GetKeyHash, TFunctionRef< bool(const void *, const void *)> KeyEqualityFn, TFunctionRef< void(void *)> KeyConstructAndAssignFn, TFunctionRef< void(void *)> ValueConstructAndAssignFn, TFunctionRef< void(void *)> ValueAssignFn, TFunctionRef< void(void *)> DestructKeyFn, TFunctionRef< void(void *)> DestructValueFn) |
|
| FScriptMap (const FScriptMap &) |
|
void | operator= (const FScriptMap &) |
|
Definition at line 1269 of file Map.h.
◆ FScriptMap() [1/2]
FScriptMap::FScriptMap |
( |
| ) |
|
|
inline |
◆ FScriptMap() [2/2]
◆ Add()
void FScriptMap::Add |
( |
const void * | Key, |
|
|
const void * | Value, |
|
|
const FScriptMapLayout & | Layout, |
|
|
TFunctionRef< uint32(const void *)> | GetKeyHash, |
|
|
TFunctionRef< bool(const void *, const void *)> | KeyEqualityFn, |
|
|
TFunctionRef< void(void *)> | KeyConstructAndAssignFn, |
|
|
TFunctionRef< void(void *)> | ValueConstructAndAssignFn, |
|
|
TFunctionRef< void(void *)> | ValueAssignFn, |
|
|
TFunctionRef< void(void *)> | DestructKeyFn, |
|
|
TFunctionRef< void(void *)> | DestructValueFn ) |
|
inline |
Adds the (key, value) pair to the map, returning true if the element was added, or false if the element was already present and has been overwritten
Definition at line 1376 of file Map.h.
◆ AddUninitialized()
Adds an uninitialized object to the map. The map will need rehashing at some point after this call to make it valid.
- Returns
- The index of the added element.
Definition at line 1330 of file Map.h.
◆ CheckConstraints()
static void FScriptMap::CheckConstraints |
( |
| ) |
|
|
inlinestaticprivate |
◆ Empty()
◆ FindPairIndex()
Finds the associated key, value from hash of Key, rather than linearly searching
Definition at line 1341 of file Map.h.
◆ FindValue()
Finds the associated value from hash of Key, rather than linearly searching
Definition at line 1363 of file Map.h.
◆ GetData() [1/2]
◆ GetData() [2/2]
◆ GetMaxIndex()
int32 FScriptMap::GetMaxIndex |
( |
| ) |
const |
|
inline |
◆ GetScriptLayout()
◆ IsValidIndex()
bool FScriptMap::IsValidIndex |
( |
int32 | Index | ) |
const |
|
inline |
◆ Num()
int32 FScriptMap::Num |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ Rehash()
◆ RemoveAt()
◆ Pairs
The documentation for this class was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASE/AseApi-main/version/Core/Public/API/UE/Containers/Map.h