TarzaNN
TarzaNN neural network simulator
Public Member Functions | Protected Member Functions | Protected Attributes
Array2D< T > Class Template Reference

#include <Array2D.h>

List of all members.

Public Member Functions

 Array2D (const int nXSize, const int nYSize)
 ~Array2D ()
T & operator() (uint32_t col, uint32_t row)
operator() (uint32_t col, uint32_t row) const
const uint32_t getXSize ()
const uint32_t getYSize ()
void testfunc ()
void init ()

Protected Member Functions

 Array2D ()

Protected Attributes

void * data
uint32_t height
uint32_t width
uint32_t rowBytes
T ** rows
uint32_t memorySize

Detailed Description

template<typename T>
class Array2D< T >

2D array of objects.


Constructor & Destructor Documentation

template<typename T>
Array2D< T >::Array2D ( ) [inline, protected]
template<typename T>
Array2D< T >::Array2D ( const int  nXSize,
const int  nYSize 
) [inline]
template<typename T>
Array2D< T >::~Array2D ( ) [inline]

Destructor.


Member Function Documentation

template<typename T>
const uint32_t Array2D< T >::getXSize ( ) [inline]
template<typename T>
const uint32_t Array2D< T >::getYSize ( ) [inline]
template<typename T>
void Array2D< T >::init ( ) [inline]
template<typename T>
T& Array2D< T >::operator() ( uint32_t  col,
uint32_t  row 
) [inline]
template<typename T>
T Array2D< T >::operator() ( uint32_t  col,
uint32_t  row 
) const [inline]
template<typename T>
void Array2D< T >::testfunc ( ) [inline]

Member Data Documentation

template<typename T>
void* Array2D< T >::data [protected]
template<typename T>
uint32_t Array2D< T >::height [protected]
template<typename T>
uint32_t Array2D< T >::memorySize [protected]

Memory size, in bytes

template<typename T>
uint32_t Array2D< T >::rowBytes [protected]
template<typename T>
T** Array2D< T >::rows [protected]

Pointers to the start of each row

template<typename T>
uint32_t Array2D< T >::width [protected]

The width (in pixels) of the buffer


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines