ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
tinyxml2::DynArray< T, INIT > Class Template Reference

#include <tinyxml2.h>

Public Member Functions

 DynArray ()
 ~DynArray ()
void Clear ()
void Push (T t)
T * PushArr (int count)
T Pop ()
void PopArr (int count)
bool Empty () const
T & operator[] (int i)
const T & operator[] (int i) const
const T & PeekTop () const
int Size () const
int Capacity () const
const T * Mem () const
T * Mem ()

Private Member Functions

 DynArray (const DynArray &)
void operator= (const DynArray &)
void EnsureCapacity (int cap)

Private Attributes

T * _mem
T _pool [INIT]
int _allocated
int _size

Constructor & Destructor Documentation

◆ DynArray() [1/2]

template<class T, int INIT>
tinyxml2::DynArray< T, INIT >::DynArray ( )
inline
Here is the caller graph for this function:

◆ ~DynArray()

template<class T, int INIT>
tinyxml2::DynArray< T, INIT >::~DynArray ( )
inline

◆ DynArray() [2/2]

template<class T, int INIT>
tinyxml2::DynArray< T, INIT >::DynArray ( const DynArray< T, INIT > & )
private
Here is the call graph for this function:

Member Function Documentation

◆ Capacity()

template<class T, int INIT>
int tinyxml2::DynArray< T, INIT >::Capacity ( ) const
inline

◆ Clear()

template<class T, int INIT>
void tinyxml2::DynArray< T, INIT >::Clear ( )
inline

◆ Empty()

template<class T, int INIT>
bool tinyxml2::DynArray< T, INIT >::Empty ( ) const
inline

◆ EnsureCapacity()

template<class T, int INIT>
void tinyxml2::DynArray< T, INIT >::EnsureCapacity ( int cap)
inlineprivate
Here is the caller graph for this function:

◆ Mem() [1/2]

template<class T, int INIT>
T * tinyxml2::DynArray< T, INIT >::Mem ( )
inline

◆ Mem() [2/2]

template<class T, int INIT>
const T * tinyxml2::DynArray< T, INIT >::Mem ( ) const
inline

◆ operator=()

template<class T, int INIT>
void tinyxml2::DynArray< T, INIT >::operator= ( const DynArray< T, INIT > & )
private
Here is the call graph for this function:

◆ operator[]() [1/2]

template<class T, int INIT>
T & tinyxml2::DynArray< T, INIT >::operator[] ( int i)
inline

◆ operator[]() [2/2]

template<class T, int INIT>
const T & tinyxml2::DynArray< T, INIT >::operator[] ( int i) const
inline

◆ PeekTop()

template<class T, int INIT>
const T & tinyxml2::DynArray< T, INIT >::PeekTop ( ) const
inline

◆ Pop()

template<class T, int INIT>
T tinyxml2::DynArray< T, INIT >::Pop ( )
inline

◆ PopArr()

template<class T, int INIT>
void tinyxml2::DynArray< T, INIT >::PopArr ( int count)
inline

◆ Push()

template<class T, int INIT>
void tinyxml2::DynArray< T, INIT >::Push ( T t)
inline
Here is the call graph for this function:

◆ PushArr()

template<class T, int INIT>
T * tinyxml2::DynArray< T, INIT >::PushArr ( int count)
inline
Here is the call graph for this function:

◆ Size()

template<class T, int INIT>
int tinyxml2::DynArray< T, INIT >::Size ( ) const
inline

Member Data Documentation

◆ _allocated

template<class T, int INIT>
int tinyxml2::DynArray< T, INIT >::_allocated
private

◆ _mem

template<class T, int INIT>
T* tinyxml2::DynArray< T, INIT >::_mem
private

◆ _pool

template<class T, int INIT>
T tinyxml2::DynArray< T, INIT >::_pool[INIT]
private

◆ _size

template<class T, int INIT>
int tinyxml2::DynArray< T, INIT >::_size
private

The documentation for this class was generated from the following file:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/libTierces/tinyxml2.h