Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FScriptArrayHelper
- FPropertyBagArrayRef
- FScriptArrayHelper_InContainer
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
class FScriptArrayHelper
Remarks
FScriptArrayHelper: Pseudo dynamic array. Used to work with array properties in a sensible way.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFreezableScriptArray * | FreezableArray | ||
| FScriptArray * | HeapArray |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FScriptArrayHelper
(
const FArrayProperty* InProperty, |
Constructor, brings together a property and an instance of the property located in memory |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Add an uninitialized value to the end of the array. | ||
| int32 | AddUninitializedValues
(
int32 Count |
Add uninitialized values to the end of the array. | |
| int32 | AddValue () |
Add a blank, constructed values to the end of the array. | |
| int32 | AddValues
(
int32 Count |
Add blank, constructed values to the end of the array. | |
| void | ClearValues
(
int32 Index, |
Clear values in the array. The meaning of clear is defined by the property system. | |
| void | CountBytes
(
FArchive& Ar |
Used by memory counting archives to accumulate the size of this array. | |
| FScriptArrayHelper | CreateHelperFormInnerProperty
(
const FProperty* InInnerProperty, |
||
| void | Destroys the container object - THERE SHOULD BE NO MORE USE OF THIS HELPER AFTER THIS FUNCTION IS CALLED! | ||
| void | EmptyAndAddUninitializedValues
(
int32 Count |
Empty the array, then add uninitialized values to a given size. | |
| void | EmptyAndAddValues
(
int32 Count |
Empty the array, then add blank, constructed values to a given size. | |
| void | EmptyValues
(
int32 Slack |
Remove all values from the array, calling destructors, etc as appropriate. | |
| bool | ExpandForIndex
(
int32 Index |
Expand the array, if needed, so that the given index is valid | |
| uint8 * | GetElementPtr
(
int32 Index |
Returns a uint8 pointer to an element in the array. | |
| uint8 * | GetRawPtr
(
int32 Index |
Returns a uint8 pointer to an element in the array | |
| void | InsertValues
(
int32 Index, |
Insert blank, constructed values into the array. | |
| bool | IsValidIndex
(
int32 Index |
Index range check | |
| void | MoveAssign
(
void* InOtherArray |
Move the allocation from another array and make it our own. | |
| int32 | Num () |
Return the number of elements in the array. | |
| void | RemoveValues
(
int32 Index, |
Remove values from the array, calling destructors, etc as appropriate. | |
| void | Resize
(
int32 Count |
Add or remove elements to set the array to a given size. | |
| void | SwapValues
(
int32 A, |
Swap two elements in the array, does not call constructors and destructors |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EInternal |