Thursday, 23 April 2020

Tell Doxygen to Skip a Group of Lines

Doxygen documents all lines in a file, however, it's possible to tell Doxygen to ignore some lines when using qdoc commands to make descriptions for items.

Put this before to-be-ignored lines:
/*!\cond SOME_NON_EXISTING_DOXYGEN_VAR*/

Put this after those lines:
/*!\endcond*/

In full:
/*!\cond HIDE*/
CODE LINES HERE...
/*!\endcond*/

No comments:

Post a Comment