home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / doxygen-1.4.4-setup.exe / {app} / html / examples / enum.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-04-01  |  378 b   |  25 lines

  1. class Test
  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.  
  14. /*! \class Test
  15.  * The class description.
  16.  */
  17.  
  18. /*! \enum Test::TEnum
  19.  * A description of the enum type.
  20.  */
  21.  
  22. /*! \var Test::TEnum Test::Val1
  23.  * The description of the first enum value.
  24.  */
  25.