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.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/Models/CellInt.cpp (limited to 'src/Models/CellInt.cpp') diff --git a/src/Models/CellInt.cpp b/src/Models/CellInt.cpp new file mode 100644 index 0000000..01b262b --- /dev/null +++ b/src/Models/CellInt.cpp @@ -0,0 +1,18 @@ +#include "CellInt.h" +#include + +String CellInt::getValueForPrint() { + return value; +} + +void CellInt::parseAndSetValue(const char* str) { + value = String(str); +} + +void CellInt::readFromFile(std::ifstream& file) { + value.read(file); +} + +void CellInt::writeToFile(std::ofstream& file) { + value.write(file); +} -- cgit v1.3.1-23-gd82d