Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
Commit02cb3becf3fc66e217e907b8a1c79fde3f41d153 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 16:24:04 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 16:24:04 +0300
Files223a82772f07aea93d5bc7d47e42d07f67bf3ad2 /src/Models/CellFormula.h
FMI-OOP-P2_Tables-02cb3becf3fc66e217e907b8a1c79fde3f41d153.tar
FMI-OOP-P2_Tables-02cb3becf3fc66e217e907b8a1c79fde3f41d153.tar.gz
FMI-OOP-P2_Tables-02cb3becf3fc66e217e907b8a1c79fde3f41d153.zip
Parenta329c3c167b8d570a656b2eed5af23e6afe8096b (diff)
Autocommit at 28.05.2022 @ 16:24
1 files changed, 3 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.h4
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h
index 3074846..e360278 100644
--- a/src/Models/CellFormula.h
+++ b/src/Models/CellFormula.h
@@ -5,7 +5,7 @@
#include "../Generic/List/List.hpp"
#include "../Generic/Pair/Pair.hpp"
-class CellFormula : public Cell {
+class CellFormula : public Cell<double> {
enum Op {
none,
plus,
@@ -21,6 +21,8 @@ class CellFormula : public Cell {
double calculate(unsigned index = 0);
+ double getValue() override;
+
public:
CellFormula() = default;