summaryrefslogtreecommitdiffstats
path: root/examples/afterdoc.h
blob: 907dabea3e8e8039705ed8f5cd492085626e35ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*! A test class */

class Test
{
  public:
    /** An enum type. 
     *  The documentation block cannot be put after the enum! 
     */
    enum EnumType
    {
      int EVal1,     /**< enum value 1 */
      int EVal2      /**< enum value 2 */
    };
    void member();   //!< a member function.
    
  protected:
    int value;       /*!< an integer value */
};