author | František Kučera <franta-hg@frantovo.cz> |
Mon, 13 Aug 2018 20:30:55 +0200 | |
branch | v_0 |
changeset 20 | bef6648e79b1 |
parent 14 | 733334eca89b |
child 21 | 118b68d73420 |
permissions | -rw-r--r-- |
20
bef6648e79b1
relpipe-lib-writer: move public header files to: include/relpipe/writer/
František Kučera <franta-hg@frantovo.cz>
parents:
14
diff
changeset
|
1 |
#include "../include/relpipe/writer/RelationalWriter.h" |
bef6648e79b1
relpipe-lib-writer: move public header files to: include/relpipe/writer/
František Kučera <franta-hg@frantovo.cz>
parents:
14
diff
changeset
|
2 |
#include "../include/relpipe/writer/Factory.h" |
9
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
#include "StreamRelationalWriter.h" |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
|
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
namespace relpipe { |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
namespace writer { |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
|
14
733334eca89b
move create() method to a factory
František Kučera <franta-hg@frantovo.cz>
parents:
9
diff
changeset
|
8 |
RelationalWriter* Factory::create(std::ostream& output) { |
9
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
return new StreamRelationalWriter(output); |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
} |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
|
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
} |
0a40752e401d
shared library with pure abstract class (interface)
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
} |