src/DataTypeWriter.cpp
author František Kučera <franta-hg@frantovo.cz>
Mon, 09 Jul 2018 00:43:35 +0200
branchv_0
changeset 2 1a574113da20
parent 1 DataTypeWriter.cpp@6e3494943c91
child 5 7fe870c3362f
permissions -rw-r--r--
separate 'src' and 'include' (public interface)

#include "../include/DataTypeWriter.h"

namespace relpipe {
namespace writer {

template<typename T> string_t DataTypeWriter<T>::readString(std::istream &input) {
	return toString(readValue(input));
};

template<typename T> void DataTypeWriter<T>::writeString(std::ostream& output, const string_t &stringValue) {
	writeValue(output, toValue(stringValue));
};

}
}