Belle II Software  release-08-01-10
WrapArray2D< T > Class Template Reference

class to replace POD 2D array to save stack usage since it just allocates memory dynamically. More...

#include <WrapArray2D.h>

Public Member Functions

 WrapArray2D (int rows, int cols)
 replace POD 2D array

 
 WrapArray2D (const WrapArray2D &)=delete
 no copy
 
WrapArray2Doperator= (const WrapArray2D &)=delete
 no assignment
 
 ~WrapArray2D ()
 destructor
 
T * operator[] (int irow)
 return row
 
 operator T* ()
 return
 

Private Attributes

T * m_data
 content of the 2d array
 
int m_ncols
 number of columns
 

Detailed Description

template<typename T>
class Belle2::ECL::WrapArray2D< T >

class to replace POD 2D array to save stack usage since it just allocates memory dynamically.

Definition at line 23 of file WrapArray2D.h.


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