My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Define Class Reference

#include <define.h>

Public Member Functions

 Define ()
 
 Define (const Define &d)
 
 ~Define ()
 
bool hasDocumentation ()
 

Public Attributes

QCString name
 
QCString definition
 
QCString fileName
 
QCString doc
 
QCString brief
 
QCString args
 
QCString anchor
 
FileDeffileDef
 
int lineNr
 
int columnNr
 
int nargs
 
bool undef
 
bool varArgs
 
bool isPredefined
 
bool nonRecursive
 

Detailed Description

A class representing a macro definition.

Definition at line 27 of file define.h.

Constructor & Destructor Documentation

Define::Define ( )

Definition at line 21 of file define.cpp.

References columnNr, fileDef, isPredefined, lineNr, nargs, nonRecursive, undef, and varArgs.

{
fileDef=0;
lineNr=1;
nargs=-1;
undef=FALSE;
varArgs=FALSE;
isPredefined=FALSE;
nonRecursive=FALSE;
}
Define::Define ( const Define d)

Definition at line 33 of file define.cpp.

References columnNr, fileDef, isPredefined, lineNr, nargs, nonRecursive, undef, and varArgs.

{
//name=d.name; definition=d.definition; fileName=d.fileName;
}
Define::~Define ( )

Definition at line 47 of file define.cpp.

{
}

Member Function Documentation

bool Define::hasDocumentation ( )

Definition at line 51 of file define.cpp.

References Config_getBool, definition, and doc.

{
return definition && (doc || Config_getBool(EXTRACT_ALL));
}

Member Data Documentation

QCString Define::anchor

Definition at line 40 of file define.h.

QCString Define::args

Definition at line 39 of file define.h.

QCString Define::brief

Definition at line 38 of file define.h.

int Define::columnNr

Definition at line 43 of file define.h.

Referenced by Define().

QCString Define::definition

Definition at line 35 of file define.h.

Referenced by hasDocumentation().

QCString Define::doc

Definition at line 37 of file define.h.

Referenced by hasDocumentation().

FileDef* Define::fileDef

Definition at line 41 of file define.h.

Referenced by Define().

QCString Define::fileName
bool Define::isPredefined

Definition at line 47 of file define.h.

Referenced by Define().

int Define::lineNr

Definition at line 42 of file define.h.

Referenced by Define().

QCString Define::name

Definition at line 34 of file define.h.

Referenced by DefineList::compareValues(), and DefineName::compareValues().

int Define::nargs

Definition at line 44 of file define.h.

Referenced by Define().

bool Define::nonRecursive

Definition at line 48 of file define.h.

Referenced by Define().

bool Define::undef

Definition at line 45 of file define.h.

Referenced by Define().

bool Define::varArgs

Definition at line 46 of file define.h.

Referenced by Define().


The documentation for this class was generated from the following files: