CommonLibVR
|
#include <GArrayBase.h>
Classes | |
struct | const_iterator |
struct | iterator |
Public Types | |
using | ValueType = T::ValueType |
using | AllocatorType = T::AllocatorType |
using | SizePolicyType = T::SizePolicyType |
using | SelfType = GArrayBase< T > |
Public Member Functions | |
GFC_MEMORY_REDEFINE_NEW (GArrayBase, AllocatorType::StatId) | |
GArrayBase () | |
GArrayBase (std::int32_t a_size) | |
GArrayBase (const SelfType &a_array) | |
GArrayBase (GMemoryHeap *a_heap) | |
GArrayBase (GMemoryHeap *a_heap, std::int32_t a_size) | |
GArrayBase (const ValueType &a_defaultVal) | |
GArrayBase (const ValueType &a_defaultVal, std::int32_t a_size) | |
SizePolicyType * | GetSizePolicy () const |
void | SetSizePolicy (const SizePolicyType &a_policy) |
bool | NeverShrinking () const |
UPInt | GetSize () const |
UPInt | GetCapacity () const |
UPInt | GetNumBytes () const |
void | ClearAndRelease () |
void | Clear () |
void | Resize (UPInt a_newSize) |
void | Reserve (UPInt a_newCapacity) |
ValueType & | At (UPInt a_index) |
const ValueType & | At (UPInt a_index) const |
ValueType | ValueAt (UPInt a_index) const |
ValueType & | operator[] (UPInt a_index) |
const ValueType & | operator[] (UPInt a_index) const |
void | PushBack (const ValueType &a_val) |
template<class S > | |
void | PushBackAlt (const S &a_val) |
void | PopBack () |
ValueType & | Front () |
const ValueType & | Front () const |
ValueType & | Back () |
const ValueType & | Back () const |
const SelfType & | operator= (const SelfType &a_array) |
void | RemoveMultipleAt (UPInt a_index, UPInt a_num) |
void | RemoveAt (UPInt a_index) |
void | InsertAt (UPInt a_index, const ValueType &a_val=ValueType()) |
void | InsertMultipleAt (UPInt a_index, UPInt a_num, const ValueType &a_val=ValueType()) |
void | Append (const SelfType &a_other) |
void | Append (const ValueType a_other[], UPInt a_count) |
iterator | begin () |
iterator | end () |
iterator | Last () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | Last () const |
Public Attributes | |
T | data |
using RE::GArrayBase< T >::AllocatorType = T::AllocatorType |
using RE::GArrayBase< T >::SelfType = GArrayBase<T> |
using RE::GArrayBase< T >::SizePolicyType = T::SizePolicyType |
using RE::GArrayBase< T >::ValueType = T::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
RE::GArrayBase< T >::GFC_MEMORY_REDEFINE_NEW | ( | GArrayBase< T > | , |
AllocatorType::StatId | |||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T RE::GArrayBase< T >::data |