ifw-odp
3.1.0-pre1
cppcpl
src
include
cppcpl
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
odp::Matrix
This class is C++ wrapper for a CPL matrix object. It provides a simplified interface that allows to ...
Definition:
matrix.hpp:39
odp::MatrixWrapper
This class extends the odp::Matrix class adding the constructor to create the CPL matrix from a buffe...
Definition:
matrixWrapper.hpp:31
odp
Definition:
array.cpp:16
odp::MatrixWrapper::MatrixWrapper
MatrixWrapper()
Class constructor.
Definition:
matrixWrapper.cpp:15
matrix.hpp
Matrix class header file.
odp::MatrixWrapper::~MatrixWrapper
virtual ~MatrixWrapper()
Class destructor.
Definition:
matrixWrapper.cpp:40
Generated by
1.8.20