Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
Commitdf1d4f096d676be8faaf4f1183fdef09ff301706 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 19:29:45 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 19:29:45 +0300
Filesdc0e39b80918c89fc4486598b0a1c91b1e6da1bd /src/Models/CellFormula.h
FMI-OOP-P2_Tables-df1d4f096d676be8faaf4f1183fdef09ff301706.tar
FMI-OOP-P2_Tables-df1d4f096d676be8faaf4f1183fdef09ff301706.tar.gz
FMI-OOP-P2_Tables-df1d4f096d676be8faaf4f1183fdef09ff301706.zip
Parentfcb095cdbdee891365054a978533a9a0480ff03b (diff)
Autocommit at 28.05.2022 @ 19:29
1 files changed, 6 insertions, 7 deletions
-rw-r--r--src/Models/CellFormula.h13
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index 28134ab..819e758 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -7,13 +7,12 @@
class CellFormula : public Cell {
enum Op {
- none = 0b000000,
- branch = 0b000001,
- plus = 0b000010,
- minus = 0b000100,
- mult = 0b001000,
- div = 0b010000,
- pow = 0b100000,
+ none = 0,
+ plus = '+',
+ minus = '-',
+ mult = '*',
+ div = '/',
+ pow = '^',
};
const List<List<Cell*>>* tableCells;