Navigation
API > API/Plugins > API/Plugins/UAF
Untyped base class for TUnboundValueMap.
| Name | FUnboundValueMap |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/UnboundValueMap.h |
| Include Path | #include "UAF/ValueRuntime/UnboundValueMap.h" |
Syntax
class FUnboundValueMap
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnboundValueMap
(
const FUnboundValueMap& |
UAF/ValueRuntime/UnboundValueMap.h | ||
FUnboundValueMap
(
UScriptStruct* ValueType, |
Constructs a map but does not allocate its memory, derived types are responsible for it. | UAF/ValueRuntime/UnboundValueMap.h | |
| Default construction for an empty map. | UAF/ValueRuntime/UnboundValueMap.h | ||
| UAF/ValueRuntime/UnboundValueMap.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUnboundValueMap() |
Destroys the map and frees its memory. | UAF/ValueRuntime/UnboundValueMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddWithSetter
(
FName Name, |
Adds a new mapping, sets the value using the provided setter, O(logN) Returns whether or not we inserted (we can fail if a value with that name already exists) The value setter (and/or caller) is responsible for validating the value type | UAF/ValueRuntime/UnboundValueMap.h | |
bool Contains
(
FName Name |
Returns whether or not this map contains the specified mapped value, O(logN) | UAF/ValueRuntime/UnboundValueMap.h | |
void CopyTo
(
FUnboundValueMap& Other |
Copies the content of this map into another Both must have matching value types | UAF/ValueRuntime/UnboundValueMap.h | |
FUnboundValueMap * Duplicate
(
FReallocFun InReallocFun |
Returns a copy of this map using the specified allocator. | UAF/ValueRuntime/UnboundValueMap.h | |
int32 GetAllocatedSize() |
Returns the total allocated size for this map. | UAF/ValueRuntime/UnboundValueMap.h | |
FReallocFun GetAllocator() |
Returns the allocator function this map was initialized with. | UAF/ValueRuntime/UnboundValueMap.h | |
FName GetName
(
int32 Index |
Retrieves a mapping name by index, O(1) | UAF/ValueRuntime/UnboundValueMap.h | |
UScriptStruct * GetValueType() |
Returns the mapped value type. | UAF/ValueRuntime/UnboundValueMap.h | |
void GetValueWithGetter
(
int32 Index, |
Gets a value at the specified index using a value getter function, O(1) The value getter (and/or caller) is responsible for validating the value type | UAF/ValueRuntime/UnboundValueMap.h | |
int32 IndexOf
(
FName Name |
Finds a mapping and returns its index or INDEX_NONE if not found, O(logN) | UAF/ValueRuntime/UnboundValueMap.h | |
bool IsEmpty() |
Returns whether or not this map has any values. | UAF/ValueRuntime/UnboundValueMap.h | |
int32 Max() |
Returns the maximum number of values we can map. | UAF/ValueRuntime/UnboundValueMap.h | |
int32 Num() |
Returns the number of mapped values. | UAF/ValueRuntime/UnboundValueMap.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void MoveTo
(
FUnboundValueMap& Other |
Moves the content of this map to another Both must have matching value types The content of this map after the move is undefined, just like with move assignment | UAF/ValueRuntime/UnboundValueMap.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UAF/ValueRuntime/UnboundValueMap.h | |||
| Returns a pointer to the start of the names. | UAF/ValueRuntime/UnboundValueMap.h |
Protected Virtual
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnboundValueMap & operator=
(
const FUnboundValueMap& |
UAF/ValueRuntime/UnboundValueMap.h | ||
| UAF/ValueRuntime/UnboundValueMap.h |