Ark Server API (ASE) - Wiki
|
#include <ScriptArray.h>
Public Member Functions | |
FORCEINLINE void * | GetData () |
FORCEINLINE const void * | GetData () const |
FORCEINLINE bool | IsValidIndex (int32 i) const |
FORCEINLINE int32 | Num () const |
void | InsertZeroed (int32 Index, int32 Count, int32 NumBytesPerElement) |
void | Insert (int32 Index, int32 Count, int32 NumBytesPerElement) |
int32 | Add (int32 Count, int32 NumBytesPerElement) |
int32 | AddZeroed (int32 Count, int32 NumBytesPerElement) |
void | Shrink (int32 NumBytesPerElement) |
void | Empty (int32 Slack, int32 NumBytesPerElement) |
FScriptArray () | |
FORCEINLINE int32 | GetSlack () const |
void | Remove (int32 Index, int32 Count, int32 NumBytesPerElement) |
FScriptArray (const FScriptArray &) | |
void | operator= (const FScriptArray &) |
Protected Member Functions | |
FScriptArray (int32 InNum, int32 NumBytesPerElement) | |
FORCENOINLINE void | ResizeInit (int32 NumBytesPerElement) |
FORCENOINLINE void | ResizeGrow (int32 OldNum, int32 NumBytesPerElement) |
FORCENOINLINE void | ResizeShrink (int32 NumBytesPerElement) |
FORCENOINLINE void | ResizeTo (int32 NewMax, int32 NumBytesPerElement) |
Protected Member Functions inherited from FHeapAllocator::ForAnyElementType | |
ForAnyElementType () | |
FORCEINLINE void | MoveToEmpty (ForAnyElementType &Other) |
FORCEINLINE | ~ForAnyElementType () |
FORCEINLINE FScriptContainerElement * | GetAllocation () const |
FORCEINLINE void | ResizeAllocation (int32 PreviousNumElements, int32 NumElements, SIZE_T NumBytesPerElement) |
FORCEINLINE int32 | CalculateSlackReserve (int32 NumElements, int32 NumBytesPerElement) const |
FORCEINLINE int32 | CalculateSlackShrink (int32 NumElements, int32 NumAllocatedElements, int32 NumBytesPerElement) const |
FORCEINLINE int32 | CalculateSlackGrow (int32 NumElements, int32 NumAllocatedElements, int32 NumBytesPerElement) const |
SIZE_T | GetAllocatedSize (int32 NumAllocatedElements, SIZE_T NumBytesPerElement) const |
bool | HasAllocation () |
Protected Attributes | |
int32 | ArrayNum |
int32 | ArrayMax |
Base dynamic array. An untyped data array; mirrors a TArray's members, but doesn't need an exact C++ type for its elements.
Definition at line 13 of file ScriptArray.h.
|
inline |
Definition at line 99 of file ScriptArray.h.
|
inline |
Definition at line 190 of file ScriptArray.h.
Definition at line 61 of file ScriptArray.h.
Definition at line 90 of file ScriptArray.h.
|
inline |
Definition at line 18 of file ScriptArray.h.
|
inline |
Definition at line 22 of file ScriptArray.h.
|
inline |
Returns the amount of slack in this array in elements.
Definition at line 107 of file ScriptArray.h.
Definition at line 41 of file ScriptArray.h.
|
inline |
Definition at line 26 of file ScriptArray.h.
|
inline |
|
inline |
Definition at line 191 of file ScriptArray.h.
|
inlineprotected |
Definition at line 161 of file ScriptArray.h.
|
inlineprotected |
Definition at line 156 of file ScriptArray.h.
|
inlineprotected |
Definition at line 166 of file ScriptArray.h.
|
inlineprotected |
Definition at line 175 of file ScriptArray.h.
|
inline |
|
protected |
Definition at line 154 of file ScriptArray.h.
|
protected |
Definition at line 153 of file ScriptArray.h.