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 
22 {
23  fileDef=0;
24  lineNr=1;
25  columnNr=1;
26  nargs=-1;
27  undef=FALSE;
28  varArgs=FALSE;
31 }
32 
35 {
36  //name=d.name; definition=d.definition; fileName=d.fileName;
37  lineNr=d.lineNr;
39  nargs=d.nargs;
40  undef=d.undef;
41  varArgs=d.varArgs;
44  fileDef=0;
45 }
46 
48 {
49 }
50 
52 {
53  return definition && (doc || Config_getBool("EXTRACT_ALL"));
54 }
int lineNr
Definition: define.h:42
QCString doc
Definition: define.h:37
int columnNr
Definition: define.h:43
bool nonRecursive
Definition: define.h:48
const bool FALSE
Definition: qglobal.h:370
bool isPredefined
Definition: define.h:47
Define()
Definition: define.cpp:21
~Define()
Definition: define.cpp:47
Definition: define.h:27
#define Config_getBool(val)
Definition: config.cpp:664
bool varArgs
Definition: define.h:46
QCString fileName
Definition: define.h:36
bool hasDocumentation()
Definition: define.cpp:51
FileDef * fileDef
Definition: define.h:41
bool undef
Definition: define.h:45
QCString definition
Definition: define.h:35
int nargs
Definition: define.h:44
QCString name
Definition: define.h:34