请问是否有可能让Doxygen为我的类头文件中声明的枚举生成文档?在此链接中名为“scope”的属性所对应的枚举类型并未显示在文档中。
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 */
};