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

标签 c++ documentation uml grouping doxygen

嘿!我有一些代码,我想用 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)成员”组中的子组(因为变量是在类中定义的)。

但是发生的事情是这样的:

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

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

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

最佳答案

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

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

关于c++ - 使用 doxygen 分组 -> 到 uml 图的输出被复制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32175903/

相关文章:

java - 用于将 JSON 插入 JavaDoc 的工具?

c++ - 并非为所有类生成文档

uml - 类图和类模型一样吗?

c# - Visual Studio 2010 创建编译代码的应用程序

C++ 开关与成员函数指针与虚拟继承

javascript - jsdoc中对象的正确标签

uml - 有没有办法将手写的 UML 图扫描到 UML 工具中?

java - Architexa 不起作用(无法加载类 com.architexa.diagrams.editors.RSEMultiPageEditor)

c++ - 如何访问嵌套类的数据?

c++ - 如何使用 C++ 在 vlc 中播放 mp3 文件