문제

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?

도움이 되었습니까?

해결책

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

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

/// \ref Foo

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top