enricojoerns.de

Referencing Doxygen \name groups

25.10.2013

Here is a simple solution how to reference Doxygens simple \name groups.

Simply use the \anchor command to create an anchor you then can reference with the \ref command.

Example Usage

The group you want to reference:

/**
 * \name Groupname
 * \anchor group_label
 * @{ */
 #define FOO     1
 #define FOOBAR  2
 #define BAR     3
/** @} */

And the reference to the group with a meaningful name in quotation marks (e.g. Group name):

/** \ref group_label "Myname". */

Done.