#include <OpenNI.h>
Public Member Functions | |
void | _setData (const T *data, int count, bool isOwner=false) |
Array () | |
Array (const T *data, int count) | |
int | getSize () const |
const T & | operator[] (int index) const |
~Array () | |
Private Member Functions | |
Array (const Array< T > &) | |
void | clear () |
Array< T > & | operator= (const Array< T > &) |
Private Attributes | |
int | m_count |
const T * | m_data |
bool | m_owner |
Provides a simple array class used throughout the API. Wraps a primitive array of objects, holding the elements and their count.
openni::Array< T >::Array | ( | ) | [inline] |
openni::Array< T >::Array | ( | const T * | data, |
int | count | ||
) | [inline] |
openni::Array< T >::~Array | ( | ) | [inline] |
openni::Array< T >::Array | ( | const Array< T > & | ) | [private] |
void openni::Array< T >::_setData | ( | const T * | data, |
int | count, | ||
bool | isOwner = false |
||
) | [inline] |
void openni::Array< T >::clear | ( | ) | [inline, private] |
int openni::Array< T >::getSize | ( | ) | const [inline] |
const T& openni::Array< T >::operator[] | ( | int | index | ) | const [inline] |
int openni::Array< T >::m_count [private] |
const T* openni::Array< T >::m_data [private] |
bool openni::Array< T >::m_owner [private] |