Public Member Functions | Private Member Functions | Private Attributes | List of all members
BT_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 BT_TinyXML2::DynArray< T, INITIAL_SIZE >

Definition at line 205 of file tinyxml2.h.

Constructor & Destructor Documentation

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

Definition at line 208 of file tinyxml2.h.

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

Definition at line 215 of file tinyxml2.h.

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

Member Function Documentation

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

Definition at line 276 of file tinyxml2.h.

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

Definition at line 221 of file tinyxml2.h.

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

Definition at line 252 of file tinyxml2.h.

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

Definition at line 302 of file tinyxml2.h.

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

Definition at line 288 of file tinyxml2.h.

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

Definition at line 293 of file tinyxml2.h.

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

Definition at line 256 of file tinyxml2.h.

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

Definition at line 261 of file tinyxml2.h.

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

Definition at line 266 of file tinyxml2.h.

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

Definition at line 241 of file tinyxml2.h.

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

Definition at line 247 of file tinyxml2.h.

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

Definition at line 225 of file tinyxml2.h.

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

Definition at line 232 of file tinyxml2.h.

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

Definition at line 271 of file tinyxml2.h.

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

Definition at line 281 of file tinyxml2.h.

Member Data Documentation

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

Definition at line 320 of file tinyxml2.h.

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

Definition at line 318 of file tinyxml2.h.

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

Definition at line 319 of file tinyxml2.h.

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

Definition at line 321 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 Jun 8 2019 18:04:06