我所做的只是使用成员名称上方的三重斜杠.对于多行注释,我在需要的地方插入了HTML换行符.我只做了第一节,但我认为这很明显.注意:第一行因周期而中断.后续行没有.
////// \file test.h/// \brIEf Test of Doxygen enum commenting./////! A test of Doxygen commenting.typedef enum _DOXYGEN_TEST{ /// This is a single line comment. Member_001,// 1 /// This is a mutli-line comment. /// 'Twas brillig,and the slithy toves <br> /// DID gyre and gimble in the wabe; <br> /// All mimsy were the borogoves,<br> /// And the mome raths outgrabe. <br> /// "Beware the Jabberwock,my son! <br> /// The jaws that bite,the claws that catch! <br> /// Beware the Jubjub bird,and shun <br> /// The frumIoUs Bandersnatch!" /// /// He took his vorpal sword in hand: /// Long time the manxome foe he sought-- /// So rested he by the Tumtum tree,/// And stood awhile in thought. /// /// And as in uffish thought he stood,/// The Jabberwock,with eyes of flame,/// Came whiffling through the tulgey wood,/// And burbled as it came! /// /// One,two! One,two! and through and through /// The vorpal blade went snicker-snack! /// He left it dead,and with its head /// He went galumphing back. /// /// "And hast thou slain the Jabberwock? /// Come to my arms,my beamish boy! /// O frabjous day! Callooh! Callay!" /// He chortled in his joy. /// /// 'Twas brillig,and the slithy toves /// DID gyre and gimble in the wabe; /// All mimsy were the borogoves,/// And the mome raths outgrabe. Member_002,// 2}Doxygen_test;
生成的Doxygen生成的文件:
总结以上是内存溢出为你收集整理的html – 使用doxygen记录枚举全部内容,希望文章能够帮你解决html – 使用doxygen记录枚举所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)