CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GArray< T, SID, SizePolicy > Class Template Reference

#include <GArray.h>

Inheritance diagram for RE::GArray< T, SID, SizePolicy >:
RE::GArrayBase< T >

Public Types

using ValueType = T
 
using AllocatorType = GAllocatorGH< T, SID >
 
using SizePolicyType = SizePolicy
 
using SelfType = GArray< T, SID, SizePolicy >
 
using BaseType = GArrayBase< GArrayData< T, GAllocatorGH< T, SID >, SizePolicy > >
 
- Public Types inherited from RE::GArrayBase< T >
using ValueType = typename T::ValueType
 
using AllocatorType = typename T::AllocatorType
 
using SizePolicyType = typename T::SizePolicyType
 
using SelfType = GArrayBase< T >
 

Public Member Functions

 GArray ()
 
 GArray (std::int32_t a_size)
 
 GArray (const SizePolicyType &a_policy)
 
 GArray (const SelfType &a_array)
 
const SelfTypeoperator= (const SelfType &a_array)
 
- Public Member Functions inherited from RE::GArrayBase< T >
 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)
 
SizePolicyTypeGetSizePolicy () 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)
 
ValueTypeAt (UPInt a_index)
 
const ValueTypeAt (UPInt a_index) const
 
ValueType ValueAt (UPInt a_index) const
 
ValueTypeoperator[] (UPInt a_index)
 
const ValueTypeoperator[] (UPInt a_index) const
 
void PushBack (const ValueType &a_val)
 
template<class S >
void PushBackAlt (const S &a_val)
 
void PopBack ()
 
ValueTypeFront ()
 
const ValueTypeFront () const
 
ValueTypeBack ()
 
const ValueTypeBack () const
 
const SelfTypeoperator= (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
 

Additional Inherited Members

- Public Attributes inherited from RE::GArrayBase< T >
data
 

Member Typedef Documentation

◆ AllocatorType

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
using RE::GArray< T, SID, SizePolicy >::AllocatorType = GAllocatorGH<T, SID>

◆ BaseType

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
using RE::GArray< T, SID, SizePolicy >::BaseType = GArrayBase<GArrayData<T, GAllocatorGH<T, SID>, SizePolicy> >

◆ SelfType

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
using RE::GArray< T, SID, SizePolicy >::SelfType = GArray<T, SID, SizePolicy>

◆ SizePolicyType

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
using RE::GArray< T, SID, SizePolicy >::SizePolicyType = SizePolicy

◆ ValueType

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
using RE::GArray< T, SID, SizePolicy >::ValueType = T

Constructor & Destructor Documentation

◆ GArray() [1/4]

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
RE::GArray< T, SID, SizePolicy >::GArray ( )
inline

◆ GArray() [2/4]

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
RE::GArray< T, SID, SizePolicy >::GArray ( std::int32_t  a_size)
inline

◆ GArray() [3/4]

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
RE::GArray< T, SID, SizePolicy >::GArray ( const SizePolicyType a_policy)
inline

◆ GArray() [4/4]

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
RE::GArray< T, SID, SizePolicy >::GArray ( const SelfType a_array)
inline

Member Function Documentation

◆ operator=()

template<class T , std::uint32_t SID = GStatGroup::kGStat_Default_Mem, class SizePolicy = GArrayDefaultPolicy>
const SelfType & RE::GArray< T, SID, SizePolicy >::operator= ( const SelfType a_array)
inline

The documentation for this class was generated from the following file: