blob: 4288d4d6a78ef0da1d804bde99f001be8ec4cb4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include <string>
#include <memory>
#include <map>
#include <vector>
namespace vagt
{
namespace encode
{
using XInteger = long;
using XNumber = double;
using XString = std::string;
using XHashMap = std::map<std::string, std::string>;
using XArrayOfString = std::vector<std::string>;
enum XDataType : unsigned short
{
XDataTypeUnknown,
XDataTypeInteger,
XDataTypeNumber,
XDataTypeString,
};
class XSerialable
{
public:
virtual std::string toString() = 0;
};
}
}
|