Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellDouble.h
diff options
context:
space:
mode:
1 files changed, 4 insertions, 1 deletions
-rw-r--r--src/Models/CellDouble.h5
diff --git a/src/Models/CellDouble.h b/src/Models/CellDouble.h
index 508d561..4b6525c 100644
--- a/src/Models/CellDouble.h
+++ b/src/Models/CellDouble.h
@@ -3,12 +3,15 @@
#include "Cell.h"
-class CellDouble : public Cell {
+class CellDouble : public Cell<double> {
double value;
public:
CellDouble() = default;
+ CellDouble(int val);
+ CellDouble(String str);
+ double getValue() override;
String getValueForPrint() override;
void parseAndSetValue(const char* str) override;
void readFromFile(std::ifstream& file) override;