Macros
typedescr.hh File Reference
#include <mia/core/defines.hh>
#include <string>
#include <vector>

Go to the source code of this file.

Macros

#define DECLARE_TYPE_DESCR(type)
 
#define DEFINE_TYPE_DESCR(type)   const char * const __type_descr<type>::value = #type;
 
#define DEFINE_TYPE_DESCR2(type, name)   const char * const __type_descr<type>::value = name;
 

Macro Definition Documentation

#define DECLARE_TYPE_DESCR (   type)
Value:
template <> \
struct EXPORT_CORE __type_descr<type> { \
static const char * const value; \
}
#define DEFINE_TYPE_DESCR (   type)    const char * const __type_descr<type>::value = #type;
#define DEFINE_TYPE_DESCR2 (   type,
  name 
)    const char * const __type_descr<type>::value = name;