summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-24 16:16:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-24 16:16:39 (GMT)
commite4cebf12a245705a0ecb714cd3794750af9d0844 (patch)
tree4d1a863a3e01975cb0300efd330b7a7fb560ee87 /examples
parentba0681136c643f13bb56b3b44d4cba3c70c8338d (diff)
downloadDoxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.zip
Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.gz
Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.bz2
Release-1.2.4
Diffstat (limited to 'examples')
-rw-r--r--examples/example.tag13
-rw-r--r--examples/group.cpp76
2 files changed, 60 insertions, 29 deletions
diff --git a/examples/example.tag b/examples/example.tag
index d30de7b..b4eaef9 100644
--- a/examples/example.tag
+++ b/examples/example.tag
@@ -1,2 +1,11 @@
->Test: "class_test.html"
-example a0 "()"
+<tagfile>
+ <compound kind="class">
+ <name>Test</name>
+ <filename>class_test.html</filename>
+ <member kind="function">
+ <name>example</name>
+ <anchor>a0</anchor>
+ <arglist>()</arglist>
+ </member>
+ </compound>
+</tagfile>
diff --git a/examples/group.cpp b/examples/group.cpp
index 53ea371..0993cc2 100644
--- a/examples/group.cpp
+++ b/examples/group.cpp
@@ -1,52 +1,74 @@
-/*! \defgroup group1 The First Group
+/** @defgroup group1 The First Group
* This is the first group
+ * @{
*/
-/*! \defgroup group2 The Second Group
+/** @brief class C1 in group 1 */
+class C1 {};
+
+/** @brief class C2 in group 1 */
+class C2 {};
+
+/** function in group 1 */
+void func() {}
+
+/** @} end of group1 */
+
+/**
+ * @defgroup group2 The Second Group
* This is the second group
*/
-/*! \defgroup group3 The Third Group
+/** @defgroup group3 The Third Group
* This is the third group
*/
-/*! \defgroup group4 The Fourth Group
- * \ingroup group3
+/** @defgroup group4 The Fourth Group
+ * @ingroup group3
* Group 4 is a subgroup of group 3
*/
-/*! \ingroup group1
- * \brief class C1 in group 1
- */
-class C1 {};
-
-/*! \ingroup group1
- * \brief class C2 in group 1
- */
-class C2 {};
-
-/*! \ingroup group2
- * \brief class C3 in group 2
+/**
+ * @ingroup group2
+ * @brief class C3 in group 2
*/
class C3 {};
-/*! \ingroup group2
- * \brief class C4 in group 2
+/** @ingroup group2
+ * @brief class C4 in group 2
*/
class C4 {};
-/*! \ingroup group3
- * \brief class C5 in \link group3 the third group\endlink.
+/** @ingroup group3
+ * @brief class C5 in @link group3 the third group@endlink.
*/
class C5 {};
-/*! \ingroup group1 group2 group3 group4
- * namespace N1 is in all groups
- * \sa \link group1 The first group\endlink, group2, group3, group4
+/** @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
*/
namespace N1 {};
-/*! \file
- * \ingroup group3
- * \brief this file in group 3
+/** @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
*/
+
+/** @} */
+