src/DataTypeReaderBase.cpp
branchv_0
changeset 2 fc3a84a62dd9
parent 1 c80d55cdb42d
child 4 da021e58c946
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/DataTypeReaderBase.cpp	Sat Jul 14 17:01:16 2018 +0200
@@ -0,0 +1,24 @@
+#include <string>
+#include "../include/DataTypeReaderBase.h"
+
+namespace relpipe {
+namespace writer {
+
+bool DataTypeReaderBase::supports(const integer_t &dataType) {
+	return dataType == typeId;
+}
+
+bool DataTypeReaderBase::supports(const string_t &dataType) {
+	return dataType == typeCode;
+}
+
+integer_t DataTypeReaderBase::getTypeId() {
+	return typeId;
+}
+
+string_t DataTypeReaderBase::getTypeCode() {
+	return typeCode;
+}
+
+}
+}