Minsky
nobble.h File Reference
#include <chrono>
Include dependency graph for nobble.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOBBLE_TARG(...)   __VA_ARGS__
 
#define NOBBLE_STR(...)   #__VA_ARGS__
 
#define NOBBLE(type, tdecl)
 

Macro Definition Documentation

◆ NOBBLE

#define NOBBLE (   type,
  tdecl 
)
Value:
namespace classdesc \
{ \
template <tdecl> struct tn<type> \
{ \
static string name() {return NOBBLE_STR(type);} \
}; \
} \
namespace classdesc_access \
{ \
template <tdecl> struct access_RESTProcess<type>: \
public classdesc::NullDescriptor<classdesc::RESTProcess_t> {}; \
\
template <tdecl> struct access_json_pack<type>: \
public classdesc::NullDescriptor<classdesc::json_pack_t> {}; \
\
template <tdecl> struct access_json_unpack<type>: \
public classdesc::NullDescriptor<classdesc::json_unpack_t> {}; \
}
#define NOBBLE_STR(...)
Definition: nobble.h:25

Definition at line 28 of file nobble.h.

◆ NOBBLE_STR

#define NOBBLE_STR (   ...)    #__VA_ARGS__

Definition at line 25 of file nobble.h.

◆ NOBBLE_TARG

#define NOBBLE_TARG (   ...)    __VA_ARGS__

Definition at line 24 of file nobble.h.