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
 
 ~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 185 of file tinyxml2.h.

Constructor & Destructor Documentation

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

Definition at line 188 of file tinyxml2.h.

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

Definition at line 194 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 253 of file tinyxml2.h.

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

Definition at line 200 of file tinyxml2.h.

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

Definition at line 229 of file tinyxml2.h.

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

Definition at line 272 of file tinyxml2.h.

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

Definition at line 258 of file tinyxml2.h.

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

Definition at line 263 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 233 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 238 of file tinyxml2.h.

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

Definition at line 243 of file tinyxml2.h.

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

Definition at line 219 of file tinyxml2.h.

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

Definition at line 224 of file tinyxml2.h.

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

Definition at line 204 of file tinyxml2.h.

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

Definition at line 210 of file tinyxml2.h.

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

Definition at line 248 of file tinyxml2.h.

Member Data Documentation

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

Definition at line 289 of file tinyxml2.h.

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

Definition at line 287 of file tinyxml2.h.

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

Definition at line 288 of file tinyxml2.h.

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

Definition at line 290 of file tinyxml2.h.


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


denso_robot_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:28