/** @addtogroup group1 group actual name1
* Additional documentation for group 'group1'
*/
/** @addtogroup group2 group actual name2
* Additional documentation for group 'group2'
*/
/**
* @ingroup group1
* func1
*/
void func1(){}
/**
* @ingroup group2
* func2
*/
void func2(){}
###成员组memgroup
/** A class. Details */
class Test
{
public:
/** Same documentation for both members. Details */
void func1InGroup1();
void func2InGroup1();
/** Function without group. Details. */
void ungroupedFunction();
void func1InGroup2();
protected:
void func2InGroup2();
};
/** @name Group1
* Description of group 1.
*/
///@{
/** Function 2 in group 2. Details. */
void Test::func1InGroup1() {}
void Test::func2InGroup1() {}
///@}
/** @name Group2
* Description of group 2.
*/
/** @{ */
/** Function 2 in group 2. Details. */
void Test::func2InGroup2() {}
/** Function 1 in group 2. Details. */
void Test::func1InGroup2() {}
/** @} */
/**
@mainpage A simple manual
Some general info.
This manual is divided in the following sections:
- @subpage intro
- @subpage advanced "Advanced usage"
*/
//-----------------------------------------------------------
/** @page intro Introduction
This page introduces the user to the topic.
Now you can proceed to the \ref advanced "advanced section".
*/
//-----------------------------------------------------------
/** @page advanced Advanced Usage
This page is for advanced users.
Make sure you have first read \ref intro "the introduction".
*/
HTML: Generated if GENERATE_HTML is set to YES in the configuration file.
Latex: Generated if GENERATE_LATEX is set to YES in the configuration file.
Man: pages Generated if GENERATE_MAN is set to YES in the configuration file.
RTF: Generated if GENERATE_RTF is set to YES in the configuration file.Note that the RTF output probably only looks nice with Microsoft’s Word. If you have success with other programs, please let me know.
XML: Generated if GENERATE_XML is set to YES in the configuration file.
Docbook: Generated if GENERATE_DOCBOOOK is set to YES in the configuration file.