--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DataTypeWriterBase.cpp Sun Jul 08 01:40:38 2018 +0200
@@ -0,0 +1,24 @@
+#include <string>
+#include "DataTypeWriterBase.h"
+
+namespace relpipe {
+namespace writer {
+
+bool DataTypeWriterBase::supports(const integer_t &dataType) {
+ return dataType == typeId;
+}
+
+bool DataTypeWriterBase::supports(const string_t &dataType) {
+ return dataType == typeCode;
+}
+
+integer_t DataTypeWriterBase::getTypeId() {
+ return typeId;
+}
+
+string_t DataTypeWriterBase::getTypeCode() {
+ return typeCode;
+}
+
+}
+}