1 /******************************************************************************
3 * Copyright (C) 1997-2012 by Dimitri van Heesch.
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
22 * @brief This file contains a number of basic enums and types.
25 enum Protection { Public, Protected, Private, Package } ;
26 enum Specifier { Normal, Virtual, Pure } ;
27 enum MethodTypes { Method, Signal, Slot, DCOP, Property, Event };
28 enum RelatesType { Simple, Duplicate, MemberOf };
29 enum Relationship { Member, Related, Foreign };
32 SrcLangExt_Unknown = 0x00000,
33 SrcLangExt_IDL = 0x00008,
34 SrcLangExt_Java = 0x00010,
35 SrcLangExt_CSharp = 0x00020,
36 SrcLangExt_D = 0x00040,
37 SrcLangExt_PHP = 0x00080,
38 SrcLangExt_ObjC = 0x00100,
39 SrcLangExt_Cpp = 0x00200,
40 SrcLangExt_JS = 0x00400,
41 SrcLangExt_Python = 0x00800,
42 SrcLangExt_Fortran = 0x01000,
43 SrcLangExt_VHDL = 0x02000,
44 SrcLangExt_XML = 0x04000,
45 SrcLangExt_Tcl = 0x08000,
46 SrcLangExt_Markdown = 0x10000
54 GROUPING_AUTO_WEAK = GROUPING_LOWEST, //!< membership in group was defined via \@weakgroup
55 GROUPING_AUTO_ADD, //!< membership in group was defined via \@add[to]group
56 GROUPING_AUTO_DEF, //!< membership in group was defined via \@defgroup
57 GROUPING_AUTO_HIGHEST = GROUPING_AUTO_DEF,
58 GROUPING_INGROUP, //!< membership in group was defined by \@ingroup
59 GROUPING_HIGHEST = GROUPING_INGROUP
62 static const char *getGroupPriName( GroupPri_t priority )
66 case GROUPING_AUTO_WEAK:
68 case GROUPING_AUTO_ADD:
70 case GROUPING_AUTO_DEF:
72 case GROUPING_INGROUP:
78 Grouping( const char *gn, GroupPri_t p ) : groupname(gn), pri(p) {}
79 Grouping( const Grouping &g ) : groupname(g.groupname), pri(g.pri) {}
80 QCString groupname; //!< name of the group
81 GroupPri_t pri; //!< priority of this definition