author | František Kučera <franta-hg@frantovo.cz> |
Mon, 13 Aug 2018 20:30:55 +0200 | |
branch | v_0 |
changeset 20 | bef6648e79b1 |
parent 15 | 8fd6c4d44071 |
permissions | -rw-r--r-- |
1 | 1 |
#pragma once |
2 |
||
3 |
#include <cstdint> |
|
4 |
#include <string> |
|
5 |
||
20
bef6648e79b1
relpipe-lib-writer: move public header files to: include/relpipe/writer/
František Kučera <franta-hg@frantovo.cz>
parents:
15
diff
changeset
|
6 |
#include "../include/relpipe/writer/TypeId.h" |
13
e7234dd45166
use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
3
diff
changeset
|
7 |
|
1 | 8 |
namespace relpipe { |
9 |
namespace writer { |
|
10 |
||
11 |
const string_t DATA_TYPE_CODE_BOOLEAN = L"boolean"; |
|
12 |
const string_t DATA_TYPE_CODE_INTEGER = L"integer"; |
|
13 |
const string_t DATA_TYPE_CODE_STRING = L"string"; |
|
14 |
||
15 |
||
16 |
/** |
|
17 |
* With respect for the tradition and computer pioneers, we use same numbers as in ASCII texts: |
|
18 |
* |
|
19 |
* 1C FS ␜ File Separator |
|
20 |
* 1D GS ␝ Group Separator |
|
21 |
* 1E RS ␞ Record Separator |
|
22 |
* 1F US ␟ Unit Separator |
|
23 |
* |
|
24 |
*/ |
|
25 |
const integer_t DATA_PART_START = 0x1D; |
|
26 |
const integer_t DATA_PART_ROW = 0x1E; |
|
27 |
||
28 |
} |
|
29 |
} |