blob: 4bed4de877d7a711dd8597f6fa5f8857fd7f0c5e (
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() const = 0;
virtual String getValueForPrint() const = 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
|