group.cpp 1.46 KB
Newer Older
dimitri's avatar
dimitri committed
1
/** @defgroup group1 The First Group
mueller's avatar
mueller committed
2
 *  This is the first group
dimitri's avatar
dimitri committed
3
 *  @{
mueller's avatar
mueller committed
4 5
 */

dimitri's avatar
dimitri committed
6 7 8 9 10 11 12 13 14
/** @brief class C1 in group 1 */
class C1 {};

/** @brief class C2 in group 1 */
class C2 {};

/** function in group 1 */
void func() {}

dimitri's avatar
dimitri committed
15
/** @} */ // end of group1
dimitri's avatar
dimitri committed
16 17 18

/**
 *  @defgroup group2 The Second Group
mueller's avatar
mueller committed
19 20 21
 *  This is the second group
 */

dimitri's avatar
dimitri committed
22
/** @defgroup group3 The Third Group
mueller's avatar
mueller committed
23 24 25
 *  This is the third group
 */

dimitri's avatar
dimitri committed
26 27
/** @defgroup group4 The Fourth Group
 *  @ingroup group3
dimitri's avatar
dimitri committed
28 29 30
 *  Group 4 is a subgroup of group 3
 */

dimitri's avatar
dimitri committed
31 32 33
/**
 *  @ingroup group2
 *  @brief class C3 in group 2
mueller's avatar
mueller committed
34 35 36
 */
class C3 {};

dimitri's avatar
dimitri committed
37 38
/** @ingroup group2
 *  @brief class C4 in group 2
mueller's avatar
mueller committed
39 40 41
 */
class C4 {};

dimitri's avatar
dimitri committed
42 43
/** @ingroup group3
 *  @brief class C5 in @link group3 the third group@endlink.
mueller's avatar
mueller committed
44 45 46
 */
class C5 {};

dimitri's avatar
dimitri committed
47 48 49 50 51
/** @ingroup group1 group2 group3 group4
 *  namespace N1 is in four groups
 *  @sa @link group1 The first group@endlink, group2, group3, group4 
 *
 *  Also see @ref mypage2
mueller's avatar
mueller committed
52
 */
dimitri's avatar
dimitri committed
53
namespace N1 {};
mueller's avatar
mueller committed
54

dimitri's avatar
dimitri committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
/** @file
 *  @ingroup group3
 *  @brief this file in group 3
 */

/** @defgroup group5 The Fifth Group
 *  This is the fifth group
 *  @{
 */

/** @page mypage1 This is a section in group 5
 *  Text of the first section
 */

/** @page mypage2 This is another section in group 5
 *  Text of the second section
mueller's avatar
mueller committed
71
 */
dimitri's avatar
dimitri committed
72

dimitri's avatar
dimitri committed
73
/** @} */ // end of group5
dimitri's avatar
dimitri committed
74

dimitri's avatar
dimitri committed
75 76 77 78 79 80 81 82 83 84 85 86
/** @addtogroup group1
 *  
 *  More documentation for the first group.
 *  @{
 */

/** another function in group 1 */
void func2() {}

/** yet another function in group 1 */
void func3() {}

dimitri's avatar
dimitri committed
87
/** @} */ // end of group1
dimitri's avatar
dimitri committed
88