blob: f202945030c058237e0ed3c3d0ffa339cc6c6325 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef HEADER_CELL
#define HEADER_CELL
#include <fstream>
#include "../Generic/String/String.h"
template <typename T>
class Cell {
public:
virtual T getValue() = 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
|