Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/define.cpp

Source at commit 1322 created 12 years 8 months ago.
By meklort, Add doxygen to utils folder
1/******************************************************************************
2 *
3 * $Id: define.cpp,v 1.7 2001/03/19 19:27:40 root Exp $
4 *
5 * Copyright (C) 1997-2011 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
21Define::Define()
22{
23 fileDef=0;
24 lineNr=1;
25 nargs=-1;
26 undef=FALSE;
27 varArgs=FALSE;
28 isPredefined=FALSE;
29 nonRecursive=FALSE;
30}
31
32Define::Define(const Define &d)
33 : name(d.name),definition(d.definition),fileName(d.fileName)
34{
35 //name=d.name; definition=d.definition; fileName=d.fileName;
36 lineNr=d.lineNr;
37 nargs=d.nargs;
38 undef=d.undef;
39 varArgs=d.varArgs;
40 isPredefined=d.isPredefined;
41 nonRecursive=d.nonRecursive;
42 fileDef=0;
43}
44
45Define::~Define()
46{
47}
48
49bool Define::hasDocumentation()
50{
51 return definition && (doc || Config_getBool("EXTRACT_ALL"));
52}
53

Archive Download this file

Revision: 1322