Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- TScriptSparseArray
- FScriptSparseArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include | #include "Containers/SparseArray.h" |
Syntax
template<typename AllocatorType, typename InDerivedType>
class TScriptSparseArray
Remarks
Untyped sparse array type for accessing TSparseArray data, like FScriptArray for TArray. Must have the same memory representation as a TSet.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TScriptSparseArray
(
const TScriptSparseArray& |
These should really be private, because they shouldn't be called, but there's a bunch of code that needs to be fixed first. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddUninitialized
(
const FScriptSparseArrayLayout& Layout |
Adds an uninitialized object to the array. | |
| void | Empty
(
int32 Slack, |
||
| void * | GetData
(
int32 Index, |
||
| const void * | GetData
(
int32 Index, |
||
| int32 | GetMaxIndex () |
||
| FScriptSparseArrayLayout | GetScriptLayout
(
int32 ElementSize, |
||
| bool | IsAllocated
(
int32 Index |
||
| bool | IsCompact () |
||
| bool | IsEmpty () |
||
| bool | IsValidIndex
(
int32 Index |
||
| void | MoveAssign
(
DerivedType& Other, |
||
| int32 | Num () |
||
| void | RemoveAtUninitialized
(
const FScriptSparseArrayLayout& Layout, |
Removes Count elements from the array, starting from Index, without destructing them. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const TScriptSparseArray& |
Typedefs
| Name | Description |
|---|---|
| DerivedType |