00001 #ifndef s11n_DEBUGGERING_MACROS_H
00002 #define s11n_DEBUGGERING_MACROS_H 1
00003
00004
00005
00006 #ifndef CERR
00007 #define CERR std::cerr << __FILE__ << ":" << std::dec << __LINE__ << " : "
00008 #define CERRL(A) CERR << A << std::endl;
00009 #endif
00010
00011 #ifndef COUT
00012 #define COUT std::cout << __FILE__ << ":" << std::dec << __LINE__ << " : "
00013 #define COUTL(A) COUT << A << std::endl;
00014 #endif
00015
00016 #ifndef DTOROUT
00017 #define DTOR_DEBUG 0
00018 #define DTOROUT(CLASSNAME) if(DTOR_DEBUG) CERR << "~" << # CLASSNAME << "() "
00019 #endif
00020
00021 #endif // s11n_DEBUGGERING_MACROS_H