【发布时间】:2013-12-24 19:16:30
【问题描述】:
是否可以让 doxygen 为在我的一个类标题上声明的枚举生成文档? this link 中名为“范围”的属性的枚举未显示为记录类型。
【问题讨论】:
标签: objective-c c doxygen
是否可以让 doxygen 为在我的一个类标题上声明的枚举生成文档? this link 中名为“范围”的属性的枚举未显示为记录类型。
【问题讨论】:
标签: objective-c c doxygen
根据 Doxygen 手册here:
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 */
};
希望对你有帮助
【讨论】:
【讨论】: