CommonLibSSE (Parapets fork)
RE::GArrayBase< T > Class Template Reference

#include <GArrayBase.h>

Inheritance diagram for RE::GArrayBase< T >:
RE::GArray< RE::GFxPlaceObjectUnpackedData::Filter > RE::GArray< RE::GFxImportNode::ImportAssetInfo > RE::GArray< RE::GColor > RE::GArray< RE::GASExecuteTag * > RE::GArray< void * > RE::GArray< HandlerStruct, GStatGroups::kGStat_Default_Mem, SizePolicyType > RE::GArray< RE::GFxMovieDef * > RE::GArrayLH< ExecuteTagList >

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)
 
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
 

Public Attributes

data
 

Member Typedef Documentation

◆ AllocatorType

template<class T >
using RE::GArrayBase< T >::AllocatorType = T::AllocatorType

◆ SelfType

template<class T >
using RE::GArrayBase< T >::SelfType = GArrayBase<T>

◆ SizePolicyType

template<class T >
using RE::GArrayBase< T >::SizePolicyType = T::SizePolicyType

◆ ValueType

template<class T >
using RE::GArrayBase< T >::ValueType = T::ValueType

Constructor & Destructor Documentation

◆ GArrayBase() [1/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( )
inline

◆ GArrayBase() [2/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( std::int32_t  a_size)
inline

◆ GArrayBase() [3/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( const SelfType a_array)
inline

◆ GArrayBase() [4/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( GMemoryHeap a_heap)
inline

◆ GArrayBase() [5/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( GMemoryHeap a_heap,
std::int32_t  a_size 
)
inline

◆ GArrayBase() [6/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( const ValueType a_defaultVal)
inline

◆ GArrayBase() [7/7]

template<class T >
RE::GArrayBase< T >::GArrayBase ( const ValueType a_defaultVal,
std::int32_t  a_size 
)
inline

Member Function Documentation

◆ Append() [1/2]

template<class T >
void RE::GArrayBase< T >::Append ( const SelfType a_other)
inline

◆ Append() [2/2]

template<class T >
void RE::GArrayBase< T >::Append ( const ValueType  a_other[],
UPInt  a_count 
)
inline

◆ At() [1/2]

template<class T >
ValueType& RE::GArrayBase< T >::At ( UPInt  a_index)
inline

◆ At() [2/2]

template<class T >
const ValueType& RE::GArrayBase< T >::At ( UPInt  a_index) const
inline

◆ Back() [1/2]

template<class T >
ValueType& RE::GArrayBase< T >::Back ( )
inline

◆ Back() [2/2]

template<class T >
const ValueType& RE::GArrayBase< T >::Back ( ) const
inline

◆ begin() [1/2]

template<class T >
iterator RE::GArrayBase< T >::begin ( )
inline

◆ begin() [2/2]

template<class T >
const_iterator RE::GArrayBase< T >::begin ( ) const
inline

◆ Clear()

template<class T >
void RE::GArrayBase< T >::Clear ( )
inline

◆ ClearAndRelease()

template<class T >
void RE::GArrayBase< T >::ClearAndRelease ( )
inline

◆ end() [1/2]

template<class T >
iterator RE::GArrayBase< T >::end ( )
inline

◆ end() [2/2]

template<class T >
const_iterator RE::GArrayBase< T >::end ( ) const
inline

◆ Front() [1/2]

template<class T >
ValueType& RE::GArrayBase< T >::Front ( )
inline

◆ Front() [2/2]

template<class T >
const ValueType& RE::GArrayBase< T >::Front ( ) const
inline

◆ GetCapacity()

template<class T >
UPInt RE::GArrayBase< T >::GetCapacity ( ) const
inline

◆ GetNumBytes()

template<class T >
UPInt RE::GArrayBase< T >::GetNumBytes ( ) const
inline

◆ GetSize()

template<class T >
UPInt RE::GArrayBase< T >::GetSize ( ) const
inline

◆ GetSizePolicy()

template<class T >
SizePolicyType* RE::GArrayBase< T >::GetSizePolicy ( ) const
inline

◆ GFC_MEMORY_REDEFINE_NEW()

template<class T >
RE::GArrayBase< T >::GFC_MEMORY_REDEFINE_NEW ( GArrayBase< T >  ,
AllocatorType::StatId   
)

◆ InsertAt()

template<class T >
void RE::GArrayBase< T >::InsertAt ( UPInt  a_index,
const ValueType a_val = ValueType() 
)
inline

◆ InsertMultipleAt()

template<class T >
void RE::GArrayBase< T >::InsertMultipleAt ( UPInt  a_index,
UPInt  a_num,
const ValueType a_val = ValueType() 
)
inline

◆ Last() [1/2]

template<class T >
iterator RE::GArrayBase< T >::Last ( )
inline

◆ Last() [2/2]

template<class T >
const_iterator RE::GArrayBase< T >::Last ( ) const
inline

◆ NeverShrinking()

template<class T >
bool RE::GArrayBase< T >::NeverShrinking ( ) const
inline

◆ operator=()

template<class T >
const SelfType& RE::GArrayBase< T >::operator= ( const SelfType a_array)
inline

◆ operator[]() [1/2]

template<class T >
ValueType& RE::GArrayBase< T >::operator[] ( UPInt  a_index)
inline

◆ operator[]() [2/2]

template<class T >
const ValueType& RE::GArrayBase< T >::operator[] ( UPInt  a_index) const
inline

◆ PopBack()

template<class T >
void RE::GArrayBase< T >::PopBack ( )
inline

◆ PushBack()

template<class T >
void RE::GArrayBase< T >::PushBack ( const ValueType a_val)
inline

◆ PushBackAlt()

template<class T >
template<class S >
void RE::GArrayBase< T >::PushBackAlt ( const S &  a_val)
inline

◆ RemoveAt()

template<class T >
void RE::GArrayBase< T >::RemoveAt ( UPInt  a_index)
inline

◆ RemoveMultipleAt()

template<class T >
void RE::GArrayBase< T >::RemoveMultipleAt ( UPInt  a_index,
UPInt  a_num 
)
inline

◆ Reserve()

template<class T >
void RE::GArrayBase< T >::Reserve ( UPInt  a_newCapacity)
inline

◆ Resize()

template<class T >
void RE::GArrayBase< T >::Resize ( UPInt  a_newSize)
inline

◆ SetSizePolicy()

template<class T >
void RE::GArrayBase< T >::SetSizePolicy ( const SizePolicyType a_policy)
inline

◆ ValueAt()

template<class T >
ValueType RE::GArrayBase< T >::ValueAt ( UPInt  a_index) const
inline

Member Data Documentation

◆ data

template<class T >
T RE::GArrayBase< T >::data

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