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
 
T * Mem ()
 
const T * Mem () const
 
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 [static_cast< size_t >(INITIAL_SIZE)]
 
int _size
 

Detailed Description

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

Definition at line 203 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ DynArray() [1/2]

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

Definition at line 206 of file tinyxml2.h.

◆ ~DynArray()

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

Definition at line 213 of file tinyxml2.h.

◆ DynArray() [2/2]

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

Member Function Documentation

◆ Capacity()

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

Definition at line 274 of file tinyxml2.h.

◆ Clear()

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

Definition at line 219 of file tinyxml2.h.

◆ Empty()

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

Definition at line 250 of file tinyxml2.h.

◆ EnsureCapacity()

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

Definition at line 300 of file tinyxml2.h.

◆ Mem() [1/2]

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

Definition at line 291 of file tinyxml2.h.

◆ Mem() [2/2]

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

Definition at line 286 of file tinyxml2.h.

◆ operator=()

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

◆ operator[]() [1/2]

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

Definition at line 254 of file tinyxml2.h.

◆ operator[]() [2/2]

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

Definition at line 259 of file tinyxml2.h.

◆ PeekTop()

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

Definition at line 264 of file tinyxml2.h.

◆ Pop()

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

Definition at line 239 of file tinyxml2.h.

◆ PopArr()

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

Definition at line 245 of file tinyxml2.h.

◆ Push()

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

Definition at line 223 of file tinyxml2.h.

◆ PushArr()

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

Definition at line 230 of file tinyxml2.h.

◆ Size()

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

Definition at line 269 of file tinyxml2.h.

◆ SwapRemove()

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

Definition at line 279 of file tinyxml2.h.

Member Data Documentation

◆ _allocated

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

Definition at line 318 of file tinyxml2.h.

◆ _mem

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

Definition at line 316 of file tinyxml2.h.

◆ _pool

template<class T , int INITIAL_SIZE>
T tinyxml2::DynArray< T, INITIAL_SIZE >::_pool[static_cast< size_t >(INITIAL_SIZE)]
private

Definition at line 317 of file tinyxml2.h.

◆ _size

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

Definition at line 319 of file tinyxml2.h.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19