user877329
user877329

Reputation: 6200

How to reference to member group in doxygen

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?

Upvotes: 11

Views: 3583

Answers (2)

stefanct
stefanct

Reputation: 2944

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.

Upvotes: 0

Eric Miller
Eric Miller

Reputation: 2021

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

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

/// \ref Foo

Upvotes: 11

Related Questions