Numworks Epsilon  1.4.1
Graphing Calculator Operating System
matrix_data.h
Go to the documentation of this file.
1 #ifndef POINCARE_MATRIX_DATA_H
2 #define POINCARE_MATRIX_DATA_H
3 
4 #include <poincare/list_data.h>
5 #include <poincare/expression.h>
6 
7 namespace Poincare {
8 
9 template<class T>
10 class Complex;
11 
12 class MatrixData {
13 public:
14  MatrixData(ListData * listData, bool clone);
15  ~MatrixData();
16  MatrixData(const MatrixData& other) = delete;
17  MatrixData(MatrixData&& other) = delete;
18  MatrixData& operator=(const MatrixData& other) = delete;
19  MatrixData& operator=(MatrixData&& other) = delete;
20  void pushListData(ListData * listData, bool clone);
21  int numberOfRows();
22  int numberOfColumns();
23  void pilferOperands(const Expression *** newStorageAddress);
24 private:
25  int m_numberOfRows;
26  int m_numberOfColumns;
27  const Expression ** m_operands;
28 };
29 
30 }
31 
32 #endif
MatrixData & operator=(const MatrixData &other)=delete
void pushListData(ListData *listData, bool clone)
Definition: matrix_data.cpp:35
void pilferOperands(const Expression ***newStorageAddress)
Definition: matrix_data.cpp:61
MatrixData(ListData *listData, bool clone)
Definition: matrix_data.cpp:10