src/DataTypeWriterBase.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 14 Jul 2018 13:14:20 +0200
branchv_0
changeset 4 e6db28447957
parent 2 1a574113da20
permissions -rw-r--r--
documentation for readString() and writeString() methods

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

}
}