Ark Server API (ASA) - Wiki
|
#include <SparseArray.h>
Classes | |
struct | FFreeListLink |
Public Member Functions | |
TScriptSparseArray () | |
bool | IsValidIndex (int32 Index) const |
bool | IsEmpty () const |
int32 | Num () const |
int32 | GetMaxIndex () const |
void * | GetData (int32 Index, const FScriptSparseArrayLayout &Layout) |
const void * | GetData (int32 Index, const FScriptSparseArrayLayout &Layout) const |
void | MoveAssign (DerivedType &Other, const FScriptSparseArrayLayout &Layout) |
void | Empty (int32 Slack, const FScriptSparseArrayLayout &Layout) |
int32 | AddUninitialized (const FScriptSparseArrayLayout &Layout) |
void | RemoveAtUninitialized (const FScriptSparseArrayLayout &Layout, int32 Index, int32 Count=1) |
TScriptSparseArray (const TScriptSparseArray &) | |
void | operator= (const TScriptSparseArray &) |
Static Public Member Functions | |
static FScriptSparseArrayLayout | GetScriptLayout (int32 ElementSize, int32 ElementAlignment) |
Private Types | |
using | DerivedType = typename TChooseClass<std::is_void_v<InDerivedType>, TScriptSparseArray, InDerivedType>::Result |
Private Member Functions | |
FORCEINLINE FFreeListLink * | GetFreeListLink (int32 Index, const FScriptSparseArrayLayout &Layout) |
Static Private Member Functions | |
static void | CheckConstraints () |
Private Attributes | |
TScriptArray< typename AllocatorType::ElementAllocator > | Data |
TScriptBitArray< typename AllocatorType::BitArrayAllocator > | AllocationFlags |
int32 | FirstFreeIndex |
int32 | NumFreeIndices |
Definition at line 1268 of file SparseArray.h.
|
private |
Definition at line 1270 of file SparseArray.h.
|
inline |
Definition at line 1282 of file SparseArray.h.
|
inline |
Definition at line 1443 of file SparseArray.h.
|
inline |
Adds an uninitialized object to the array.
Definition at line 1342 of file SparseArray.h.
|
inlinestaticprivate |
Definition at line 1399 of file SparseArray.h.
|
inline |
Definition at line 1328 of file SparseArray.h.
|
inline |
Definition at line 1308 of file SparseArray.h.
|
inline |
Definition at line 1313 of file SparseArray.h.
|
inlineprivate |
Accessor for the element or free list data.
Definition at line 1435 of file SparseArray.h.
|
inline |
Definition at line 1303 of file SparseArray.h.
|
inlinestatic |
Definition at line 1273 of file SparseArray.h.
|
inline |
Definition at line 1293 of file SparseArray.h.
|
inline |
Definition at line 1288 of file SparseArray.h.
|
inline |
Definition at line 1318 of file SparseArray.h.
|
inline |
Definition at line 1298 of file SparseArray.h.
|
inline |
Definition at line 1444 of file SparseArray.h.
|
inline |
Removes Count elements from the array, starting from Index, without destructing them.
Definition at line 1369 of file SparseArray.h.
|
private |
Definition at line 1394 of file SparseArray.h.
|
private |
Definition at line 1393 of file SparseArray.h.
|
private |
Definition at line 1395 of file SparseArray.h.
|
private |
Definition at line 1396 of file SparseArray.h.