Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellDouble.h
blob: 63960898856fb4926355f10d41b53b91208692e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef HEADER_CELLDOUBLE
#define HEADER_CELLDOUBLE

#include "Cell.h"

class CellDouble : public Cell {
	double value;

public:
	CellDouble() = default;
	CellDouble(double value);

	double getNumeralValue() override;
	String getValueForPrint() override;
	void parseAndSetValue(const char* str) override;
	void readFromFile(std::ifstream& file) override;
	void writeToFile(std::ofstream& file) override;
};

#endif