Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellInt.h
diff options
context:
space:
mode:
Commitc6d8d83010d2c669d53909d00cf3d2f1fa6c4130 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 15:38:51 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 15:38:51 +0300
Files549387f60f902534a8b457c2edc249eee6d6d815 /src/Models/CellInt.h
FMI-OOP-P2_Tables-c6d8d83010d2c669d53909d00cf3d2f1fa6c4130.tar
FMI-OOP-P2_Tables-c6d8d83010d2c669d53909d00cf3d2f1fa6c4130.tar.gz
FMI-OOP-P2_Tables-c6d8d83010d2c669d53909d00cf3d2f1fa6c4130.zip
Parentd27d9f27df792e2afa5fc16cd43d0efd919e0367 (diff)
Autocommit at 28.05.2022 @ 15:38
1 files changed, 18 insertions, 0 deletions
-rw-r--r--src/Models/CellInt.h18
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