![]() |
NiTE 2.0
|
nite::Array< T > Class Template Reference
#include <NiTE.h>
Public Member Functions | |
Array () | |
int | getSize () const |
bool | isEmpty () const |
const T & | operator[] (int index) const |
void | setData (int size, T *data) |
Detailed Description
template<class T>
class nite::Array< T >
Provides a simple array class used throughout the API. Wraps a primitive array of objects, holding the elements and their count.
Constructor & Destructor Documentation
template<class T>
nite::Array< T >::Array | ( | ) | [inline] |
Default constructor. Creates an empty Array and sets the element count to zero.
Member Function Documentation
template<class T>
int nite::Array< T >::getSize | ( | ) | const [inline] |
template<class T>
bool nite::Array< T >::isEmpty | ( | ) | const [inline] |
template<class T>
const T& nite::Array< T >::operator[] | ( | int | index | ) | const [inline] |
Implements the array indexing operator for the Array class
template<class T>
void nite::Array< T >::setData | ( | int | size, |
T * | data | ||
) | [inline] |
The documentation for this class was generated from the following file:
Generated on Thu Jun 6 2013 17:48:15 for NiTE 2.0 by
