equal
deleted
inserted
replaced
|
1 #pragma once |
|
2 |
|
3 #include <cstdint> |
|
4 #include <string> |
|
5 |
|
6 namespace relpipe { |
|
7 namespace writer { |
|
8 |
|
9 const integer_t DATA_TYPE_ID_BOOLEAN = 1; |
|
10 const integer_t DATA_TYPE_ID_INTEGER = 2; |
|
11 const integer_t DATA_TYPE_ID_STRING = 3; |
|
12 |
|
13 const string_t DATA_TYPE_CODE_BOOLEAN = L"boolean"; |
|
14 const string_t DATA_TYPE_CODE_INTEGER = L"integer"; |
|
15 const string_t DATA_TYPE_CODE_STRING = L"string"; |
|
16 |
|
17 |
|
18 /** |
|
19 * With respect for the tradition and computer pioneers, we use same numbers as in ASCII texts: |
|
20 * |
|
21 * 1C FS ␜ File Separator |
|
22 * 1D GS ␝ Group Separator |
|
23 * 1E RS ␞ Record Separator |
|
24 * 1F US ␟ Unit Separator |
|
25 * |
|
26 */ |
|
27 const integer_t DATA_PART_START = 0x1D; |
|
28 const integer_t DATA_PART_ROW = 0x1E; |
|
29 |
|
30 } |
|
31 } |