9 #ifndef IMPBASE_DOXYGEN_MACROS_H
10 #define IMPBASE_DOXYGEN_MACROS_H
11 #include <IMP/base/base_config.h>
18 #define IMP_NO_DOXYGEN(x)
21 #define IMP_ONLY_DOXYGEN(x) x IMP_REQUIRE_SEMICOLON_CLASS(only_doxy)
22 #define IMP_SWITCH_DOXYGEN(x, y) x
24 #define IMP_NO_DOXYGEN(x) x
25 #define IMP_ONLY_DOXYGEN(x) IMP_REQUIRE_SEMICOLON_CLASS(only_doxy)
26 #define IMP_SWITCH_DOXYGEN(x, y) y
33 #define IMP_IMPLEMENT(signature)
36 #define IMP_IMPLEMENT_INLINE(signature, body)
41 #define IMP_IMPLEMENT_INLINE_NO_SWIG(signature, body)
45 #define IMP_IMPLEMENTATION_TEMPLATE_1(arg0, signature, body)
46 #define IMP_IMPLEMENTATION_TEMPLATE_2(arg0, arg1, signature, body)
48 #define IMP_IMPLEMENT(signature) signature
50 #define IMP_IMPLEMENT_INLINE(signature, body) \
51 signature IMP_OVERRIDE { body; }
54 #define IMP_IMPLEMENT_INLINE_NO_SWIG(signature, body) \
55 signature IMP_OVERRIDE { body; }
57 #define IMP_IMPLEMENT_INLINE_NO_SWIG(signature, body)
61 #define IMP_IMPLEMENTATION_TEMPLATE_1(arg0, signature, body) \
63 signature IMP_OVERRIDE { \
67 #define IMP_IMPLEMENTATION_TEMPLATE_2(arg0, arg1, signature, body) \
68 template <arg0, arg1> \
69 signature IMP_OVERRIDE { \
Various general useful macros for IMP.