【问题标题】:subgrouping with doxygen -> output to uml diagram gets duplicated使用 doxygen 进行子分组-> 输出到 uml 图被重复
【发布时间】: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


    【解决方案1】:

    这是一个已知的错误......目前还不清楚它是否是一个无法修复的错误。除了将成员组项附加到类图的末尾之外,该代码不会尝试做任何事情。

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

    【讨论】:

      猜你喜欢
      • 2012-08-05
      • 2014-11-18
      • 1970-01-01
      • 2012-03-18
      • 2017-11-13
      • 2017-04-20
      • 1970-01-01
      • 1970-01-01
      • 2018-01-14
      相关资源
      最近更新 更多