Ark Server API (ASA) - Wiki
|
#include <BasicArray.h>
Classes | |
struct | FData |
Public Member Functions | |
TBasicArray () | |
TBasicArray (const TBasicArray &)=delete | |
TBasicArray & | operator= (const TBasicArray &)=delete |
TBasicArray (TBasicArray &&Other) | |
TBasicArray & | operator= (TBasicArray &&Other) |
~TBasicArray () | |
template<typename... ArgTypes> | |
int32 | Emplace (ArgTypes &&... Args) |
template<typename... ArgTypes> | |
void | EmplaceAt (int32 Index, ArgTypes &&... Args) |
void | RemoveAt (int32 Index, int32 NumToRemove=1) |
bool | IsEmpty () const |
int32 | Num () const |
T * | GetData () |
FORCEINLINE const T * | GetData () const |
FORCEINLINE T & | operator[] (int32 Index) |
FORCEINLINE const T & | operator[] (int32 Index) const |
Private Member Functions | |
void * | InsertUninitialized (int32 IndexToAdd) |
Static Private Member Functions | |
static FORCEINLINE int32 | ApplyGrowthFactor (int32 CurrentNum) |
Private Attributes | |
FData * | Data |
Static Private Attributes | |
static constexpr int32 | InitialReservationSize = 16 |
Friends | |
T * | begin (TBasicArray &Arr) |
const T * | begin (const TBasicArray &Arr) |
T * | end (TBasicArray &Arr) |
const T * | end (const TBasicArray &Arr) |
Basic RAII array which can be used without the excessive dependencies needed by TArray, which needs to be serialisable, have a fixed ABI, have lots of helper algorithms as members, have auto-shrinking, support allocators etc.
Definition at line 20 of file BasicArray.h.
|
inline |
Definition at line 23 of file BasicArray.h.
|
delete |
|
inline |
Definition at line 32 of file BasicArray.h.
|
inline |
Definition at line 49 of file BasicArray.h.
|
inlinestaticprivate |
Definition at line 125 of file BasicArray.h.
|
inline |
Definition at line 59 of file BasicArray.h.
|
inline |
Definition at line 70 of file BasicArray.h.
|
inline |
Definition at line 101 of file BasicArray.h.
|
inline |
Definition at line 107 of file BasicArray.h.
|
inlineprivate |
Definition at line 130 of file BasicArray.h.
|
inline |
Definition at line 90 of file BasicArray.h.
|
inline |
Definition at line 95 of file BasicArray.h.
|
delete |
|
inline |
Definition at line 38 of file BasicArray.h.
|
inline |
Definition at line 112 of file BasicArray.h.
|
inline |
Definition at line 117 of file BasicArray.h.
Definition at line 76 of file BasicArray.h.
Definition at line 174 of file BasicArray.h.
|
friend |
Definition at line 173 of file BasicArray.h.
Definition at line 176 of file BasicArray.h.
|
friend |
Definition at line 175 of file BasicArray.h.
|
private |
Definition at line 171 of file BasicArray.h.
|
staticconstexprprivate |
Definition at line 123 of file BasicArray.h.