1 /******************************************************************************
3 * $Id: define.cpp,v 1.7 2001/03/19 19:27:40 root Exp $
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
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.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
32 Define::Define(const Define &d)
33 : name(d.name),definition(d.definition),fileName(d.fileName)
35 //name=d.name; definition=d.definition; fileName=d.fileName;
40 isPredefined=d.isPredefined;
41 nonRecursive=d.nonRecursive;
49 bool Define::hasDocumentation()
51 return definition && (doc || Config_getBool("EXTRACT_ALL"));