| FScriptSetHelper
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include |
#include "UObject/UnrealType.h" |
class FScriptSetHelper
FScriptSetHelper: Pseudo dynamic Set. Used to work with Set properties in a sensible way.
Name | Description | ||
---|---|---|---|
|
ElementProp |
||
|
FScriptSet *... |
Set |
|
|
SetLayout |
Name | Description | |
---|---|---|
|
FScriptSetHelper ( |
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. |
|
|
AddElement ( |
Adds the element to the set, returning true if the element was added, or false if the element was already present |
|
|
AddUninitializedValue() |
Add an uninitialized value to the end of the set. |
|
|
FScriptSetHe... |
CreateHelperFormElementProperty |
|
|
FScriptSetHe... |
CreateIterator() |
|
|
EmptyElements ( |
Remove all values from the set, calling destructors, etc as appropriate. |
|
|
FindElementIndex |
Finds the index of an element in a set |
|
|
FindElementIndexFromHash ( |
Finds element index from hash, rather than linearly searching |
|
|
uint8 * |
FindElementPtr |
Finds the pair in a map which matches the key in another pair. |
|
uint8 * |
FindElementPtrFromHash ( |
Finds element pointer from hash, rather than linearly searching |
|
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. |
|
|
FProperty &#... |
GetElementProperty() |
Returns the property representing the element of the set |
|
uint8 * |
GetElementPtr ( |
Returns a uint8 pointer to the element in the set. |
|
const uint8 ... |
GetElementPtr ( |
Returns a uint8 pointer to the element in the set. |
|
GetMaxIndex() |
Returns the (non-inclusive) maximum index of elements in the set. |
|
|
HasElement |
Checks if an element has already been added to the set |
|
|
IsValidIndex ( |
Index range check |
|
|
MoveAssign ( |
Move the allocation from another set and make it our own. |
|
|
Num() |
Returns the number of elements in the set. |
|
|
Num ( |
Static version of Num() used when you don't need to bother to construct a FScriptSetHelper. |
|
|
Rehash() |
Rehashes the keys in the set. This function must be called to create a valid set. |
|
|
RemoveAt |
Removes an element at the specified index, destroying it. |
|
|
RemoveElement ( |
Removes the element from the set |
Name |
Description |
|
---|---|---|
|
FIterator |