Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- ForAnyElementType
- TScriptArray
- FScriptArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/ScriptArray.h |
| Include | #include "Containers/ScriptArray.h" |
Syntax
template<typename AllocatorType>
class TScriptArray : protected ForAnyElementType
Remarks
Base dynamic array. An untyped data array; mirrors a TArray's members, but doesn't need an exact C++ type for its elements.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | ArrayMax | ||
| int32 | ArrayNum |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScriptArray () |
|||
TScriptArray
(
const TScriptArray& |
These should really be private, because they shouldn't be called, but there's a bunch of code that needs to be fixed first. | ||
TScriptArray
(
int32 InNum, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Add
(
int32 Count, |
||
| int32 | AddZeroed
(
int32 Count, |
||
| void | CheckAddress
(
const void* Addr, |
||
| void | CountBytes
(
FArchive& Ar, |
||
| void | Empty
(
int32 Slack, |
||
| SIZE_T | GetAllocatedSize
(
int32 NumBytesPerElement |
||
| const void * | GetData () |
||
| void * | GetData () |
||
| int32 | GetSlack () |
Returns the amount of slack in this array in elements. | |
| void | Insert
(
int32 Index, |
||
| void | InsertZeroed
(
int32 Index, |
||
| bool | IsEmpty () |
||
| bool | IsValidIndex
(
int32 i |
||
| void | MoveAssign
(
TScriptArray& Other, |
||
| int32 | Num () |
||
| void | Remove
(
int32 Index, |
||
| void | Reset
(
int32 NewSize, |
||
| void | ResizeGrow
(
int32 OldNum, |
||
| void | ResizeInit
(
int32 NumBytesPerElement, |
||
| void | ResizeShrink
(
int32 NumBytesPerElement, |
||
| void | ResizeTo
(
int32 NewMax, |
||
| void | SetNumUninitialized
(
int32 NewNum, |
||
| void | Shrink
(
int32 NumBytesPerElement, |
||
| void | SwapMemory
(
int32 A, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const TScriptArray& |