【发布时间】:2015-08-24 06:42:59
【问题描述】:
嘿!我有一些代码希望由 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 似乎与我使用的子分组混淆了 - 我在这里犯了一些错误吗?
【问题讨论】:
标签: c++ documentation uml grouping doxygen