CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::hkArrayBase< T > Class Template Reference

#include <hkArray.h>

Inheritance diagram for RE::hkArrayBase< T >:
RE::hkArray< T, void > RE::hkArray< RE::hkRefVariant > RE::hkArray< RE::hkbCharacter * > RE::hkArray< RE::hkbStateMachine::StateInfo * > RE::hkArray< RE::hkp3AxisSweep::hkpBpNode > RE::hkArray< RE::hkp3AxisSweep::hkpBpEndPoint > RE::hkArray< BpInt > RE::hkArray< hkpAgentNnSector *, void > RE::hkArray< RE::hkpRootCdPoint, void > RE::hkArray< RE::hkpCachingShapePhantom::CollisionDetail > RE::hkArray< RE::hkpRootCdPoint > RE::hkArray< RE::hkpRigidBody * > RE::hkArray< RE::hkpPhantom * > RE::hkArray< hkpTriggerVolume * > RE::hkArray< RE::hkpCharacterProxyListener * > RE::hkArray< hkpConstraintInstance * > RE::hkArray< std::uint8_t > RE::hkArray< RE::hkpLinkedCollidable::CollisionEntry > RE::hkArray< RE::hkpListShape::ChildInfo > RE::hkArray< hkpPhantomOverlapListener * > RE::hkArray< RE::hkpPhantomListener * > RE::hkArray< hkpAction * > RE::hkArray< RE::hkpEntity *, void > RE::hkArray< RE::hkpSimulationIsland * > RE::hkArray< hkpActionListener * > RE::hkArray< RE::hkpEntityListener * > RE::hkArray< hkpConstraintListener * > RE::hkArray< hkpWorldDeletionListener * > RE::hkArray< hkpIslandActivationListener * > RE::hkArray< hkpWorldPostSimulationListener * > RE::hkArray< hkpWorldPostIntegrateListener * > RE::hkArray< hkpWorldPostCollideListener * > RE::hkArray< hkpIslandPostIntegrateListener * > RE::hkArray< hkpIslandPostCollideListener * > RE::hkArray< hkpContactListener * > RE::hkArray< hkpContactImpulseLimitBreachedListener * > RE::hkArray< hkpWorldExtension * > RE::hkArray< RE::hkpProperty > RE::hkArray< T, Allocator >

Public Types

enum  : std::uint32_t { kCapacityMask = 0x3FFFFFFF , kFlagMask = 0xC0000000 , kDontDeallocFlag = (std::uint32_t)1 << 31 }
 
using value_type = T
 
using size_type = std::int32_t
 
using reference = value_type &
 
using const_reference = const value_type &
 
using iterator = T *
 
using const_iterator = const T *
 

Public Member Functions

reference operator[] (size_type a_pos)
 
const_reference operator[] (size_type a_pos) const
 
T * data ()
 
const T * data () const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
bool empty () const
 
size_type size () const noexcept
 
void reserve (size_type a_newCap)
 
size_type capacity () const noexcept
 
void push_back (const T &a_value)
 
void resize (size_type a_count)
 

Public Attributes

T * _data
 
std::int32_t _size
 
std::int32_t _capacityAndFlags
 

Static Public Attributes

static constexpr float GROWTH_FACTOR = 1.5
 

Member Typedef Documentation

◆ const_iterator

template<class T >
using RE::hkArrayBase< T >::const_iterator = const T*

◆ const_reference

template<class T >
using RE::hkArrayBase< T >::const_reference = const value_type&

◆ iterator

template<class T >
using RE::hkArrayBase< T >::iterator = T*

◆ reference

template<class T >
using RE::hkArrayBase< T >::reference = value_type&

◆ size_type

template<class T >
using RE::hkArrayBase< T >::size_type = std::int32_t

◆ value_type

template<class T >
using RE::hkArrayBase< T >::value_type = T

Member Enumeration Documentation

◆ anonymous enum

template<class T >
anonymous enum : std::uint32_t
Enumerator
kCapacityMask 
kFlagMask 
kDontDeallocFlag 

Member Function Documentation

◆ back() [1/2]

template<class T >
reference RE::hkArrayBase< T >::back ( )
inline

◆ back() [2/2]

template<class T >
const_reference RE::hkArrayBase< T >::back ( ) const
inline

◆ begin() [1/2]

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

◆ begin() [2/2]

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

◆ capacity()

template<class T >
size_type RE::hkArrayBase< T >::capacity ( ) const
inlinenoexcept

◆ cbegin()

template<class T >
const_iterator RE::hkArrayBase< T >::cbegin ( ) const
inline

◆ cend()

template<class T >
const_iterator RE::hkArrayBase< T >::cend ( ) const
inline

◆ data() [1/2]

template<class T >
T * RE::hkArrayBase< T >::data ( )
inline

◆ data() [2/2]

template<class T >
const T * RE::hkArrayBase< T >::data ( ) const
inline

◆ empty()

template<class T >
bool RE::hkArrayBase< T >::empty ( ) const
inline

◆ end() [1/2]

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

◆ end() [2/2]

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

◆ front() [1/2]

template<class T >
reference RE::hkArrayBase< T >::front ( )
inline

◆ front() [2/2]

template<class T >
const_reference RE::hkArrayBase< T >::front ( ) const
inline

◆ operator[]() [1/2]

template<class T >
reference RE::hkArrayBase< T >::operator[] ( size_type  a_pos)
inline

◆ operator[]() [2/2]

template<class T >
const_reference RE::hkArrayBase< T >::operator[] ( size_type  a_pos) const
inline

◆ push_back()

template<class T >
void RE::hkArrayBase< T >::push_back ( const T &  a_value)
inline

◆ reserve()

template<class T >
void RE::hkArrayBase< T >::reserve ( size_type  a_newCap)
inline

◆ resize()

template<class T >
void RE::hkArrayBase< T >::resize ( size_type  a_count)
inline

◆ size()

template<class T >
size_type RE::hkArrayBase< T >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ _capacityAndFlags

template<class T >
std::int32_t RE::hkArrayBase< T >::_capacityAndFlags

◆ _data

template<class T >
T* RE::hkArrayBase< T >::_data

◆ _size

template<class T >
std::int32_t RE::hkArrayBase< T >::_size

◆ GROWTH_FACTOR

template<class T >
constexpr float RE::hkArrayBase< T >::GROWTH_FACTOR = 1.5
staticconstexpr

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