9#include "../Generic/String/String.h"
24 virtual ~Cell() =
default;
Fully abstract class that represents a cell in the table.
Definition: Cell.h:13
virtual double getNumeralValue() const =0
Returns the value of the cell as a double-precision floating point number.
virtual void writeToFile(std::ofstream &file)=0
Writes value to a text file.
virtual void parseAndSetValue(const char *str)=0
Parses given C-style string and stores value.
virtual String getValueForPrint() const =0
Returns the value of the cell as a String.
A dynamically-allocated C-style string with extra features.
Definition: String.h:17