author | František Kučera <franta-hg@frantovo.cz> |
Sun, 15 Jul 2018 00:15:09 +0200 | |
branch | v_0 |
changeset 8 | c87e9c84f7aa |
parent 5 | e004585ef84d |
child 9 | 517888868e55 |
permissions | -rw-r--r-- |
2
fc3a84a62dd9
rename writers to readers
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
1 |
#include "../include/DataTypeReader.h" |
8
c87e9c84f7aa
reader only reads + refactoring
František Kučera <franta-hg@frantovo.cz>
parents:
5
diff
changeset
|
2 |
#include "DataTypeReaderCatalog.h" |
1
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
|
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
namespace relpipe { |
4
da021e58c946
rename 'writer' namespace to 'reader'
František Kučera <franta-hg@frantovo.cz>
parents:
2
diff
changeset
|
5 |
namespace reader { |
1
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
|
2
fc3a84a62dd9
rename writers to readers
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
7 |
template<typename T> string_t DataTypeReader<T>::readString(std::istream &input) { |
1
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
return toString(readValue(input)); |
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
}; |
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
|
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
} |
c80d55cdb42d
copy of .cpp and .h from relpipe-lib-writer.cpp
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
} |