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

#include <fstream>
#include "../Generic/String/String.h"

class Cell {
public:
	virtual double getNumeralValue() = 0;
	virtual String getValueForPrint() = 0;
	virtual void parseAndSetValue(const char* str) = 0;
	virtual void readFromFile(std::ifstream& file) = 0;
	virtual void writeToFile(std::ofstream& file) = 0;

	virtual ~Cell() = default;
};

#endif