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

#include "Cell.h"

class CellInt : public Cell {
	int value;

public:
	CellInt() = default;
	CellInt(int 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