My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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;
29  isPredefined=FALSE;
30  nonRecursive=FALSE;
31 }
32 
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;
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 }