| 1 | // Example from Doxygen documentation |
| 2 | |
| 3 | /** A class. More details about the Test class */ |
| 4 | class UserDefinedGroupTest |
| 5 | { |
| 6 | public: |
| 7 | //@{ |
| 8 | /** Same documentation for both members. Details */ |
| 9 | void func1InGroup1(); |
| 10 | void func2InGroup1(); |
| 11 | //@} |
| 12 | |
| 13 | /** Function without group. Details. */ |
| 14 | void ungroupedFunction(); |
| 15 | void func1InCustomGroup(); |
| 16 | protected: |
| 17 | void func2InCustomGroup(); |
| 18 | }; |
| 19 | |
| 20 | void UserDefinedGroupTest::func1InGroup1() {} |
| 21 | void UserDefinedGroupTest::func2InGroup1() {} |
| 22 | |
| 23 | /** @name Custom Group |
| 24 | * Description of custom group |
| 25 | */ |
| 26 | //@{ |
| 27 | /** Function 2 in custom group. Details. */ |
| 28 | void UserDefinedGroupTest::func2InCustomGroup() {} |
| 29 | /** Function 1 in custom group. Details. */ |
| 30 | void UserDefinedGroupTest::func1InCustomGroup() {} |
| 31 | //@} |