--- a/include/DataTypeReader.h Sat Jul 14 17:06:04 2018 +0200
+++ b/include/DataTypeReader.h Sat Jul 14 17:10:01 2018 +0200
@@ -18,11 +18,6 @@
virtual string_t readString(std::istream &input);
- virtual void writeValue(std::ostream& output, const T& value) = 0;
-
- virtual void writeString(std::ostream& output, const string_t &stringValue);
-
- virtual T toValue(const string_t &stringValue) = 0;
virtual string_t toString(const T& value) = 0;
};
--- a/include/DataTypeReaderBase.h Sat Jul 14 17:06:04 2018 +0200
+++ b/include/DataTypeReaderBase.h Sat Jul 14 17:10:01 2018 +0200
@@ -32,15 +32,6 @@
virtual string_t readString(std::istream &input) = 0;
/**
- * @param output output stream, should be at position where the value is to be written; the stream will not be closed not flushed after writing
- * @param stringValue write value as given data type (e.g. integer or boolean); stringValue parameter contains given value in string representation of given data type
- * E.g. integer 123 is passed as a character string "123"
- * boolean true is passed as a character string "true".
- * See Relational pipes format specification for details.
- */
- virtual void writeString(std::ostream& output, const string_t &stringValue) = 0;
-
- /**
* @param dataType data type code as defined in DDP L0
* @return whether this class supports conversions of this type
*/
--- a/src/DataTypeReader.cpp Sat Jul 14 17:06:04 2018 +0200
+++ b/src/DataTypeReader.cpp Sat Jul 14 17:10:01 2018 +0200
@@ -7,9 +7,5 @@
return toString(readValue(input));
};
-template<typename T> void DataTypeReader<T>::writeString(std::ostream& output, const string_t &stringValue) {
- writeValue(output, toValue(stringValue));
-};
-
}
}