ifw-odp 5.0.0
Loading...
Searching...
No Matches
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
19
20namespace ifw::odp {
21
30 class MatrixWrapper : virtual public odp::Matrix
31 {
32 public:
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
This class extends the odp::Matrix class adding the constructor to create the CPL matrix from a buffe...
Definition matrixWrapper.hpp:31
MatrixWrapper()
Class constructor.
Definition matrixWrapper.cpp:15
virtual ~MatrixWrapper()
Class destructor.
Definition matrixWrapper.cpp:40
This class is C++ wrapper for a CPL matrix object. It provides a simplified interface that allows to ...
Definition matrix.hpp:39
Matrix class header file.
Definition array.cpp:16