branch | v_0 |
changeset 2 | fc3a84a62dd9 |
parent 1 | c80d55cdb42d |
child 3 | 630c54da42c9 |
1:c80d55cdb42d | 2:fc3a84a62dd9 |
---|---|
1 #include "../include/DataTypeWriter.h" |
|
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 } |