enum.h 378 Bytes
Newer Older
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1 2 3 4
class Test
{
  public:
    enum TEnum { Val1, Val2 };
Dimitri van Heesch's avatar
Dimitri van Heesch committed
5 6 7 8 9 10 11

    /*! Another enum, with inline docs */
    enum AnotherEnum 
    { 
      V1, /*!< value 1 */
      V2  /*!< value 2 */
    };
Dimitri van Heesch's avatar
Dimitri van Heesch committed
12 13 14 15 16 17 18 19 20 21 22 23 24
};

/*! \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.
 */