Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models
diff options
context:
space:
mode:
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;