使用Doxygen进行子分组->输出到UML图中会重复

7

嗨!我有一些代码想要用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 
///@}

我希望在“公共成员”组中创建一个子组(因为变量是在类内定义的)。

但实际情况是这样的:

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

变量被显示了两次:在成员变量部分和方法部分。当然,这不是我想要发生的(带星号的部分“过多”)...

因此,doxygen似乎对我使用的子分组感到困惑 - 我在这里犯了一些错误吗?

1个回答

1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接