OpenNI 2.0
|
openni::Array< T > Class Template Reference
#include <OpenNI.h>
Public Member Functions | |
Array () | |
Array (const T *data, int count) | |
~Array () | |
int | getSize () const |
const T & | operator[] (int index) const |
Detailed Description
template<class T>
class openni::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>
openni::Array< T >::Array | ( | ) | [inline] |
Default constructor. Creates an empty Array and sets the element count to zero.
template<class T>
openni::Array< T >::Array | ( | const T * | data, |
int | count | ||
) | [inline] |
template<class T>
openni::Array< T >::~Array | ( | ) | [inline] |
Destructor. Destroys the Array object.
Member Function Documentation
template<class T>
int openni::Array< T >::getSize | ( | ) | const [inline] |
template<class T>
const T& openni::Array< T >::operator[] | ( | int | index | ) | const [inline] |
Implements the array indexing operator for the Array class.
The documentation for this class was generated from the following file:
Generated on Tue Nov 12 2013 16:10:45 for OpenNI 2.0 by 1.7.5.1