Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

cl_debuggering_macros.h

00001 #ifndef s11n_DEBUGGERING_MACROS_H 00002 #define s11n_DEBUGGERING_MACROS_H 1 00003 00004 // CERR is a drop-in replacement for std::cerr, but slightly more 00005 // decorative. 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

Generated on Wed Jul 28 16:04:14 2004 for s11n by doxygen 1.3.7