author | František Kučera <franta-hg@frantovo.cz> |
Mon, 09 Jul 2018 00:43:35 +0200 | |
branch | v_0 |
changeset 2 | 1a574113da20 |
parent 1 | DataTypeWriter.cpp@6e3494943c91 |
child 5 | 7fe870c3362f |
permissions | -rw-r--r-- |
2
1a574113da20
separate 'src' and 'include' (public interface)
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
1 |
#include "../include/DataTypeWriter.h" |
1 | 2 |
|
3 |
namespace relpipe { |
|
4 |
namespace writer { |
|
5 |
||
6 |
template<typename T> string_t DataTypeWriter<T>::readString(std::istream &input) { |
|
7 |
return toString(readValue(input)); |
|
8 |
}; |
|
9 |
||
10 |
template<typename T> void DataTypeWriter<T>::writeString(std::ostream& output, const string_t &stringValue) { |
|
11 |
writeValue(output, toValue(stringValue)); |
|
12 |
}; |
|
13 |
||
14 |
} |
|
15 |
} |