src/DataTypeReaderBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 25 Aug 2018 17:39:27 +0200
branchv_0
changeset 13 543f1613c2da
parent 10 7fe3975f7e4b
permissions -rw-r--r--
move non-public headers from include to src

#include <string>
#include "DataTypeReaderBase.h"

namespace relpipe {
namespace reader {

bool DataTypeReaderBase::supports(const integer_t &dataType) {
	return dataType == typeId;
}

bool DataTypeReaderBase::supports(const string_t &dataType) {
	return dataType == typeCode;
}

integer_t DataTypeReaderBase::getTypeId() {
	return typeId;
}

string_t DataTypeReaderBase::getTypeCode() {
	return typeCode;
}

}
}