| 1 | /*! A test class */ |
| 2 | |
| 3 | class Test1 |
| 4 | { |
| 5 | public: |
| 6 | /** An enum type. |
| 7 | * The documentation block cannot be put after the enum! |
| 8 | */ |
| 9 | enum EnumType |
| 10 | { |
| 11 | int EVal1, /**< enum value 1 */ |
| 12 | int EVal2 /**< enum value 2 */ |
| 13 | }; |
| 14 | void member(); //!< a member function. |
| 15 | |
| 16 | protected: |
| 17 | int value; /*!< an integer value */ |
| 18 | }; |