src/DataTypeWriterBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 14 Jul 2018 16:58:33 +0200
branchv_0
changeset 1 c80d55cdb42d
permissions -rw-r--r--
copy of .cpp and .h from relpipe-lib-writer.cpp

#include <string>
#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;
}

}
}