Public Types | Public Member Functions | Private Attributes
glh::array2< T > Class Template Reference

#include <glh_array.h>

List of all members.

Public Types

typedef T value_type

Public Member Functions

 array2 (int width=1, int height=1)
 array2 (const array2< T > &t)
void clear (const T &val)
void copy (const array2< T > &src, int i_offset=0, int j_offset=0, int width=0, int height=0)
int get_height () const
T * get_pointer ()
const T * get_pointer () const
int get_width () const
T & operator() (int i, int j)
const T & operator() (int i, int j) const
const array2operator= (const array2< T > &t)
void set_size (int width, int height)
 ~array2 ()

Private Attributes

T * data
int h
int w

Detailed Description

template<class T>
class glh::array2< T >

Definition at line 54 of file glh_array.h.


Member Typedef Documentation

template<class T>
typedef T glh::array2< T >::value_type

Definition at line 57 of file glh_array.h.


Constructor & Destructor Documentation

template<class T>
glh::array2< T >::array2 ( int  width = 1,
int  height = 1 
) [inline]

Definition at line 59 of file glh_array.h.

template<class T>
glh::array2< T >::array2 ( const array2< T > &  t) [inline]

Definition at line 67 of file glh_array.h.

template<class T>
glh::array2< T >::~array2 ( ) [inline]

Definition at line 75 of file glh_array.h.


Member Function Documentation

template<class T>
void glh::array2< T >::clear ( const T &  val) [inline]

Definition at line 114 of file glh_array.h.

template<class T>
void glh::array2< T >::copy ( const array2< T > &  src,
int  i_offset = 0,
int  j_offset = 0,
int  width = 0,
int  height = 0 
) [inline]

Definition at line 121 of file glh_array.h.

template<class T>
int glh::array2< T >::get_height ( ) const [inline]

Definition at line 112 of file glh_array.h.

template<class T>
T* glh::array2< T >::get_pointer ( ) [inline]

Definition at line 148 of file glh_array.h.

template<class T>
const T* glh::array2< T >::get_pointer ( ) const [inline]

Definition at line 150 of file glh_array.h.

template<class T>
int glh::array2< T >::get_width ( ) const [inline]

Definition at line 110 of file glh_array.h.

template<class T>
T& glh::array2< T >::operator() ( int  i,
int  j 
) [inline]

Definition at line 103 of file glh_array.h.

template<class T>
const T& glh::array2< T >::operator() ( int  i,
int  j 
) const [inline]

Definition at line 106 of file glh_array.h.

template<class T>
const array2& glh::array2< T >::operator= ( const array2< T > &  t) [inline]

Definition at line 77 of file glh_array.h.

template<class T>
void glh::array2< T >::set_size ( int  width,
int  height 
) [inline]

Definition at line 86 of file glh_array.h.


Member Data Documentation

template<class T>
T* glh::array2< T >::data [private]

Definition at line 154 of file glh_array.h.

template<class T>
int glh::array2< T >::h [private]

Definition at line 153 of file glh_array.h.

template<class T>
int glh::array2< T >::w [private]

Definition at line 153 of file glh_array.h.


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


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52