17 #define WOCRA_DEBUG_MODE 0 25 # ifndef WOCRA_DEBUG_MODE 26 # define WOCRA_DEBUG_MODE 0 39 # define isirPREDEBUG \ 40 __FILE__ << ": " << __FUNCTION__ \ 41 << "(#" << __LINE__ << ") :" 43 # define isirTOTALDEBUG(level) \ 44 if ((level>WOCRA_DEBUG_MODE) || (!isirDEBUGFLOW.outputbuffer.good()) ) \ 46 else isirDEBUGFLOW.outputbuffer << isirPREDEBUG 48 # define isirDEBUG(level) \ 49 if ((level>WOCRA_DEBUG_MODE) || (!isirDEBUGFLOW.outputbuffer.good()) ) \ 51 else isirDEBUGFLOW.outputbuffer 53 # define isirTOTALDEBUG(level) if( 1 ) ; else std::cout 54 # define isirDEBUG(level) if( 1 ) ; else std::cout 58 #endif //ifndef WocraDEBUG_H std::ostream & outputbuffer
WocraDebugTrace(std::ostream &os)
WocraDebugTrace isirDEBUGFLOW