src/DataTypeReaderBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 14 Jul 2018 17:01:16 +0200
branchv_0
changeset 2 fc3a84a62dd9
parent 1 src/DataTypeWriterBase.cpp@c80d55cdb42d
child 4 da021e58c946
permissions -rw-r--r--
rename writers to readers

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

namespace relpipe {
namespace writer {

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

}
}