Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
define.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
*
4
*
5
* Copyright (C) 1997-2015 by Dimitri van Heesch.
6
*
7
* Permission to use, copy, modify, and distribute this software and its
8
* documentation under the terms of the GNU General Public License is hereby
9
* granted. No representations are made about the suitability of this software
10
* for any purpose. It is provided "as is" without express or implied warranty.
11
* See the GNU General Public License for more details.
12
*
13
* Documents produced by Doxygen are derivative works derived from the
14
* input used in their production; they are not affected by this license.
15
*
16
*/
17
18
#include "
define.h
"
19
#include "
config.h
"
20
21
Define::Define
()
22
{
23
fileDef
=0;
24
lineNr
=1;
25
columnNr
=1;
26
nargs
=-1;
27
undef
=
FALSE
;
28
varArgs
=
FALSE
;
29
isPredefined
=
FALSE
;
30
nonRecursive
=
FALSE
;
31
}
32
33
Define::Define
(
const
Define
&
d
)
34
:
name
(d.
name
),
definition
(d.
definition
),
fileName
(d.
fileName
)
35
{
36
//name=d.name; definition=d.definition; fileName=d.fileName;
37
lineNr
=d.
lineNr
;
38
columnNr
=d.
columnNr
;
39
nargs
=d.
nargs
;
40
undef
=d.
undef
;
41
varArgs
=d.
varArgs
;
42
isPredefined
=d.
isPredefined
;
43
nonRecursive
=d.
nonRecursive
;
44
fileDef
=0;
45
}
46
47
Define::~Define
()
48
{
49
}
50
51
bool
Define::hasDocumentation
()
52
{
53
return
definition
&& (
doc
||
Config_getBool
(
"EXTRACT_ALL"
));
54
}
Define::lineNr
int lineNr
Definition:
define.h:42
Define::doc
QCString doc
Definition:
define.h:37
define.h
Define::columnNr
int columnNr
Definition:
define.h:43
Define::nonRecursive
bool nonRecursive
Definition:
define.h:48
FALSE
const bool FALSE
Definition:
qglobal.h:370
bump_copyright.d
string d
Definition:
bump_copyright.py:70
Define::isPredefined
bool isPredefined
Definition:
define.h:47
Define::Define
Define()
Definition:
define.cpp:21
Define::~Define
~Define()
Definition:
define.cpp:47
config.h
Define
Definition:
define.h:27
Config_getBool
#define Config_getBool(val)
Definition:
config.cpp:664
Define::varArgs
bool varArgs
Definition:
define.h:46
Define::fileName
QCString fileName
Definition:
define.h:36
Define::hasDocumentation
bool hasDocumentation()
Definition:
define.cpp:51
Define::fileDef
FileDef * fileDef
Definition:
define.h:41
Define::undef
bool undef
Definition:
define.h:45
Define::definition
QCString definition
Definition:
define.h:35
Define::nargs
int nargs
Definition:
define.h:44
Define::name
QCString name
Definition:
define.h:34
Generated by
1.8.11