src/DataTypeWriterBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 14 Jul 2018 17:11:40 +0200
branchv_0
changeset 5 7fe870c3362f
parent 2 1a574113da20
permissions -rw-r--r--
reader only reads, writer only writes

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

}
}