commonlib
serialization.h
1 #pragma once
2 #include <iostream>
3 #include <fstream>
4 #include <cstring>
5 #include <memory>
6 #include <vector>
7 #include <iomanip>
8 #include <sstream>
9 
10 #define BEGIN_NAMESPACE_SERIALIZATION \
11  namespace Dewesoft \
12  { \
13  namespace Utils \
14  { \
15  namespace Serialization \
16  {
17 #define END_NAMESPACE_SERIALIZATION \
18  } \
19  } \
20  }
21 
22 #define DS_MODULE_NAME serialization
23 #include <commonlib/common/common.h>
24 
25 #if defined(_MSC_VER)
26  #ifdef NDEBUG
27  #ifdef _MT
28  #ifdef _DLL
29  #pragma comment(lib, "libxml2_a_MD.lib")
30  #else
31  #pragma comment(lib, "libxml2_a_MT.lib")
32  #endif
33  #else
34  #pragma comment(lib, "libxml2_a_LD.lib")
35  #endif
36  #else
37  #ifdef _MT
38  #ifdef _DLL
39  #pragma comment(lib, "libxml2_a_debug_MDd.lib")
40  #else
41  #pragma comment(lib, "libxml2_a_debug_MTd.lib")
42  #endif
43  #else
44  #pragma comment(lib, "libxml2_a_debug_LDd.lib")
45  #endif
46  #endif
47 #endif
48 #undef DS_MODULE_NAME