Question

I have found how to give a group of class members a name:

/**\{
\name Foo
*/
 members
/**
\}*/

, but how do I reference to Foo from other class members?

Was it helpful?

Solution

/** \{
\anchor Foo
\name   Foo
*/
members
/** \} */

The anchor allows you to refer to the group from elsewhere using

/// \ref Foo

OTHER TIPS

No sure if naming a group is the same as defining one using \defgroup id name but with the latter you can \ref the id and it will link to the group's documentation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top