Public Member Functions | Private Member Functions | Private Attributes | List of all members
tinyxml2::DynArray< T, INITIAL_SIZE > Class Template Reference

#include <tinyxml2.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

int _allocated
 
T * _mem
 
_pool [INITIAL_SIZE]
 
int _size
 

Detailed Description

template<class T, int INITIAL_SIZE>
class tinyxml2::DynArray< T, INITIAL_SIZE >

Definition at line 195 of file tinyxml2.h.

Constructor & Destructor Documentation

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

Definition at line 198 of file tinyxml2.h.

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

Definition at line 205 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
tinyxml2::DynArray< T, INITIAL_SIZE >::DynArray ( const DynArray< T, INITIAL_SIZE > &  )
private

Member Function Documentation

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

Definition at line 266 of file tinyxml2.h.

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

Definition at line 211 of file tinyxml2.h.

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

Definition at line 242 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
void tinyxml2::DynArray< T, INITIAL_SIZE >::EnsureCapacity ( int  cap)
inlineprivate

Definition at line 292 of file tinyxml2.h.

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

Definition at line 278 of file tinyxml2.h.

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

Definition at line 283 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
void tinyxml2::DynArray< T, INITIAL_SIZE >::operator= ( const DynArray< T, INITIAL_SIZE > &  )
private
template<class T, int INITIAL_SIZE>
T& tinyxml2::DynArray< T, INITIAL_SIZE >::operator[] ( int  i)
inline

Definition at line 246 of file tinyxml2.h.

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

Definition at line 251 of file tinyxml2.h.

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

Definition at line 256 of file tinyxml2.h.

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

Definition at line 231 of file tinyxml2.h.

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

Definition at line 237 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
void tinyxml2::DynArray< T, INITIAL_SIZE >::Push ( t)
inline

Definition at line 215 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
T* tinyxml2::DynArray< T, INITIAL_SIZE >::PushArr ( int  count)
inline

Definition at line 222 of file tinyxml2.h.

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

Definition at line 261 of file tinyxml2.h.

template<class T, int INITIAL_SIZE>
void tinyxml2::DynArray< T, INITIAL_SIZE >::SwapRemove ( int  i)
inline

Definition at line 271 of file tinyxml2.h.

Member Data Documentation

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

Definition at line 310 of file tinyxml2.h.

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

Definition at line 308 of file tinyxml2.h.

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

Definition at line 309 of file tinyxml2.h.

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

Definition at line 311 of file tinyxml2.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:55