File: enum.h

package info (click to toggle)
breathe 4.36.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,224 kB
  • sloc: python: 12,703; cpp: 1,737; makefile: 523; xml: 168; sh: 54; ansic: 52
file content (31 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
class Test4
{
  public:
    enum TEnum { Val1, Val2 };

    /*! Another enum, with inline docs */
    enum AnotherEnum 
    { 
      V1, /*!< value 1 */
      V2  /*!< value 2 */
    };

    /*! Another enum, with inline docs (using an explicit datatype) */
    enum class AnotherScopedEnum : long
    {
      V1, /*!< value 1 */
      V2  /*!< value 2 */
    };
};

/*! \class Test4
 * The class description.
 */

/*! \enum Test4::TEnum
 * A description of the enum type.
 */

/*! \var Test4::TEnum Test4::Val1
 * The description of the first enum value.
 */