src/DataTypeWriterBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Fri, 13 Jul 2018 23:02:09 +0200
branchv_0
changeset 3 cdfb91189c9e
parent 2 1a574113da20
permissions -rw-r--r--
split common.h into typedefs.h and format.h

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

}
}