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 | DataTypeWriterBase.cpp@6e3494943c91 |
permissions | -rw-r--r-- |
1 | 1 |
#include <string> |
2
1a574113da20
separate 'src' and 'include' (public interface)
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
2 |
#include "../include/DataTypeWriterBase.h" |
1 | 3 |
|
4 |
namespace relpipe { |
|
5 |
namespace writer { |
|
6 |
||
7 |
bool DataTypeWriterBase::supports(const integer_t &dataType) { |
|
8 |
return dataType == typeId; |
|
9 |
} |
|
10 |
||
11 |
bool DataTypeWriterBase::supports(const string_t &dataType) { |
|
12 |
return dataType == typeCode; |
|
13 |
} |
|
14 |
||
15 |
integer_t DataTypeWriterBase::getTypeId() { |
|
16 |
return typeId; |
|
17 |
} |
|
18 |
||
19 |
string_t DataTypeWriterBase::getTypeCode() { |
|
20 |
return typeCode; |
|
21 |
} |
|
22 |
||
23 |
} |
|
24 |
} |