FScriptSparseArray

Syntax

class FScriptSparseArray

Remarks

Untyped sparse array type for accessing TSparseArray data, like FScriptArray for TArray . Must have the same memory representation as a TSet .

Constructors

Name Description

Public function

FScriptSparseArray()

Public function

FScriptSparseArray

(
    const FScriptSparseArray &
)

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

Name Description

Public function

int32

 

AddUninitialized

(
    const FScriptSparseArrayLayout & La...
)

Adds an uninitialized object to the array.

Public function

void

 

Empty

(
    int32 Slack,
    const FScriptSparseArrayLayout & La...
)

Public function

void *

 

GetData

(
    int32 Index,
    const FScriptSparseArrayLayout & La...
)

Public function Const

const void &...

 

GetData

(
    int32 Index,
    const FScriptSparseArrayLayout & La...
)

Public function Const

int32

 

GetMaxIndex()

Public function Static

FScriptSpars ...

 

GetScriptLayout

(
    int32 ElementSize,
    int32 ElementAlignment
)

Public function Const

bool

 

IsValidIndex

(
    int32 Index
)

Public function Const

int32

 

Num()

Public function

void

 

RemoveAtUninitialized

(
    const FScriptSparseArrayLayout & La...,
    int32 Index,
    int32 Count
)

Removes Count elements from the array, starting from Index, without destructing them.

Operators

Name Description

Public function

void

 

operator=

(
    const FScriptSparseArray &
)

References

Module

Core

Header

Runtime/Core/Public/Containers/SparseArray.h