kmail

kmdebug.h File Reference

#include <kdebug.h>

Include dependency graph for kmdebug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define CREATE_COUNTER(x)   int x ## _cnt=0
#define CREATE_TIMER(x)
#define END_TIMER(x)
#define GRAB_TIMER(x)
#define INC_COUNTER(x)   x ## _cnt++
#define kmail_dbgstream   kdbgstream
#define RESET_COUNTER(x)   x ## _cnt=0
#define SHOW_COUNTER(x)   kdDebug(5006) << #x " == " << x ## _cnt << endl
#define SHOW_TIMER(x)
#define START_TIMER(x)

Functions

static kmail_dbgstream kmDebug (bool cond)
static kmail_dbgstream kmDebug ()
static kdbgstream kmError (bool cond)
static kdbgstream kmError ()
static kdbgstream kmFatal (bool cond)
static kdbgstream kmFatal ()
static kdbgstream kmWarning (bool cond)
static kdbgstream kmWarning ()

Variables

static const int kmail_debug_area = 5006

Define Documentation

#define CREATE_COUNTER (  )     int x ## _cnt=0

Definition at line 51 of file kmdebug.h.

#define CREATE_TIMER (  ) 

Definition at line 42 of file kmdebug.h.

#define END_TIMER (  ) 

Definition at line 45 of file kmdebug.h.

#define GRAB_TIMER (  ) 

Definition at line 44 of file kmdebug.h.

#define INC_COUNTER (  )     x ## _cnt++

Definition at line 53 of file kmdebug.h.

#define kmail_dbgstream   kdbgstream

Definition at line 15 of file kmdebug.h.

#define RESET_COUNTER (  )     x ## _cnt=0

Definition at line 52 of file kmdebug.h.

#define SHOW_COUNTER (  )     kdDebug(5006) << #x " == " << x ## _cnt << endl

Definition at line 54 of file kmdebug.h.

#define SHOW_TIMER (  ) 

Definition at line 46 of file kmdebug.h.

#define START_TIMER (  ) 

Definition at line 43 of file kmdebug.h.


Function Documentation

static kmail_dbgstream kmDebug ( bool  cond  )  [inline, static]

Definition at line 22 of file kmdebug.h.

static kmail_dbgstream kmDebug (  )  [inline, static]

Definition at line 21 of file kmdebug.h.

static kdbgstream kmError ( bool  cond  )  [inline, static]

Definition at line 28 of file kmdebug.h.

static kdbgstream kmError (  )  [inline, static]

Definition at line 27 of file kmdebug.h.

static kdbgstream kmFatal ( bool  cond  )  [inline, static]

Definition at line 31 of file kmdebug.h.

static kdbgstream kmFatal (  )  [inline, static]

Definition at line 30 of file kmdebug.h.

static kdbgstream kmWarning ( bool  cond  )  [inline, static]

Definition at line 25 of file kmdebug.h.

static kdbgstream kmWarning (  )  [inline, static]

Definition at line 24 of file kmdebug.h.


Variable Documentation

const int kmail_debug_area = 5006 [static]

KMail's debug area code.

Definition at line 19 of file kmdebug.h.