| FScriptMapHelper
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include |
#include "UObject/UnrealType.h" |
class FScriptMapHelper
FScriptMapHelper: Pseudo dynamic map. Used to work with map properties in a sensible way.
Name | Description | ||
---|---|---|---|
|
union FScriptMa... |
@663 |
|
|
FreezableMap |
||
|
FScriptMap *... |
HeapMap |
|
|
KeyProp |
||
|
MapFlags |
||
|
MapLayout |
||
|
ValueProp |
Name | Description | |
---|---|---|
|
FScriptMapHelper ( |
Constructor, brings together a property and an instance of the property located in memory |
Name | Description | ||
---|---|---|---|
|
AddDefaultValue_Invalid_NeedsRehash() |
Adds a blank, constructed value to a given size. |
|
|
AddPair |
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 |
|
|
AddUninitializedValue() |
Add an uninitialized value to the end of the map. |
|
|
FScriptMapHe... |
CreateHelperFormInnerProperties ( |
|
|
FScriptMapHe... |
CreateIterator() |
|
|
EmptyValues ( |
Remove all values from the map, calling destructors, etc as appropriate. |
|
|
FindInternalIndex ( |
Maps have gaps in their indices, so this function translates a logical index (ie. Nth element) to an internal index that can be used for the other functions in this class. |
|
|
FindMapIndexWithKey |
Finds the index of an element in a map which matches the key in another pair. |
|
|
uint8 * |
FindMapPairPtrFromHash ( |
Finds the associated pair from hash, rather than linearly searching |
|
uint8 * |
FindMapPairPtrWithKey |
Finds the pair in a map which matches the key in another pair. |
|
void * |
FindOrAdd ( |
Finds or adds a new default-constructed value |
|
uint8 * |
FindValueFromHash ( |
Finds the associated value from hash, rather than linearly searching |
|
FProperty &#... |
GetKeyProperty() |
Returns the property representing the key of the map pair. |
|
uint8 * |
GetKeyPtr ( |
Returns a uint8 pointer to the Key (first element) in the map. |
|
GetMaxIndex() |
Returns the (non-inclusive) maximum index of elements in the map. |
|
|
uint8 * |
GetPairPtr ( |
Returns a uint8 pointer to the pair in the map |
|
const uint8 ... |
GetPairPtr ( |
Returns a uint8 pointer to the pair in the map. |
|
FProperty &#... |
GetValueProperty() |
Returns the property representing the value of the map pair. |
|
uint8 * |
GetValuePtr ( |
Returns a uint8 pointer to the Value (second element) in the map. |
|
HasKey |
Checks if a key in the map matches the specified key |
|
|
IsValidIndex ( |
Index range check |
|
|
MoveAssign ( |
Move the allocation from another map and make it our own. |
|
|
Num() |
Returns the number of elements in the map. |
|
|
Rehash() |
Rehashes the keys in the map. This function must be called to create a valid map. |
|
|
RemoveAt |
Removes an element at the specified index, destroying it. |
|
|
RemovePair ( |
Removes the key and its associated value from the map |
Name |
Description |
|
---|---|---|
|
FIterator |
Name |
Description |
|
---|---|---|
|
EInternal |