![]() |
Belle II Software
release-08-02-04
|
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 | |
| WrapArray2D & | operator= (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 | |
class to replace POD 2D array to save stack usage since it just allocates memory dynamically.
Definition at line 23 of file WrapArray2D.h.