Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
Commit547c1b6d327d0135b17922c22b891691d574973b (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 19:44:51 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 19:44:51 +0300
Files354d0dbff0a9a9086ec7f0ddbf216f266d38adeb /src/Models/CellFormula.h
FMI-OOP-P2_Tables-547c1b6d327d0135b17922c22b891691d574973b.tar
FMI-OOP-P2_Tables-547c1b6d327d0135b17922c22b891691d574973b.tar.gz
FMI-OOP-P2_Tables-547c1b6d327d0135b17922c22b891691d574973b.zip
Parent61d9970168b0d68e93664223751aec099e88d776 (diff)
Autocommit at 28.05.2022 @ 19:44
1 files changed, 1 insertions, 10 deletions
-rw-r--r--src/Models/CellFormula.h11
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index c4bb509..2aaba0f 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -7,19 +7,10 @@
#include "../Generic/Pair/Pair.hpp"
class CellFormula : public Cell {
- enum Op {
- none = 0,
- plus = '+',
- minus = '-',
- mult = '*',
- div = '/',
- pow = '^',
- };
-
const List<List<Cell*>>* tableCells;
List<CellDouble> localCells;
- List<Pair<Cell*, Op>> formula;
+ List<Pair<Cell*, char>> formula;
String rawFormula;
double calculate(unsigned index = 0);