src/DataTypeWriter.cpp
author František Kučera <franta-hg@frantovo.cz>
Sat, 14 Jul 2018 16:58:33 +0200
branchv_0
changeset 1 c80d55cdb42d
permissions -rw-r--r--
copy of .cpp and .h from relpipe-lib-writer.cpp

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

}
}