HoverRace  2.0
Public Member Functions | Protected Attributes | List of all members
MR_FastArrayBase< pType > Class Template Reference

#include <GameSession.h>

+ Inheritance diagram for MR_FastArrayBase< pType >:

Public Member Functions

 MR_FastArrayBase (int pSize, pType *pData)
 
void Add (pType pData)
 
BOOL CanAdd (int pCount=1)
 
void Clean ()
 
BOOL Contains (pType pData) const
 
int Full () const
 
const pType operator[] (int pIndex) const
 
const pType & operator[] (int pIndex)
 
int TotalSize () const
 
void Use (int pCount=1)
 
int Used () const
 

Protected Attributes

pType * mArray
 
int mArraySize
 
int mNbItem
 

Constructor & Destructor Documentation

template<class pType>
MR_FastArrayBase< pType >::MR_FastArrayBase ( int  pSize,
pType *  pData 
)
inline

Member Function Documentation

template<class pType>
void MR_FastArrayBase< pType >::Add ( pType  pData)
inline
template<class pType>
BOOL MR_FastArrayBase< pType >::CanAdd ( int  pCount = 1)
inline
template<class pType>
void MR_FastArrayBase< pType >::Clean ( )
inline
template<class pType>
BOOL MR_FastArrayBase< pType >::Contains ( pType  pData) const
inline
template<class pType>
int MR_FastArrayBase< pType >::Full ( ) const
inline
template<class pType>
const pType MR_FastArrayBase< pType >::operator[] ( int  pIndex) const
inline
template<class pType>
const pType& MR_FastArrayBase< pType >::operator[] ( int  pIndex)
inline
template<class pType>
int MR_FastArrayBase< pType >::TotalSize ( ) const
inline
template<class pType>
void MR_FastArrayBase< pType >::Use ( int  pCount = 1)
inline
template<class pType>
int MR_FastArrayBase< pType >::Used ( ) const
inline

Member Data Documentation

template<class pType>
pType* MR_FastArrayBase< pType >::mArray
protected
template<class pType>
int MR_FastArrayBase< pType >::mArraySize
protected
template<class pType>
int MR_FastArrayBase< pType >::mNbItem
protected

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