blob: d3c330446467e3526a0a2d0172b63927deb23f4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef HEADER_CELLFORMULA
#define HEADER_CELLFORMULA
#include "Cell.h"
#include "../Generic/List/List.hpp"
class CellFormula : public Cell {
List<Cell*> referencedCells;
String rawFormula;
double value;
public:
CellFormula() = default;
String getValueForPrint() override;
void parseAndSetValue(const char* str) override;
void readFromFile(std::ifstream& file) override;
void writeToFile(std::ofstream& file) override;
};
#endif
|