--- a/include/DataTypeReader.h Sat Jul 14 17:04:24 2018 +0200
+++ b/include/DataTypeReader.h Sat Jul 14 17:06:04 2018 +0200
@@ -3,7 +3,7 @@
#include "DataTypeReaderBase.h"
namespace relpipe {
-namespace writer {
+namespace reader {
template<typename T> class DataTypeReader : public DataTypeReaderBase {
public:
--- a/include/DataTypeReaderBase.h Sat Jul 14 17:04:24 2018 +0200
+++ b/include/DataTypeReaderBase.h Sat Jul 14 17:06:04 2018 +0200
@@ -4,7 +4,7 @@
#include "typedefs.h"
namespace relpipe {
-namespace writer {
+namespace reader {
/**
* This class contains common features that are independent from particular data type (generic/template type)
--- a/include/typedefs.h Sat Jul 14 17:04:24 2018 +0200
+++ b/include/typedefs.h Sat Jul 14 17:06:04 2018 +0200
@@ -4,7 +4,7 @@
#include <string>
namespace relpipe {
-namespace writer {
+namespace reader {
using octet_t = uint8_t;
using integer_t = uint64_t;
--- a/src/DataTypeReader.cpp Sat Jul 14 17:04:24 2018 +0200
+++ b/src/DataTypeReader.cpp Sat Jul 14 17:06:04 2018 +0200
@@ -1,7 +1,7 @@
#include "../include/DataTypeReader.h"
namespace relpipe {
-namespace writer {
+namespace reader {
template<typename T> string_t DataTypeReader<T>::readString(std::istream &input) {
return toString(readValue(input));
--- a/src/DataTypeReaderBase.cpp Sat Jul 14 17:04:24 2018 +0200
+++ b/src/DataTypeReaderBase.cpp Sat Jul 14 17:06:04 2018 +0200
@@ -2,7 +2,7 @@
#include "../include/DataTypeReaderBase.h"
namespace relpipe {
-namespace writer {
+namespace reader {
bool DataTypeReaderBase::supports(const integer_t &dataType) {
return dataType == typeId;
--- a/src/format.h Sat Jul 14 17:04:24 2018 +0200
+++ b/src/format.h Sat Jul 14 17:06:04 2018 +0200
@@ -4,7 +4,7 @@
#include <string>
namespace relpipe {
-namespace writer {
+namespace reader {
const integer_t DATA_TYPE_ID_BOOLEAN = 1;
const integer_t DATA_TYPE_ID_INTEGER = 2;