Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tinyxml2::DynArray< T, INITIAL_SIZE_XML > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/tinyxml2.h>

+ Collaboration diagram for tinyxml2::DynArray< T, INITIAL_SIZE_XML >:

Public Member Functions

 DynArray ()
 
 ~DynArray ()
 
void Clear ()
 
void Push (T t)
 
TPushArr (int count)
 
T Pop ()
 
void PopArr (int count)
 
bool Empty () const
 
Toperator[] (int i)
 
const Toperator[] (int i) const
 
const TPeekTop () const
 
int Size () const
 
int Capacity () const
 
const TMem () const
 
TMem ()
 

Private Member Functions

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

Private Attributes

T_mem
 
T _pool [INITIAL_SIZE_XML]
 
int _allocated
 
int _size
 

Detailed Description

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

Definition at line 192 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 192 of file tinyxml2.h

Constructor & Destructor Documentation

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

Definition at line 195 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 195 of file tinyxml2.h

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

Definition at line 201 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 201 of file tinyxml2.h

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

Member Function Documentation

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

Definition at line 262 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 262 of file tinyxml2.h

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

Definition at line 207 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 207 of file tinyxml2.h

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

Definition at line 238 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 238 of file tinyxml2.h

Referenced by tinyxml2::MemPoolT< sizeof(XMLElement) >::Clear().

+ Here is the caller graph for this function:

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

Definition at line 281 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 281 of file tinyxml2.h

Referenced by tinyxml2::DynArray< char, 20 >::Push(), and tinyxml2::DynArray< char, 20 >::PushArr().

+ Here is the caller graph for this function:

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

Definition at line 267 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 267 of file tinyxml2.h

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

Definition at line 272 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 272 of file tinyxml2.h

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

Definition at line 242 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 242 of file tinyxml2.h

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

Definition at line 247 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 247 of file tinyxml2.h

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

Definition at line 252 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 252 of file tinyxml2.h

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

Definition at line 227 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 227 of file tinyxml2.h

Referenced by tinyxml2::MemPoolT< sizeof(XMLElement) >::Clear(), and tinyxml2::XMLPrinter::CloseElement().

+ Here is the caller graph for this function:

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

Definition at line 233 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 233 of file tinyxml2.h

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

Definition at line 211 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 211 of file tinyxml2.h

Referenced by tinyxml2::MemPoolT< sizeof(XMLElement) >::Alloc(), tinyxml2::XMLPrinter::OpenElement(), and tinyxml2::XMLPrinter::XMLPrinter().

+ Here is the caller graph for this function:

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

Definition at line 218 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 218 of file tinyxml2.h

Referenced by tinyxml2::XMLPrinter::Print().

+ Here is the caller graph for this function:

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

Definition at line 257 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 257 of file tinyxml2.h

Referenced by tinyxml2::XMLPrinter::Print(), and tinyxml2::MemPoolT< sizeof(XMLElement) >::Trace().

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 298 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 298 of file tinyxml2.h

Referenced by tinyxml2::DynArray< char, 20 >::Capacity(), tinyxml2::DynArray< char, 20 >::DynArray(), and tinyxml2::DynArray< char, 20 >::EnsureCapacity().

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

Definition at line 297 of file tinyxml2.h.

View newest version in sPHENIX GitHub at line 297 of file tinyxml2.h

Referenced by tinyxml2::DynArray< char, 20 >::DynArray(), tinyxml2::DynArray< char, 20 >::EnsureCapacity(), and tinyxml2::DynArray< char, 20 >::~DynArray().


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