ifw-odp  2.0.0-alpha
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
matrixWrapper.hpp
Go to the documentation of this file.
1 
9 #ifndef ODP_MATRIX_WRAPPER_HPP
10 #define ODP_MATRIX_WRAPPER_HPP
11 
12 
13 #ifndef __cplusplus
14 #error This is a C++ include file and cannot be used from plain C
15 #endif
16 
17 // Local header files
18 #include "cppcpl/matrix.hpp"
19 
20 namespace odp {
21 
30  class MatrixWrapper : virtual public odp::Matrix
31  {
32  public:
39  MatrixWrapper();
40 
48  MatrixWrapper(cpl_size rows, cpl_size cols);
49 
63  MatrixWrapper(cpl_size nrows, cpl_size ncols, double *buf);
64 
71  MatrixWrapper(const MatrixWrapper &matrix);
72 
80  virtual ~MatrixWrapper();
81  };
82 
83 }
84 #endif
Matrix class header file.
This class is C++ wrapper for a CPL matrix object. It provides a simplified interface that allows to ...
Definition: matrix.hpp:38
MatrixWrapper()
Class constructor.
Definition: matrixWrapper.cpp:15
This class extends the odp::Matrix class adding the constructor to create the CPL matrix from a buffe...
Definition: matrixWrapper.hpp:30
virtual ~MatrixWrapper()
Class destructor.
Definition: matrixWrapper.cpp:41