Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellInt.cpp
diff options
context:
space:
mode:
1 files changed, 18 insertions, 0 deletions
-rw-r--r--src/Models/CellInt.cpp18
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 <cstring>
+
+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);
+}