Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellString.cpp
diff options
context:
space:
mode:
1 files changed, 8 insertions, 0 deletions
-rw-r--r--src/Models/CellString.cpp8
diff --git a/src/Models/CellString.cpp b/src/Models/CellString.cpp
index 82f7b29..d58fcfc 100644
--- a/src/Models/CellString.cpp
+++ b/src/Models/CellString.cpp
@@ -7,3 +7,11 @@ String CellString::getValueForPrint() {
void CellString::parseAndSetValue(const char* str) {
value = String(str);
}
+
+void CellString::readFromFile(std::ifstream& file) {
+ value.read(file);
+}
+
+void CellString::writeToFile(std::ofstream& file) {
+ value.write(file);
+}