From c6d8d83010d2c669d53909d00cf3d2f1fa6c4130 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 15:38:51 +0300 Subject: Autocommit at 28.05.2022 @ 15:38 --- src/Models/CellInt.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/Models/CellInt.h (limited to 'src/Models/CellInt.h') diff --git a/src/Models/CellInt.h b/src/Models/CellInt.h new file mode 100644 index 0000000..7256e5b --- /dev/null +++ b/src/Models/CellInt.h @@ -0,0 +1,18 @@ +#ifndef HEADER_CELLINT +#define HEADER_CELLINT + +#include "Cell.h" + +class CellInt : public Cell { + unsigned value; + +public: + CellInt() = default; + + String getValueForPrint() override; + void parseAndSetValue(const char* str) override; + void readFromFile(std::ifstream& file) override; + void writeToFile(std::ofstream& file) override; +}; + +#endif -- cgit v1.3.1-23-gd82d