2 #ifndef CHEPREP_BHEPREPWRITER_H
3 #define CHEPREP_BHEPREPWRITER_H
34 void setAttribute(std::string name, std::vector<double> value);
59 static const unsigned char UTF8 = 0x6a;
63 static const unsigned char END = 0x01;
64 static const unsigned char ENTITY = 0x02;
65 static const unsigned char STR_I = 0x03;
66 static const unsigned char LITERAL = 0x04;
68 static const unsigned char CONTENT = 0x40;
69 static const unsigned char EXT_I_0 = 0x40;
70 static const unsigned char EXT_I_1 = 0x41;
71 static const unsigned char EXT_I_2 = 0x42;
72 static const unsigned char PI = 0x43;
76 static const unsigned char EXT_T_0 = 0x80;
77 static const unsigned char EXT_T_1 = 0x81;
78 static const unsigned char EXT_T_2 = 0x82;
79 static const unsigned char STR_T = 0x83;
82 static const unsigned char EXT_0 = 0xC0;
83 static const unsigned char EXT_1 = 0xC1;
84 static const unsigned char EXT_2 = 0xC2;
85 static const unsigned char OPAQUE = 0xC3;
93 static std::map<std::string, unsigned char>
tags;
95 static std::map<std::string, unsigned char>
values;
117 void writeTag(std::string name,
bool content =
false);
130 #endif // CHEPREP_BHEPREPWRITER_H