Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
types.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 by Dimitri van Heesch.
4
*
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.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef TYPES_H
17
#define TYPES_H
18
19
#include <
qcstring.h
>
20
21
/** @file
22
* @brief This file contains a number of basic enums and types.
23
*/
24
25
/** Protection level of members */
26
enum
Protection
{
Public
,
Protected
,
Private
,
Package
} ;
27
28
/** Virtualness of a member. */
29
enum
Specifier
{
Normal
,
Virtual
,
Pure
} ;
30
31
/** Kind of method */
32
enum
MethodTypes
{
Method
,
Signal
,
Slot
,
DCOP
,
Property
,
Event
};
33
34
/** Type of member relation */
35
enum
RelatesType
{
Simple
,
Duplicate
,
MemberOf
};
36
37
/** Kind of member relationship */
38
enum
Relationship
{
Member
,
Related
,
Foreign
};
39
40
/** Language as given by extension */
41
enum
SrcLangExt
42
{
43
SrcLangExt_Unknown
= 0x00000,
44
SrcLangExt_IDL
= 0x00008,
45
SrcLangExt_Java
= 0x00010,
46
SrcLangExt_CSharp
= 0x00020,
47
SrcLangExt_D
= 0x00040,
48
SrcLangExt_PHP
= 0x00080,
49
SrcLangExt_ObjC
= 0x00100,
50
SrcLangExt_Cpp
= 0x00200,
51
SrcLangExt_JS
= 0x00400,
52
SrcLangExt_Python
= 0x00800,
53
SrcLangExt_Fortran
= 0x01000,
54
SrcLangExt_VHDL
= 0x02000,
55
SrcLangExt_XML
= 0x04000,
56
SrcLangExt_Tcl
= 0x08000,
57
SrcLangExt_Markdown
= 0x10000
58
};
59
60
/** Grouping info */
61
struct
Grouping
62
{
63
/** Grouping priority */
64
enum
GroupPri_t
65
{
66
GROUPING_LOWEST
,
67
GROUPING_AUTO_WEAK
=
GROUPING_LOWEST
,
//!< membership in group was defined via \@weakgroup
68
GROUPING_AUTO_ADD
,
//!< membership in group was defined via \@add[to]group
69
GROUPING_AUTO_DEF
,
//!< membership in group was defined via \@defgroup
70
GROUPING_AUTO_HIGHEST
=
GROUPING_AUTO_DEF
,
71
GROUPING_INGROUP
,
//!< membership in group was defined by \@ingroup
72
GROUPING_HIGHEST
=
GROUPING_INGROUP
73
};
74
75
static
const
char
*
getGroupPriName
(
GroupPri_t
priority )
76
{
77
switch
( priority )
78
{
79
case
GROUPING_AUTO_WEAK
:
80
return
"@weakgroup"
;
81
case
GROUPING_AUTO_ADD
:
82
return
"@addtogroup"
;
83
case
GROUPING_AUTO_DEF
:
84
return
"@defgroup"
;
85
case
GROUPING_INGROUP
:
86
return
"@ingroup"
;
87
}
88
return
"???"
;
89
}
90
91
Grouping
(
const
char
*gn,
GroupPri_t
p
) :
groupname
(gn),
pri
(p) {}
92
Grouping
(
const
Grouping
&
g
) :
groupname
(g.
groupname
),
pri
(g.
pri
) {}
93
QCString
groupname
;
//!< name of the group
94
GroupPri_t
pri
;
//!< priority of this definition
95
96
};
97
98
struct
ListItemInfo
99
{
100
QCString
type
;
101
int
itemId
;
102
};
103
104
enum
MemberListType
105
{
106
MemberListType_privateLists
= 0x0800,
107
MemberListType_detailedLists
= 0x1000,
108
MemberListType_declarationLists
= 0x2000,
109
MemberListType_documentationLists
= 0x4000,
110
111
MemberListType_pubMethods
= 0,
112
MemberListType_proMethods
= 1,
113
MemberListType_pacMethods
= 2,
114
MemberListType_priMethods
= 3 +
MemberListType_privateLists
,
115
MemberListType_pubStaticMethods
= 4,
116
MemberListType_proStaticMethods
= 5,
117
MemberListType_pacStaticMethods
= 6,
118
MemberListType_priStaticMethods
= 7 +
MemberListType_privateLists
,
119
MemberListType_pubSlots
= 8,
120
MemberListType_proSlots
= 9,
121
MemberListType_priSlots
= 10 +
MemberListType_privateLists
,
122
MemberListType_pubAttribs
= 11,
123
MemberListType_proAttribs
= 12,
124
MemberListType_pacAttribs
= 13,
125
MemberListType_priAttribs
= 14 +
MemberListType_privateLists
,
126
MemberListType_pubStaticAttribs
= 15,
127
MemberListType_proStaticAttribs
= 16,
128
MemberListType_pacStaticAttribs
= 17,
129
MemberListType_priStaticAttribs
= 18 +
MemberListType_privateLists
,
130
MemberListType_pubTypes
= 19,
131
MemberListType_proTypes
= 20,
132
MemberListType_pacTypes
= 21,
133
MemberListType_priTypes
= 22 +
MemberListType_privateLists
,
134
MemberListType_related
= 23,
135
MemberListType_signals
= 24,
136
MemberListType_friends
= 25,
137
MemberListType_dcopMethods
= 26,
138
MemberListType_properties
= 27,
139
MemberListType_events
= 28,
140
141
MemberListType_typedefMembers
= 29 +
MemberListType_detailedLists
,
142
MemberListType_enumMembers
= 30 +
MemberListType_detailedLists
,
143
MemberListType_enumValMembers
= 31 +
MemberListType_detailedLists
,
144
MemberListType_functionMembers
= 32 +
MemberListType_detailedLists
,
145
MemberListType_relatedMembers
= 33 +
MemberListType_detailedLists
,
146
MemberListType_variableMembers
= 34 +
MemberListType_detailedLists
,
147
MemberListType_propertyMembers
= 35 +
MemberListType_detailedLists
,
148
MemberListType_eventMembers
= 36 +
MemberListType_detailedLists
,
149
MemberListType_constructors
= 37 +
MemberListType_detailedLists
,
150
151
MemberListType_allMembersList
= 38,
152
153
MemberListType_decDefineMembers
= 39 +
MemberListType_declarationLists
,
154
MemberListType_decProtoMembers
= 40 +
MemberListType_declarationLists
,
155
MemberListType_decTypedefMembers
= 41 +
MemberListType_declarationLists
,
156
MemberListType_decEnumMembers
= 42 +
MemberListType_declarationLists
,
157
MemberListType_decFuncMembers
= 43 +
MemberListType_declarationLists
,
158
MemberListType_decVarMembers
= 44 +
MemberListType_declarationLists
,
159
MemberListType_decEnumValMembers
= 45 +
MemberListType_declarationLists
,
160
MemberListType_decPubSlotMembers
= 46 +
MemberListType_declarationLists
,
161
MemberListType_decProSlotMembers
= 47 +
MemberListType_declarationLists
,
162
MemberListType_decPriSlotMembers
= 48 +
MemberListType_declarationLists
,
163
MemberListType_decSignalMembers
= 49 +
MemberListType_declarationLists
,
164
MemberListType_decEventMembers
= 50 +
MemberListType_declarationLists
,
165
MemberListType_decFriendMembers
= 51 +
MemberListType_declarationLists
,
166
MemberListType_decPropMembers
= 52 +
MemberListType_declarationLists
,
167
168
MemberListType_docDefineMembers
= 53 +
MemberListType_documentationLists
,
169
MemberListType_docProtoMembers
= 54 +
MemberListType_documentationLists
,
170
MemberListType_docTypedefMembers
= 55 +
MemberListType_documentationLists
,
171
MemberListType_docEnumMembers
= 56 +
MemberListType_documentationLists
,
172
MemberListType_docFuncMembers
= 57 +
MemberListType_documentationLists
,
173
MemberListType_docVarMembers
= 58 +
MemberListType_documentationLists
,
174
MemberListType_docEnumValMembers
= 59 +
MemberListType_documentationLists
,
175
MemberListType_docPubSlotMembers
= 60 +
MemberListType_documentationLists
,
176
MemberListType_docProSlotMembers
= 61 +
MemberListType_documentationLists
,
177
MemberListType_docPriSlotMembers
= 62 +
MemberListType_documentationLists
,
178
MemberListType_docSignalMembers
= 63 +
MemberListType_documentationLists
,
179
MemberListType_docEventMembers
= 64 +
MemberListType_documentationLists
,
180
MemberListType_docFriendMembers
= 65 +
MemberListType_documentationLists
,
181
MemberListType_docPropMembers
= 66 +
MemberListType_documentationLists
,
182
183
MemberListType_redefinedBy
= 67,
184
MemberListType_enumFields
= 68,
185
MemberListType_memberGroup
= 69,
186
187
// this one is for the summary section on the class page
188
MemberListType_interfaces
= 70,
189
// this one is for the detailed section on the class page
190
MemberListType_interfaceMembers
= 71 +
MemberListType_detailedLists
,
191
MemberListType_services
= 72,
192
MemberListType_serviceMembers
= 73 +
MemberListType_detailedLists
,
193
};
194
195
enum
MemberType
196
{
197
MemberType_Define
,
198
MemberType_Function
,
199
MemberType_Variable
,
200
MemberType_Typedef
,
201
MemberType_Enumeration
,
202
MemberType_EnumValue
,
203
MemberType_Signal
,
204
MemberType_Slot
,
205
MemberType_Friend
,
206
MemberType_DCOP
,
207
MemberType_Property
,
208
MemberType_Event
,
209
MemberType_Interface
,
210
MemberType_Service
,
211
};
212
213
enum
FortranFormat
214
{
215
FortranFormat_Unknown
,
216
FortranFormat_Free
,
217
FortranFormat_Fixed
218
};
219
220
#endif
SrcLangExt_D
Definition:
types.h:47
SrcLangExt_Python
Definition:
types.h:52
MemberListType_pacStaticAttribs
Definition:
types.h:128
Grouping
Definition:
types.h:61
MemberType_EnumValue
Definition:
types.h:202
Protected
Definition:
types.h:26
MemberListType_decPriSlotMembers
Definition:
types.h:162
Foreign
Definition:
types.h:38
MemberListType_functionMembers
Definition:
types.h:144
MemberListType_privateLists
Definition:
types.h:106
MemberListType_docEnumMembers
Definition:
types.h:171
MemberListType_memberGroup
Definition:
types.h:185
SrcLangExt_Cpp
Definition:
types.h:50
SrcLangExt_PHP
Definition:
types.h:48
MemberListType_decFriendMembers
Definition:
types.h:165
MemberListType_docEventMembers
Definition:
types.h:179
MemberListType_priAttribs
Definition:
types.h:125
MemberListType_serviceMembers
Definition:
types.h:192
Related
Definition:
types.h:38
MemberListType_docFuncMembers
Definition:
types.h:172
DCOP
Definition:
types.h:32
Virtual
Definition:
types.h:29
MemberListType_decEnumValMembers
Definition:
types.h:159
Duplicate
Definition:
types.h:35
genie::units::g
static constexpr double g
Definition:
Units.h:144
Grouping::GROUPING_AUTO_WEAK
membership in group was defined via @weakgroup
Definition:
types.h:67
SrcLangExt_JS
Definition:
types.h:51
SrcLangExt_Unknown
Definition:
types.h:43
MemberListType_enumValMembers
Definition:
types.h:143
MemberListType_variableMembers
Definition:
types.h:146
MemberListType_decSignalMembers
Definition:
types.h:163
MemberListType_typedefMembers
Definition:
types.h:141
MemberListType_pacStaticMethods
Definition:
types.h:117
Pure
Definition:
types.h:29
MemberListType_docProSlotMembers
Definition:
types.h:176
MemberListType_decFuncMembers
Definition:
types.h:157
Public
Definition:
types.h:26
Grouping::GROUPING_AUTO_DEF
membership in group was defined via @defgroup
Definition:
types.h:69
MemberListType_priSlots
Definition:
types.h:121
MemberListType_redefinedBy
Definition:
types.h:183
SrcLangExt_Java
Definition:
types.h:45
MemberListType_docProtoMembers
Definition:
types.h:169
MemberListType_pubMethods
Definition:
types.h:111
Simple
Definition:
types.h:35
MemberListType_services
Definition:
types.h:191
Private
Definition:
types.h:26
MemberListType_constructors
Definition:
types.h:149
MemberType_Service
Definition:
types.h:210
MemberListType_docVarMembers
Definition:
types.h:173
MemberListType_detailedLists
Definition:
types.h:107
MemberListType_priMethods
Definition:
types.h:114
Grouping::GroupPri_t
GroupPri_t
Definition:
types.h:64
MemberListType_related
Definition:
types.h:134
MemberType
MemberType
Definition:
types.h:195
Grouping::Grouping
Grouping(const char *gn, GroupPri_t p)
Definition:
types.h:91
Grouping::pri
GroupPri_t pri
priority of this definition
Definition:
types.h:94
MemberListType_proSlots
Definition:
types.h:120
MemberType_Friend
Definition:
types.h:205
MemberType_Signal
Definition:
types.h:203
MemberListType_pubSlots
Definition:
types.h:119
MemberListType_docPriSlotMembers
Definition:
types.h:177
MemberType_Function
Definition:
types.h:198
SrcLangExt
SrcLangExt
Definition:
types.h:41
MemberListType_decTypedefMembers
Definition:
types.h:155
Package
Definition:
types.h:26
qcstring.h
Signal
Definition:
types.h:32
Normal
Definition:
types.h:29
MemberListType_decVarMembers
Definition:
types.h:158
MemberType_Enumeration
Definition:
types.h:201
MemberListType_signals
Definition:
types.h:135
MemberListType_proStaticMethods
Definition:
types.h:116
MemberListType_dcopMethods
Definition:
types.h:137
FortranFormat
FortranFormat
Definition:
types.h:213
MemberListType_docEnumValMembers
Definition:
types.h:174
MemberListType_pubAttribs
Definition:
types.h:122
SrcLangExt_CSharp
Definition:
types.h:46
MemberType_DCOP
Definition:
types.h:206
MemberListType_proMethods
Definition:
types.h:112
MemberListType_decProSlotMembers
Definition:
types.h:161
FortranFormat_Unknown
Definition:
types.h:215
Relationship
Relationship
Definition:
types.h:38
ListItemInfo::itemId
int itemId
Definition:
types.h:101
MemberListType_decDefineMembers
Definition:
types.h:153
MemberListType_interfaceMembers
Definition:
types.h:190
MemberListType_relatedMembers
Definition:
types.h:145
MemberListType_decPubSlotMembers
Definition:
types.h:160
MemberListType_docPropMembers
Definition:
types.h:181
Slot
Definition:
types.h:32
FortranFormat_Free
Definition:
types.h:216
MemberListType_interfaces
Definition:
types.h:188
Grouping::GROUPING_INGROUP
membership in group was defined by @ingroup
Definition:
types.h:71
MemberOf
Definition:
types.h:35
Method
Definition:
types.h:32
MemberListType_pacAttribs
Definition:
types.h:124
SrcLangExt_Fortran
Definition:
types.h:53
Grouping::GROUPING_LOWEST
Definition:
types.h:66
MemberListType_pubStaticAttribs
Definition:
types.h:126
Specifier
Specifier
Definition:
types.h:29
MemberListType_decPropMembers
Definition:
types.h:166
MemberListType_pacTypes
Definition:
types.h:132
test.p
p
Definition:
test.py:223
SrcLangExt_ObjC
Definition:
types.h:49
MemberListType_eventMembers
Definition:
types.h:148
MemberListType_docDefineMembers
Definition:
types.h:168
SrcLangExt_XML
Definition:
types.h:55
MemberListType_declarationLists
Definition:
types.h:108
Grouping::groupname
QCString groupname
name of the group
Definition:
types.h:93
MemberListType_allMembersList
Definition:
types.h:151
MemberListType_docSignalMembers
Definition:
types.h:178
SrcLangExt_IDL
Definition:
types.h:44
MemberListType_properties
Definition:
types.h:138
Grouping::GROUPING_AUTO_HIGHEST
Definition:
types.h:70
MemberListType_docTypedefMembers
Definition:
types.h:170
MemberListType_docFriendMembers
Definition:
types.h:180
MemberListType_events
Definition:
types.h:139
SrcLangExt_Markdown
Definition:
types.h:57
ListItemInfo
Definition:
types.h:98
MemberType_Property
Definition:
types.h:207
Member
Definition:
types.h:38
Grouping::Grouping
Grouping(const Grouping &g)
Definition:
types.h:92
MemberType_Define
Definition:
types.h:197
SrcLangExt_VHDL
Definition:
types.h:54
MemberListType_decEventMembers
Definition:
types.h:164
MemberListType_priStaticAttribs
Definition:
types.h:129
Event
Definition:
types.h:32
MemberListType_proStaticAttribs
Definition:
types.h:127
MemberListType_enumMembers
Definition:
types.h:142
MemberType_Typedef
Definition:
types.h:200
MemberListType_decEnumMembers
Definition:
types.h:156
MemberListType_proAttribs
Definition:
types.h:123
MemberListType_proTypes
Definition:
types.h:131
MemberType_Variable
Definition:
types.h:199
ListItemInfo::type
QCString type
Definition:
types.h:100
MemberListType_priStaticMethods
Definition:
types.h:118
Grouping::getGroupPriName
static const char * getGroupPriName(GroupPri_t priority)
Definition:
types.h:75
MethodTypes
MethodTypes
Definition:
types.h:32
MemberListType_friends
Definition:
types.h:136
Grouping::GROUPING_HIGHEST
Definition:
types.h:72
Protection
Protection
Definition:
types.h:26
MemberListType
MemberListType
Definition:
types.h:104
MemberListType_enumFields
Definition:
types.h:184
RelatesType
RelatesType
Definition:
types.h:35
MemberType_Interface
Definition:
types.h:209
MemberListType_docPubSlotMembers
Definition:
types.h:175
MemberListType_pacMethods
Definition:
types.h:113
MemberListType_documentationLists
Definition:
types.h:109
MemberType_Event
Definition:
types.h:208
MemberListType_decProtoMembers
Definition:
types.h:154
MemberType_Slot
Definition:
types.h:204
QCString
Definition:
qcstring.h:131
MemberListType_pubTypes
Definition:
types.h:130
SrcLangExt_Tcl
Definition:
types.h:56
MemberListType_propertyMembers
Definition:
types.h:147
Property
Definition:
types.h:32
MemberListType_priTypes
Definition:
types.h:133
Grouping::GROUPING_AUTO_ADD
membership in group was defined via @add[to]group
Definition:
types.h:68
MemberListType_pubStaticMethods
Definition:
types.h:115
FortranFormat_Fixed
Definition:
types.h:217
Generated by
1.8.11