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

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

class Cell {
public:
	virtual String getValueForPrint() = 0;
	virtual void parseAndSetValue(const char* str) = 0;
	virtual void readFromFile(std::ifstream& filePath) = 0;
	virtual void saveToFile(const char* filePath) = 0;

	virtual ~Cell() = default;
};

#endif