diff options
Autocommit at 28.05.2022 @ 18:59
2 files changed, 8 insertions, 8 deletions
| -rw-r--r-- | src/Models/CellFormula.cpp | 2 | ||||
| -rw-r--r-- | src/Models/CellFormula.h | 14 |
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; |
