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中是否有這樣的可能嗎?如果是的話那麼如何?