Classes | Functions | Variables
debug.cpp File Reference
#include <stdarg.h>
#include <stdio.h>
#include <qdict.h>
#include "debug.h"
#include "message.h"

Go to the source code of this file.

Classes

struct  LabelMap
 
class  LabelMapper
 

Functions

static int labelToEnumValue (const char *l)
 

Variables

static LabelMap s_labels []
 
static LabelMapper g_labelMapper
 

Function Documentation

static int labelToEnumValue ( const char *  l)
static

Definition at line 95 of file debug.cpp.

96 {
98  Debug::DebugMask *event = g_labelMapper.find(label.lower());
99  if (event) return *event; else return 0;
100 }
DebugMask
Definition: debug.h:26
static QStrList * l
Definition: config.cpp:1044
static LabelMapper g_labelMapper
Definition: debug.cpp:77
Debug::DebugMask * find(const char *s) const
Definition: debug.cpp:68
QCString lower() const
Definition: qcstring.cpp:263
Event finding and building.

Variable Documentation

LabelMapper g_labelMapper
static

Definition at line 77 of file debug.cpp.

LabelMap s_labels[]
static
Initial value:
=
{
{ "findmembers", Debug::FindMembers },
{ "functions", Debug::Functions },
{ "variables", Debug::Variables },
{ "preprocessor", Debug::Preprocessor },
{ "classes", Debug::Classes },
{ "commentcnv", Debug::CommentCnv },
{ "commentscan", Debug::CommentScan },
{ "validate", Debug::Validate },
{ "printtree", Debug::PrintTree },
{ "time", Debug::Time },
{ "extcmd", Debug::ExtCmd },
{ "markdown", Debug::Markdown },
{ "filteroutput", Debug::FilterOutput },
{ "lex", Debug::Lex },
{ 0, (Debug::DebugMask)0 }
}
DebugMask
Definition: debug.h:26

Definition at line 35 of file debug.cpp.