GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
tinyxml2::DynArray< T, INITIAL_SIZE > Class Template Reference

#include <tinyxml2.h>

Public Member Functions

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

Private Member Functions

 DynArray (const DynArray &)
 DynArray (const DynArray &)
void EnsureCapacity (int cap)
void EnsureCapacity (int cap)
void operator= (const DynArray &)
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 206 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ DynArray() [1/4]

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

Definition at line 209 of file tinyxml2.h.

◆ ~DynArray() [1/2]

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

Definition at line 216 of file tinyxml2.h.

◆ DynArray() [2/4]

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

◆ DynArray() [3/4]

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

Definition at line 209 of file tinyxml2.h.

◆ ~DynArray() [2/2]

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

Definition at line 216 of file tinyxml2.h.

◆ DynArray() [4/4]

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

Member Function Documentation

◆ Capacity() [1/2]

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

Definition at line 277 of file tinyxml2.h.

◆ Capacity() [2/2]

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

Definition at line 277 of file tinyxml2.h.

◆ Clear() [1/2]

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

Definition at line 222 of file tinyxml2.h.

◆ Clear() [2/2]

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

Definition at line 222 of file tinyxml2.h.

◆ Empty() [1/2]

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

Definition at line 253 of file tinyxml2.h.

◆ Empty() [2/2]

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

Definition at line 253 of file tinyxml2.h.

◆ EnsureCapacity() [1/2]

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

Definition at line 303 of file tinyxml2.h.

◆ EnsureCapacity() [2/2]

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

Definition at line 303 of file tinyxml2.h.

◆ Mem() [1/4]

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

Definition at line 294 of file tinyxml2.h.

◆ Mem() [2/4]

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

Definition at line 294 of file tinyxml2.h.

◆ Mem() [3/4]

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

Definition at line 289 of file tinyxml2.h.

◆ Mem() [4/4]

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

Definition at line 289 of file tinyxml2.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/4]

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

Definition at line 257 of file tinyxml2.h.

◆ operator[]() [2/4]

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

Definition at line 257 of file tinyxml2.h.

◆ operator[]() [3/4]

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

Definition at line 262 of file tinyxml2.h.

◆ operator[]() [4/4]

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

Definition at line 262 of file tinyxml2.h.

◆ PeekTop() [1/2]

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

Definition at line 267 of file tinyxml2.h.

◆ PeekTop() [2/2]

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

Definition at line 267 of file tinyxml2.h.

◆ Pop() [1/2]

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

Definition at line 242 of file tinyxml2.h.

◆ Pop() [2/2]

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

Definition at line 242 of file tinyxml2.h.

◆ PopArr() [1/2]

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

Definition at line 248 of file tinyxml2.h.

◆ PopArr() [2/2]

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

Definition at line 248 of file tinyxml2.h.

◆ Push() [1/2]

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

Definition at line 226 of file tinyxml2.h.

◆ Push() [2/2]

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

Definition at line 226 of file tinyxml2.h.

◆ PushArr() [1/2]

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

Definition at line 233 of file tinyxml2.h.

◆ PushArr() [2/2]

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

Definition at line 233 of file tinyxml2.h.

◆ Size() [1/2]

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

Definition at line 272 of file tinyxml2.h.

◆ Size() [2/2]

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

Definition at line 272 of file tinyxml2.h.

◆ SwapRemove() [1/2]

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

Definition at line 282 of file tinyxml2.h.

◆ SwapRemove() [2/2]

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

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

◆ _mem

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

Definition at line 319 of file tinyxml2.h.

◆ _pool

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

Definition at line 320 of file tinyxml2.h.

◆ _size

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

Definition at line 322 of file tinyxml2.h.


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