019_defgroup.c
Go to the documentation of this file.
1 // objective: test the \defgroup, \addtogroup, and \ingroup command.
2 // check: group__g1.xml
3 // check: group__g2.xml
4 // check: group__g3.xml
5 
6 /** \defgroup g1 First Group
7  * Text for first group.
8  */
9 
10 /** A function in the first group.
11  * \ingroup g1
12  */
13 void func_g1();
14 
15 //--------------------------------
16 
17 /** \defgroup g2 Second Group
18  * Text for second group.
19  */
20 /// \{
21 
22 /** A function in the second group */
23 void func_g2();
24 
25 /// \}
26 
27 /** \defgroup g3 Third Group
28  * Text for third group.
29  * \ingroup g2
30  * \{
31  */
32 
33 //--------------------------------
34 
35 /** A function in the third group */
36 void func_g3();
37 
38 /** \} */
39 
40 /** \addtogroup g3
41  * \{
42  */
43 
44 /** Another function added to the third group */
45 void func_g3_add();
46 
47 /** \} */
48 
void func_g2()
void func_g3()
void func_g3_add()
void func_g1()