src/format.h
branchv_0
changeset 23 d505eaedc35e
parent 22 53f4887dadb4
child 24 00fe696500c5
equal deleted inserted replaced
22:53f4887dadb4 23:d505eaedc35e
     1 #pragma once
       
     2 
       
     3 #include <cstdint>
       
     4 #include <string>
       
     5 
       
     6 #include "../include/relpipe/writer/TypeId.h"
       
     7 
       
     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 }