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.

22 {
23  fileDef=0;
24  lineNr=1;
25  columnNr=1;
26  nargs=-1;
27  undef=FALSE;
28  varArgs=FALSE;
31 }
int lineNr
Definition: define.h:42
int columnNr
Definition: define.h:43
bool nonRecursive
Definition: define.h:48
const bool FALSE
Definition: qglobal.h:370
bool isPredefined
Definition: define.h:47
bool varArgs
Definition: define.h:46
FileDef * fileDef
Definition: define.h:41
bool undef
Definition: define.h:45
int nargs
Definition: define.h:44
Define::Define ( const Define d)

Definition at line 33 of file define.cpp.

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 }
int lineNr
Definition: define.h:42
int columnNr
Definition: define.h:43
bool nonRecursive
Definition: define.h:48
bool isPredefined
Definition: define.h:47
bool varArgs
Definition: define.h:46
QCString fileName
Definition: define.h:36
FileDef * fileDef
Definition: define.h:41
bool undef
Definition: define.h:45
QCString definition
Definition: define.h:35
int nargs
Definition: define.h:44
QCString name
Definition: define.h:34
Define::~Define ( )

Definition at line 47 of file define.cpp.

48 {
49 }

Member Function Documentation

bool Define::hasDocumentation ( )

Definition at line 51 of file define.cpp.

52 {
53  return definition && (doc || Config_getBool("EXTRACT_ALL"));
54 }
QCString doc
Definition: define.h:37
#define Config_getBool(val)
Definition: config.cpp:664
QCString definition
Definition: define.h:35

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.

QCString Define::definition

Definition at line 35 of file define.h.

QCString Define::doc

Definition at line 37 of file define.h.

FileDef* Define::fileDef

Definition at line 41 of file define.h.

QCString Define::fileName

Definition at line 36 of file define.h.

bool Define::isPredefined

Definition at line 47 of file define.h.

int Define::lineNr

Definition at line 42 of file define.h.

QCString Define::name

Definition at line 34 of file define.h.

int Define::nargs

Definition at line 44 of file define.h.

bool Define::nonRecursive

Definition at line 48 of file define.h.

bool Define::undef

Definition at line 45 of file define.h.

bool Define::varArgs

Definition at line 46 of file define.h.


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