DataTypeWriterBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sun, 08 Jul 2018 01:40:38 +0200
branchv_0
changeset 1 6e3494943c91
permissions -rw-r--r--
base classes

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

}
}