Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models
diff options
context:
space:
mode:
Commitb65ebf144a9fe2e90f242c4bf8b8db3435f9fca9 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 18:59:38 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 18:59:38 +0300
Filese2f4dd02916143e629a83a10fac114cba6153a50 /src/Models
FMI-OOP-P2_Tables-b65ebf144a9fe2e90f242c4bf8b8db3435f9fca9.tar
FMI-OOP-P2_Tables-b65ebf144a9fe2e90f242c4bf8b8db3435f9fca9.tar.gz
FMI-OOP-P2_Tables-b65ebf144a9fe2e90f242c4bf8b8db3435f9fca9.zip
Parent8358b23c829151d6d707794ce0cba13089739078 (diff)
Autocommit at 28.05.2022 @ 18:59
2 files changed, 8 insertions, 8 deletions
-rw-r--r--src/Models/CellFormula.cpp2
-rw-r--r--src/Models/CellFormula.h14
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp
index d1c7c90..be50ef7 100644
--- a/src/Models/CellFormula.cpp
+++ b/src/Models/CellFormula.cpp
@@ -25,7 +25,7 @@ String CellFormula::getValueForPrint() {
}
void CellFormula::parseAndSetValue(const char* str) {
- //TODO
+
}
void CellFormula::readFromFile(std::ifstream& file) {
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index 98a0ccf..eebe120 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -7,13 +7,13 @@
class CellFormula : public Cell {
enum Op {
- none = 0b0000000,
- branch = 0b0000001,
- plus = 0b0000010,
- minus = 0b0,
- mult = 0b0,
- div = 0b0,
- pow = 0b0,
+ none = 0b000000,
+ branch = 0b000001,
+ plus = 0b000010,
+ minus = 0b000100,
+ mult = 0b001000,
+ div = 0b010000,
+ pow = 0b100000,
};
List<Cell*> referencedCells;