21 #ifndef mia_core_typedescr_hh 22 #define mia_core_typedescr_hh 39 static const char *type_descr;
52 static const char *
const value;
58 #define DECLARE_TYPE_DESCR(type) \ 60 struct EXPORT_CORE __type_descr<type> { \ 61 static const char * const value; \ 68 #define DEFINE_TYPE_DESCR(type) const char * const __type_descr<type>::value = #type; 76 #define DEFINE_TYPE_DESCR2(type, name) const char * const __type_descr<type>::value = name; 83 DECLARE_TYPE_DESCR(int8_t);
84 DECLARE_TYPE_DESCR(uint8_t);
85 DECLARE_TYPE_DESCR(int16_t);
86 DECLARE_TYPE_DESCR(int32_t);
87 DECLARE_TYPE_DESCR(int64_t);
88 DECLARE_TYPE_DESCR(uint16_t);
89 DECLARE_TYPE_DESCR(uint32_t);
90 DECLARE_TYPE_DESCR(uint64_t);
91 DECLARE_TYPE_DESCR(
float);
92 DECLARE_TYPE_DESCR(
double);
93 DECLARE_TYPE_DESCR(
bool);
94 DECLARE_TYPE_DESCR(std::string);
97 DECLARE_TYPE_DESCR(std::vector<int16_t>);
98 DECLARE_TYPE_DESCR(std::vector<int32_t>);
99 DECLARE_TYPE_DESCR(std::vector<int64_t>);
100 DECLARE_TYPE_DESCR(std::vector<uint32_t>);
101 DECLARE_TYPE_DESCR(std::vector<uint16_t>);
102 DECLARE_TYPE_DESCR(std::vector<uint64_t>);
103 DECLARE_TYPE_DESCR(std::vector<float>);
104 DECLARE_TYPE_DESCR(std::vector<double>);
105 DECLARE_TYPE_DESCR(std::vector<bool>);
106 DECLARE_TYPE_DESCR(std::vector<std::string>);
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
#define NS_MIA_END
conveniance define to end the mia namespace