diff -r ea747b9d46d0 -r 6e3494943c91 DataTypeWriterBase.cpp --- /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 +#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; +} + +} +}