Domanda

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?

È stato utile?

Soluzione

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

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

/// \ref Foo

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top