简述(brief description)和详述(detailed description)
详述的几种方式
1. JavaDoc style
/**
* ... text ...
*/
2. Qt style/*!
* ... text ...
*/
3. C++ comment style///
/// ... text ...
///
or
//!
//! ... text ...
//!
4. Block style/********************************************//**
* ... text
***********************************************/
(note the 2 slashes to end the normal comment block and start a special comment block).
or/简述的几种方式
/// ... text ...
1. /brief command
/*! /brief Brief description.JavaDoc style, JAVADOC_AUTOBRIEF set to YES:
* Brief description continued.
*
* Detailed description starts here.
*/
2. 设置JAVADOC_AUTOBRIEF , 第一句作为描述/** Brief description which ends at this dot. Details follow
* here.
*/
3. C++ style/// Brief description.
/** Detailed description. */
or//! Brief descripion.示例, 使用Qt style
//! Detailed description
//! starts here
参考 http://www.stack.nl/~dimitri/doxygen/docblocks.html