The Debug
class defines a number of debug levels and a static public member giving the current debug level in a run.
More...
#include <Debug.h>
|
static int | level |
| The current level.
|
|
static bool | isset |
| If true, the debug level has been set from the outside from the calling program. More...
|
|
static std::vector< bool > | debugItems |
| A vector of switches indicating whether a given debug item is switched on or not. More...
|
|
The Debug
class defines a number of debug levels and a static public member giving the current debug level in a run.
Definition at line 21 of file Debug.h.
The different debug levels.
Enumerator |
---|
noDebug |
No debugging.
|
printSomeEvents |
Lowest debug level.
Some events are printed out.
|
printEveryEvent |
Higher debug level.
All events are printed out.
|
full |
Highest possible debug level.
|
Definition at line 28 of file Debug.h.
static void ThePEG::Debug::debugItem |
( |
int |
item, |
|
|
bool |
on |
|
) |
| |
|
static |
Switch on or off a given debug item.
If no such item exists, one will be created.
static bool ThePEG::Debug::debugItem |
( |
int |
item | ) |
|
|
inlinestatic |
Check if a given item should be debugged.
If no such item is present false is returned.
Definition at line 71 of file Debug.h.
References full, and noDebug.
std::vector<bool> ThePEG::Debug::debugItems |
|
static |
A vector of switches indicating whether a given debug item is switched on or not.
The index of a debug item has no special meaning. An implementor may assume that a given number corresponds to a certain request for debug output, but cannot be sure that someone else uses that number for some other purpose.
Definition at line 54 of file Debug.h.
bool ThePEG::Debug::isset |
|
static |
If true, the debug level has been set from the outside from the calling program.
This would then override any debug settings in the event generator.
Definition at line 45 of file Debug.h.
The documentation for this class was generated from the following file: