
Go to the source code of this file.
Namespaces | |
| namespace | YACS |
Macros | |
| #define | DEBTRACE(msg) |
| #define | YACSTRACE(level, msg) |
| YACSTRACE macro for dynamic trace: print only if YACS_TRACELEVEL environment variable is set and level is less than its value. More... | |
| #define | ERROR_YACSTRACE(msg) YACSTRACE(0,msg) |
| #define | WARNING_YACSTRACE(msg) YACSTRACE(1,msg) |
| #define | INFO_YACSTRACE(msg) YACSTRACE(2,msg) |
| #define | DEBUG_YACSTRACE(msg) YACSTRACE(7,msg) |
| #define | GURU_YACSTRACE(msg) YACSTRACE(99,msg) |
| #define | YASSERT(val) { if( !(val) ) { std::ostringstream mess; mess << __FILE__ << " [" <<__LINE__<< "] : assertion " << #val << " failed"; throw YACS::Exception(mess.str()); } } |
| YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort. More... | |
Functions | |
| void | YACS::AppendTimeClock (std::ostream &os) |
| void | AttachDebugger () |
| #define DEBTRACE | ( | msg | ) |
Definition at line 31 of file YacsTrace.hxx.
| #define DEBUG_YACSTRACE | ( | msg | ) | YACSTRACE(7,msg) |
Definition at line 53 of file YacsTrace.hxx.
| #define ERROR_YACSTRACE | ( | msg | ) | YACSTRACE(0,msg) |
Definition at line 47 of file YacsTrace.hxx.
| #define GURU_YACSTRACE | ( | msg | ) | YACSTRACE(99,msg) |
Definition at line 55 of file YacsTrace.hxx.
| #define INFO_YACSTRACE | ( | msg | ) | YACSTRACE(2,msg) |
Definition at line 51 of file YacsTrace.hxx.
| #define WARNING_YACSTRACE | ( | msg | ) | YACSTRACE(1,msg) |
Definition at line 49 of file YacsTrace.hxx.
| #define YACSTRACE | ( | level, | |
| msg | |||
| ) |
YACSTRACE macro for dynamic trace: print only if YACS_TRACELEVEL environment variable is set and level is less than its value.
Definition at line 41 of file YacsTrace.hxx.
| #define YASSERT | ( | val | ) | { if( !(val) ) { std::ostringstream mess; mess << __FILE__ << " [" <<__LINE__<< "] : assertion " << #val << " failed"; throw YACS::Exception(mess.str()); } } |
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
Definition at line 59 of file YacsTrace.hxx.
| void AttachDebugger | ( | ) |
Definition at line 52 of file YacsTrace.cxx.
Referenced by YACS::ENGINE::RefCounter::~RefCounter().