Doxygen枚举没有显示
是否有可能让doxygen为在我的类标题之一上声明的枚举生成文档? 在此链接中称为“范围”的属性的枚举不显示为文档类型。
根据Doxygen手册在这里:
To document global objects (functions, typedefs, enum, macros, etc), you must document the file in which they are defined. In other words, there must at least be a
/*! file */
or a
/** @file */
line in this file.
这里是一个例子:
/*! file MyClass.h
brief A brief file description.
More details
*/
/*! This is an enum */
enum Direction {
kDirectionRight, /*!< this is right */
kDirectionLeft, /*!< this is left */
};
希望这可以帮助
编辑你的Doxyfile配置并设置以下内容:
SHOW_FILES = YES
。 。 然后只需将标准文档注释添加到枚举类型。
它现在将被链接和记录。
链接地址: http://www.djcxy.com/p/76075.html下一篇: Fast searching for the lowest value greater than x in a sorted vector