Orb/Doxygen/examples/enum.h
changeset 3 d8fccb2cd802
parent 0 42188c7ea2d9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Orb/Doxygen/examples/enum.h	Fri Apr 23 20:47:58 2010 +0100
@@ -0,0 +1,24 @@
+class Test
+{
+  public:
+    enum TEnum { Val1, Val2 };
+
+    /*! Another enum, with inline docs */
+    enum AnotherEnum 
+    { 
+      V1, /*!< value 1 */
+      V2  /*!< value 2 */
+    };
+};
+
+/*! \class Test
+ * The class description.
+ */
+
+/*! \enum Test::TEnum
+ * A description of the enum type.
+ */
+
+/*! \var Test::TEnum Test::Val1
+ * The description of the first enum value.
+ */