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

#include "Cell.h"

class CellInt : public Cell {
	int value;

public:
	CellInt() = default;
	CellInt(int value);

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

#endif