Navigation
API > API/Plugins > API/Plugins/UAF
Unbound Value Map Collection
Holds a sorted collection of unbound value maps. Entries are sorted by value type.
| Name | FUnboundMapCollection |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/UnboundMapCollection.h |
| Include Path | #include "UAF/ValueRuntime/UnboundMapCollection.h" |
Syntax
class FUnboundMapCollection
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnboundMapCollection
(
FReallocFun InReallocFun |
UAF/ValueRuntime/UnboundMapCollection.h | ||
FUnboundMapCollection
(
const FUnboundMapCollection& Other |
UAF/ValueRuntime/UnboundMapCollection.h | ||
FUnboundMapCollection
(
FUnboundMapCollection&& Other |
UAF/ValueRuntime/UnboundMapCollection.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FUnboundMapCollection() |
UAF/ValueRuntime/UnboundMapCollection.h |
Structs
| Name | Remarks |
|---|---|
| FMapEntry |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConstIterator | TUnboundMapCollectionIterator< const FUnboundMapCollection > | UAF/ValueRuntime/UnboundMapCollection.h | |
| FIterator | TUnboundMapCollectionIterator< FUnboundMapCollection > | Iterators. | UAF/ValueRuntime/UnboundMapCollection.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FConstIterator | friend | UAF/ValueRuntime/UnboundMapCollection.h | ||
| FIterator | friend | UAF/ValueRuntime/UnboundMapCollection.h | ||
| MapCapacity | int32 | How many maps we can contain within this collection. | UAF/ValueRuntime/UnboundMapCollection.h | |
| MapCount | int32 | How many maps are contained within this collection. | UAF/ValueRuntime/UnboundMapCollection.h | |
| Maps | FMapEntry * | An array of maps (sorted by value type) | UAF/ValueRuntime/UnboundMapCollection.h | |
| ReallocFun | FReallocFun | The indirect allocator function pointer. | UAF/ValueRuntime/UnboundMapCollection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnboundValueMap * Add
(
UScriptStruct* ValueType |
Constructs and adds a new map to this collection. | UAF/ValueRuntime/UnboundMapCollection.h | |
TUnboundValueMap< ValueType > * Add () |
Constructs and adds a new map to this collection. | UAF/ValueRuntime/UnboundMapCollection.h | |
bool Add
(
FUnboundValueMap* Map |
Adds a new map to this collection. | UAF/ValueRuntime/UnboundMapCollection.h | |
bool Append
(
FUnboundValueMap* Map |
Appends a new map to this collection (the input must belong at the end of the sorted map list). | UAF/ValueRuntime/UnboundMapCollection.h | |
FConstIterator CreateConstIterator() |
UAF/ValueRuntime/UnboundMapCollection.h | ||
FIterator CreateIterator() |
Returns an iterator over all maps contained within, sorted by their key (value type) | UAF/ValueRuntime/UnboundMapCollection.h | |
void Empty() |
Clears the collection of any content. | UAF/ValueRuntime/UnboundMapCollection.h | |
const FUnboundValueMap * Find
(
UScriptStruct* ValueType |
Finds a map of the specified ValueType in this collection Returns nullptr if this collection does not contain such a mapping | UAF/ValueRuntime/UnboundMapCollection.h | |
FUnboundValueMap * Find
(
UScriptStruct* ValueType |
Finds a map of the specified ValueType in this collection Returns nullptr if this collection does not contain such a mapping | UAF/ValueRuntime/UnboundMapCollection.h | |
TUnboundValueMap< ValueType > * Find () |
Finds a map of the specified ValueType in this collection Returns nullptr if this collection does not contain such a mapping | UAF/ValueRuntime/UnboundMapCollection.h | |
const TUnboundValueMap< ValueType > * Find () |
Finds a map of the specified ValueType in this collection Returns nullptr if this collection does not contain such a mapping | UAF/ValueRuntime/UnboundMapCollection.h | |
TUnboundValueMap< ValueType > * FindOrAdd () |
Finds or adds a map of the specified ValueType in this collection Returns nullptr if we fail to add an entry (e.g. duplicate) | UAF/ValueRuntime/UnboundMapCollection.h | |
FUnboundValueMap * FindOrAdd
(
UScriptStruct* ValueType |
Finds or adds a map of the specified ValueType in this collection Returns nullptr if we fail to add an entry (e.g. duplicate) | UAF/ValueRuntime/UnboundMapCollection.h | |
FReallocFun GetAllocator() |
Returns the allocator function this collection was initialized with. | UAF/ValueRuntime/UnboundMapCollection.h | |
bool IsEmpty() |
Returns whether or not we are empty. | UAF/ValueRuntime/UnboundMapCollection.h | |
int32 Num() |
Returns the number of maps contained within. | UAF/ValueRuntime/UnboundMapCollection.h | |
bool Remove
(
FUnboundValueMap* Map |
Removes the specified map from this collection Returns whether or not the entry was successfully removed | UAF/ValueRuntime/UnboundMapCollection.h | |
bool Remove
(
UScriptStruct* ValueType |
Removes the specified map from this collection Returns whether or not the entry was successfully removed | UAF/ValueRuntime/UnboundMapCollection.h | |
void Reset() |
Resets the collection while retaining our capacity. | UAF/ValueRuntime/UnboundMapCollection.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnboundMapCollection & operator=
(
const FUnboundMapCollection& Other |
UAF/ValueRuntime/UnboundMapCollection.h | ||
FUnboundMapCollection & operator=
(
FUnboundMapCollection&& Other |
UAF/ValueRuntime/UnboundMapCollection.h |