Deep RTS
Public Types | Public Member Functions | Public Attributes | List of all members
JPS::Internal::PodVec< T > Class Template Reference

#include <JPS.h>

Public Types

typedef T * iterator
 
typedef const T * const_iterator
 
typedef SizeT size_type
 
typedef T value_type
 

Public Member Functions

 PodVec (void *user=0)
 
 ~PodVec ()
 
void clear ()
 
void dealloc ()
 
T * alloc ()
 
void push_back (const T &e)
 
void pop_back ()
 
T & back ()
 
SizeT size () const
 
bool empty () const
 
T * data ()
 
const T * data () const
 
T & operator[] (size_t idx) const
 
SizeT getindex (const T *e) const
 
void * _reserve (SizeT newcap)
 
void resize (SizeT sz)
 
SizeT _getMemSize () const
 
iterator begin ()
 
iterator end ()
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Public Attributes

void *const _user
 

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef const T* JPS::Internal::PodVec< T >::const_iterator

◆ iterator

template<typename T >
typedef T* JPS::Internal::PodVec< T >::iterator

◆ size_type

template<typename T >
typedef SizeT JPS::Internal::PodVec< T >::size_type

◆ value_type

template<typename T >
typedef T JPS::Internal::PodVec< T >::value_type

Constructor & Destructor Documentation

◆ PodVec()

template<typename T >
JPS::Internal::PodVec< T >::PodVec ( void *  user = 0)
inline

◆ ~PodVec()

template<typename T >
JPS::Internal::PodVec< T >::~PodVec ( )
inline

Member Function Documentation

◆ _getMemSize()

template<typename T >
SizeT JPS::Internal::PodVec< T >::_getMemSize ( ) const
inline

◆ _reserve()

template<typename T >
void * JPS::Internal::PodVec< T >::_reserve ( SizeT  newcap)
inline

◆ alloc()

template<typename T >
T * JPS::Internal::PodVec< T >::alloc ( )
inline

◆ back()

template<typename T >
T & JPS::Internal::PodVec< T >::back ( )
inline

◆ begin()

template<typename T >
iterator JPS::Internal::PodVec< T >::begin ( )
inline

◆ cbegin()

template<typename T >
const_iterator JPS::Internal::PodVec< T >::cbegin ( ) const
inline

◆ cend()

template<typename T >
const_iterator JPS::Internal::PodVec< T >::cend ( ) const
inline

◆ clear()

template<typename T >
void JPS::Internal::PodVec< T >::clear ( )
inline

◆ data() [1/2]

template<typename T >
T * JPS::Internal::PodVec< T >::data ( )
inline

◆ data() [2/2]

template<typename T >
const T * JPS::Internal::PodVec< T >::data ( ) const
inline

◆ dealloc()

template<typename T >
void JPS::Internal::PodVec< T >::dealloc ( )
inline

◆ empty()

template<typename T >
bool JPS::Internal::PodVec< T >::empty ( ) const
inline

◆ end()

template<typename T >
iterator JPS::Internal::PodVec< T >::end ( )
inline

◆ getindex()

template<typename T >
SizeT JPS::Internal::PodVec< T >::getindex ( const T *  e) const
inline

◆ operator[]()

template<typename T >
T & JPS::Internal::PodVec< T >::operator[] ( size_t  idx) const
inline

◆ pop_back()

template<typename T >
void JPS::Internal::PodVec< T >::pop_back ( )
inline

◆ push_back()

template<typename T >
void JPS::Internal::PodVec< T >::push_back ( const T &  e)
inline

◆ resize()

template<typename T >
void JPS::Internal::PodVec< T >::resize ( SizeT  sz)
inline

◆ size()

template<typename T >
SizeT JPS::Internal::PodVec< T >::size ( ) const
inline

Member Data Documentation

◆ _user

template<typename T >
void* const JPS::Internal::PodVec< T >::_user

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