Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
Commit5d13f960965d8dce18cc32ef71d73df76f5c8395 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 16:14:00 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 16:14:00 +0300
Files5657056afe1090c09425c14d515dc6d066b394f5 /src/Models/CellFormula.h
FMI-OOP-P2_Tables-5d13f960965d8dce18cc32ef71d73df76f5c8395.tar
FMI-OOP-P2_Tables-5d13f960965d8dce18cc32ef71d73df76f5c8395.tar.gz
FMI-OOP-P2_Tables-5d13f960965d8dce18cc32ef71d73df76f5c8395.zip
Parent13f94e28b06966adcfee9a8a7d90b49b1e4bf3a1 (diff)
Autocommit at 28.05.2022 @ 16:14
1 files changed, 10 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.h11
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index cf349e0..505d305 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -3,10 +3,19 @@
#include "Cell.h"
#include "../Generic/List/List.hpp"
+#include "../Generic/Pair/Pair.hpp"
class CellFormula : public Cell {
+ enum Op {
+ plus,
+ minus,
+ mult,
+ div,
+ pow,
+ };
+
List<Cell*> referencedCells;
- List<Pair<Cell*, char>> formula;
+ List<Pair<Cell*, Op>> formula;
String rawFormula;
public: