How can I make doxygen ignore some code fragment?
The new and easiest way is to add one comment block with a
@cond command at the start and one comment block with a
@endcond command at the end of the piece of code that should be ignored. This should be within the same file of course.
But you can also use
DOXYGEN macro for this: If you put
#ifndef DOXYGEN
/* code that must be skipped by Doxygen */
#endif /* DOXYGEN */
around a block, it will be skipped by Doxygen.
--
GerardZins - 14 Oct 2006