define.cpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * $Id: define.cpp,v 1.7 2001/03/19 19:27:40 root Exp $
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016  */
00017 
00018 #include "define.h"
00019 #include "config.h"
00020 
00021 Define::Define()
00022 { 
00023   undef=FALSE; 
00024   fileDef=0; 
00025   isPredefined=FALSE;
00026   nonRecursive=FALSE;
00027 }
00028 
00029 Define::Define(const Define &d)
00030       : name(d.name),definition(d.definition),fileName(d.fileName)
00031 { 
00032   //name=d.name; definition=d.definition; fileName=d.fileName; 
00033   lineNr=d.lineNr; 
00034   nargs=d.nargs; 
00035   undef=d.undef; 
00036   fileDef=0;
00037 }
00038 
00039 Define::~Define()
00040 {
00041 }
00042 
00043 bool Define::hasDocumentation()
00044 {
00045   return definition && (doc || Config_getBool("EXTRACT_ALL"));
00046 }



Generated on Mon Mar 31 10:58:34 2008 by  doxygen 1.5.1