[Doxygen-users] documenting multiple methods defined by a single macro - help
Brought to you by:
dimitri
From: Manfred D. <man...@me...> - 2005-11-29 08:39:51
|
Hi: Can anyone let me know how I would even begin to document the following macros? Note: the macro below encapsulates 2 methods, which in fact result in 22 (yes 22, not 20) declarations in all (it's an iterative macro). #define RESHAPE_DIM_MAX 10 #define RESHAPE(z, N, _) \ \ static void reshape(const blitz::Array<T, BOOST_PP_INC(N)>& btz, \ MoeArray<T>& data \ ) \ throw(); \ \ static boost::shared_ptr<MoeArray<T> > \ reshape(const blitz::Array<T, BOOST_PP_INC(N)>& btz) throw(); \ /**/ BOOST_PP_REPEAT(BOOST_PP_INC(RESHAPE_DIM_MAX), RESHAPE, _) #undef RESHAPE Thanks in advance, -- Manfred Doudar MetOcean Engineers www.metoceanengineers.com |