gpt4 book ai didi

c++ - doxygen 和 "old style"类列表

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:19:07 26 4
gpt4 key购买 nike

我注意到新版本的 doxygen(我有 1.8.1.1)会生成类列表,其中嵌套是分层完成的,例如:

  • 命名空间
    • MyClass1
    • MyClass2

例如http://www.itk.org/Doxygen/html/annotated.html

我更想拥有类列表的旧样式:

  • 命名空间::MyClass1
  • 命名空间::MyClass2

例如http://trilinos.sandia.gov/packages/docs/r10.8/packages/tpetra/doc/html/annotated.html

doxyfile 中是否有一个设置可以让我获得旧样式?


我提出此请求的原因是,我通常通过搜索“namespace::MyClass”来搜索我的 C++ 类。通常即使是“::My”也能很快找到合适的类。在新样式中,我不再知道该怎么做。

最佳答案

通常带注释的索引应该有“详细级别”导航,正如您在此处看到的: http://www.nsnam.org/doxygen/annotated.html
单击最高级别(示例中为 5)将展开整个索引,然后您可以轻松搜索类(class)。

另一种方法是使用带注释的索引:
http://www.nsnam.org/doxygen/classes.html

关于c++ - doxygen 和 "old style"类列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11902290/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com