| 1 | class Test4 |
| 2 | { |
| 3 | public: |
| 4 | enum TEnum { Val1, Val2 }; |
| 5 | |
| 6 | /*! Another enum, with inline docs */ |
| 7 | enum AnotherEnum |
| 8 | { |
| 9 | V1, /*!< value 1 */ |
| 10 | V2 /*!< value 2 */ |
| 11 | }; |
| 12 | |
| 13 | /*! Another enum, with inline docs (using an explicit datatype) */ |
| 14 | enum class AnotherScopedEnum : long |
| 15 | { |
| 16 | V1, /*!< value 1 */ |
| 17 | V2 /*!< value 2 */ |
| 18 | }; |
| 19 | }; |
| 20 | |
| 21 | /*! \class Test4 |
| 22 | * The class description. |
| 23 | */ |
| 24 | |
| 25 | /*! \enum Test4::TEnum |
| 26 | * A description of the enum type. |
| 27 | */ |
| 28 | |
| 29 | /*! \var Test4::TEnum Test4::Val1 |
| 30 | * The description of the first enum value. |
| 31 | */ |