0
我要评论大枚举并已分组一些枚举元素(它们彼此跟随)有没有办法如何区分使用doxygen的枚举组?
想象枚举这样的:
/** @brief device OpCodes
*/
typedef enum opCodes_e {
A = 0, ///< init
/** @addtogroup bluetooth commands group
* @{
*/
B0 = 1, ///< BLE connect
B1 = 2, ///< BLE disconnect
/** @} */
C = 3 ///< handle pressure sensor
} t_opCodes;
,我想:
- 结果在一张桌子里。
- 都在那里也将组命名为
- 直观地显示其枚举元素是组
例如结果中的可能是这个样子:
device OpCodes
A init
---------------------------
bluetooth commands group
B0 BLE connect
B1 BLE disconnect
---------------------------
C handle pressure sensor
我不希望任何特定视图。以上只是我想要的插图。你知道在doxygen中是否有这样的可能吗?如果是的话那么如何?