使用 doxygen 分组 -> 到 uml 图的输出被复制

subgrouping with doxygen -> output to uml diagram gets duplicated

嘿!我有一些代码,我想用 doxygen 记录下来。因此,我对工作良好的 UML 图感兴趣 - 但现在我想使用这样的子分组:

///@{
/// @name The lame constants
/// @details There are two seperate vectors for the first lame constant (in water and ground) but only one for the shear module (also known as second lame constant), since shear module for water is zero! Every element of the vector belongs to one grid point, linear interpolation within vertical direction will be applied. By using this the assumption of an isotrope media is made!
std::vector<double> lamw;           ///< first lame constant for the water area
std::vector<std::complex<double> > lamb;    ///< first lame constant for the area beyond the seabed
std::vector<double> mub;            ///< shear module (second lame constant) for the area beyond the seabed 
///@}

我想要 "public member" 组中的子组(因为变量是在 class 中定义的)。

但事情是这样的:

--------------------
| className        |
--------------------
| + lamw           |
| + lamb           |
| + mub            |
--------------------
| * lamw           |
| * lamb           |
| * mub            |
--------------------

变量显示两次:在成员变量部分和方法部分。这当然不是我想要的(星号部分是"to much")...

所以 doxygen 似乎与我使用的子分组混淆了 - 我在这里犯了什么错误吗?

这是一个已知错误....目前尚不清楚它是否不会修复。除了在 class 图的末尾追加成员组项目之外,代码没有尝试做任何事情。

https://bugzilla.gnome.org/show_bug.cgi?id=421218