Doxygen / C ++: global namespace in a list of names

Can I show the global namespace in the namespace list of the documentation created with Doxygen? I have some functions that extern "C" , they appear in the documentation of the header file that declares them, but not in the namespace list, and it seems that they are not actually there ...

+4
source share
1 answer

As far as I know, this feature is still missing in Doxygen. One work that is not too verbose is to use @defgroup MyGlobals and put the extern "C" functions in this group:

 /*! @ingroup MyGlobals * @{ */ // ... functions /*! @} */ 

This adds functions to the MyGlobals entry on the Modules tabs.

This blog post is work using external links, but I personally find it too verbose.

+3
source

Source: https://habr.com/ru/post/1304881/


All Articles