ocra-recipes
Doxygen documentation for the ocra-recipes repository
Classes | Macros | Variables
WocraDebug.h File Reference

Debug trace. More...

#include <cstdio>
#include <iostream>
#include <fstream>
#include <sstream>
Include dependency graph for WocraDebug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WocraDebugTrace
 

Macros

#define WOCRA_DEBUG_MODE   0
 
#define isirTOTALDEBUG(level)   if( 1 ) ; else std::cout
 
#define isirDEBUG(level)   if( 1 ) ; else std::cout
 

Variables

WocraDebugTrace isirDEBUGFLOW
 

Detailed Description

Debug trace.

Author
Sovannara Hak, Joseph Salini

Inspired by François Bleibel, Olivier Stasse define WOCRA_DEBUG to activate tracing define trace level WOCRA_DEBUG_MODE use isirDEBUG(level) or isirTOTALDEBUG(level) like ostream

Definition in file WocraDebug.h.

Macro Definition Documentation

#define isirDEBUG (   level)    if( 1 ) ; else std::cout

Definition at line 54 of file WocraDebug.h.

#define isirTOTALDEBUG (   level)    if( 1 ) ; else std::cout

Definition at line 53 of file WocraDebug.h.

#define WOCRA_DEBUG_MODE   0

Definition at line 17 of file WocraDebug.h.

Variable Documentation

WocraDebugTrace isirDEBUGFLOW