17 #define gOcra_DEBUG_MODE 0 25 # ifndef gOcra_DEBUG_MODE 26 # define gOcra_DEBUG_MODE 0 39 # define isirPREDEBUG \ 40 __FILE__ << ": " << __FUNCTION__ \ 41 << "(#" << __LINE__ << ") :" 43 # define isirTOTALDEBUG(level) \ 44 if ((level>gOcra_DEBUG_MODE) || (!isirDEBUGFLOW.outputbuffer.good()) ) \ 46 else isirDEBUGFLOW.outputbuffer << isirPREDEBUG 48 # define isirDEBUG(level) \ 49 if ((level>gOcra_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 gOcraDEBUG_H
std::ostream & outputbuffer
IsirDebugTrace isirDEBUGFLOW
IsirDebugTrace(std::ostream &os)