4 #include <boost/preprocessor/repetition.hpp> 5 #include <boost/preprocessor/punctuation/comma_if.hpp> 7 #include <boost/mpl/void.hpp> 9 #ifndef DOXYGEN_DOC_MAX_NUMBER_OF_ARGUMENTS_IN_CONSTRUCTOR 10 #define DOXYGEN_DOC_MAX_NUMBER_OF_ARGUMENTS_IN_CONSTRUCTOR 10 16 template <
typename _
class>
18 static inline const char*
run() {
return ""; }
19 static inline const char*
attribute(
const char*) {
return ""; }
22 template <
typename _
class>
27 template <
typename _
class>
32 template <
typename FuncPtr>
37 template <
typename FuncPtr>
42 #define DOXYGEN_DOC_DECLARE_CONSTRUCTOR(z, nargs, unused) \ 43 template <typename Class BOOST_PP_COMMA_IF(nargs) \ 44 BOOST_PP_ENUM_PARAMS(nargs, class Arg)> \ 45 struct constructor_##nargs##_impl { \ 46 static inline const char* doc() { return ""; } \ 47 static inline void_ args() { return void_(); } \ 50 template <typename Class BOOST_PP_COMMA_IF(nargs) \ 51 BOOST_PP_ENUM_PARAMS(nargs, class Arg)> \ 52 inline const char* constructor_doc() { \ 53 return constructor_##nargs##_impl<Class BOOST_PP_COMMA_IF( \ 54 nargs) BOOST_PP_ENUM_PARAMS(nargs, Arg)>::doc(); \ 59 #undef DOXYGEN_DOC_DECLARE_CONSTRUCTOR 68 template <
typename Class>
69 struct destructor_doc_impl {
70 static inline const char*
run() {
return ""; }
73 template <
typename Class>
92 #endif // DOXYGEN_DOC_HH #define DOXYGEN_DOC_MAX_NUMBER_OF_ARGUMENTS_IN_CONSTRUCTOR
static const char * attribute(const char *)
#define DOXYGEN_DOC_DECLARE_CONSTRUCTOR(z, nargs, unused)
const char * destructor_doc()
const char * member_func_doc(FuncPtr)
BOOST_PP_REPEAT(DOXYGEN_DOC_MAX_NUMBER_OF_ARGUMENTS_IN_CONSTRUCTOR, DOXYGEN_DOC_DECLARE_CONSTRUCTOR, ~) template< typename Class > struct destructor_doc_impl
const char * class_attrib_doc(const char *name)
static const char * run()
void_ member_func_args(FuncPtr)