cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
DynArray< T, INIT > Class Template Reference

#include <tinyxml2.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ DynArray()

DynArray ( )
inline

◆ ~DynArray()

~DynArray ( )
inline

Member Function Documentation

◆ Capacity()

int Capacity ( ) const
inline

◆ Empty()

bool Empty ( ) const
inline

◆ Mem() [1/2]

T * Mem ( )
inline

◆ Mem() [2/2]

const T * Mem ( ) const
inline

◆ operator[]() [1/2]

T & operator[] ( int  i)
inline

◆ operator[]() [2/2]

const T & operator[] ( int  i) const
inline

◆ Pop()

T Pop ( )
inline

◆ PopArr()

void PopArr ( int  count)
inline

◆ Push()

void Push ( t)
inline

◆ PushArr()

T * PushArr ( int  count)
inline

◆ Size()

int Size ( ) const
inline

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