author | František Kučera <franta-hg@frantovo.cz> |
Mon, 03 Sep 2018 23:40:12 +0200 | |
branch | v_0 |
changeset 18 | e11f1ad20826 |
parent 16 | 9b8139bb0519 |
child 29 | 755978b0935c |
permissions | -rw-r--r-- |
16 | 1 |
#pragma once |
2 |
||
3 |
#include <vector> |
|
4 |
||
5 |
#include "../TypeId.h" |
|
6 |
#include "RelationalReaderBaseHandler.h" |
|
7 |
||
8 |
namespace relpipe { |
|
9 |
namespace reader { |
|
10 |
namespace handlers { |
|
11 |
||
12 |
class RelationalReaderStringHadler : public RelationalReaderBaseHadler { |
|
13 |
public: |
|
14 |
||
15 |
virtual void attribute(const string_t& value) = 0; |
|
18
e11f1ad20826
read using std::function
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
16 |
|
e11f1ad20826
read using std::function
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
17 |
// TODO: null values: |
e11f1ad20826
read using std::function
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
18 |
// a) special constant for null value |
e11f1ad20826
read using std::function
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
19 |
// b) virtual void attribute(const string_t& value, boolean_t isNull) = 0; |
e11f1ad20826
read using std::function
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
20 |
// c) virtual void null() = 0; |
16 | 21 |
|
22 |
}; |
|
23 |
||
24 |
} |
|
25 |
} |
|
26 |
} |