#include <sstream>#include <vhdFundamental/vhdExport.h>#include <vhdFundamental/vhdObject.h>#include <vhdExceptions/vhdIllegalOperationException.h>#include <vhdFundamental/vhdDiagManager.h>| Namespaces | |
| namespace | vhdDiagM | 
| namespace | std | 
| Defines | |
| #define | VHD_DIAG_ON | 
| #define | VHD_DIAG_TRACING_ON | 
| #define | vhdASSERT_DBG(expression, toStreamMsg) | 
| #define | vhdASSERT(expression, toStreamMsg) | 
| #define | vhdDIAG_INFO_DBG(toStreamMsg) | 
| #define | vhdDIAG_WARNING_DBG(toStreamMsg) | 
| #define | vhdDIAG_ERROR_DBG(toStreamMsg) | 
| #define | vhdDIAG_CRITICAL_DBG(toStreamMsg) | 
| #define | vhdDIAG_FATAL_DBG(toStreamMsg) | 
| #define | vhdDIAG_ABORT_DBG(toStreamMsg) | 
| #define | vhdDIAG_INFO(toStreamMsg) | 
| #define | vhdDIAG_WARNING(toStreamMsg) | 
| #define | vhdDIAG_ERROR(toStreamMsg) | 
| #define | vhdDIAG_CRITICAL(toStreamMsg) | 
| #define | vhdDIAG_FATAL(toStreamMsg) | 
| #define | vhdDIAG_ABORT(toStreamMsg) | 
| #define | vhdTRACE_LINE_DBG(toStreamMsg) | 
| #define | vhdTRACE_METHOD_DBG(toStreamMsg) | 
| #define | vhdTRACE_SCOPE_DBG(toStreamMsg) | 
| #define | vhdTRACE_THROW_OBJECT_DBG(exceptionName, paramsInBrackets, toStreamMsg) | 
| #define | vhdTRACE_THROW_DBG(exceptionName, thisPtrOr0, toStreamMsg) | 
| #define | vhdTRACE_LINE(toStreamMsg) | 
| #define | vhdTRACE_METHOD(toStreamMsg) | 
| #define | vhdTRACE_SCOPE(toStreamMsg) | 
| #define | vhdTRACE_THROW_OBJECT(exceptionName, paramsInBrackets, toStreamMsg) | 
| #define | vhdTRACE_THROW(exceptionName, thisPtrOr0, toStreamMsg) | 
| #define | _VHD_METHOD_NAME "vhdDiag::operator<< ( const T & t)" | 
| Functions | |
| vhdCLASS_DECLARATION (vhdDiagManager) class vhdDiag | |
| vhdDiag & | vhdDiagM::trace (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::info (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::warning (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::error (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::critical (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::fatal (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::abort (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::reset (vhdDiag &diag) | 
| vhdDiag & | vhdDiagM::flush (vhdDiag &diag) | 
| vhdCLASS_DECLARATION (vhdDiag) class VHD_DLL_EXPORT vhdDiag | |
| vhdDiag & | std::endl (vhdDiag &diag) | 
| #define _VHD_METHOD_NAME "vhdDiag::operator<< ( const T & t)" | 
| #define VHD_DIAG_ON | 
| #define VHD_DIAG_TRACING_ON | 
| #define vhdASSERT | ( | expression, | |||
| toStreamMsg | ) | 
Value:
do { \ if ( (expression) == false) { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::abort << "[failed assertion:" << #expression << "], "<< toStreamMsg << vhdDiagM::flush; \ } \ } \ while (0)
| #define vhdASSERT_DBG | ( | expression, | |||
| toStreamMsg | ) | 
| #define vhdDIAG_ABORT | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::abort << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_ABORT_DBG | ( | toStreamMsg | ) | 
| #define vhdDIAG_CRITICAL | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::critical << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_CRITICAL_DBG | ( | toStreamMsg | ) | 
| #define vhdDIAG_ERROR | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::error << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_ERROR_DBG | ( | toStreamMsg | ) | 
| #define vhdDIAG_FATAL | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::fatal << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_FATAL_DBG | ( | toStreamMsg | ) | 
| #define vhdDIAG_INFO | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::info << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_INFO_DBG | ( | toStreamMsg | ) | 
| #define vhdDIAG_WARNING | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::warning << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdDIAG_WARNING_DBG | ( | toStreamMsg | ) | 
| #define vhdTRACE_LINE | ( | toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::trace << toStreamMsg << vhdDiagM::flush; \ } \ while (0)
| #define vhdTRACE_LINE_DBG | ( | toStreamMsg | ) | 
| #define vhdTRACE_METHOD | ( | toStreamMsg | ) | 
Value:
vhdDiag diagTraceMethodScopeVariable( 0, "[method], ",__FILE__, __LINE__); \ diagTraceMethodScopeVariable << toStreamMsg << vhdDiagM::flush;
| #define vhdTRACE_METHOD_DBG | ( | toStreamMsg | ) | 
| #define vhdTRACE_SCOPE | ( | toStreamMsg | ) | 
Value:
vhdDiag diagTraceMethodScopeVariable( 0, "[scope], ",__FILE__, __LINE__); \ diagTraceMethodScopeVariable << toStreamMsg << vhdDiagM::flush;
| #define vhdTRACE_SCOPE_DBG | ( | toStreamMsg | ) | 
| #define vhdTRACE_THROW | ( | exceptionName, | |||
| thisPtrOr0, | |||||
| toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::trace << "[throw " << #exceptionName << "( " << #thisPtrOr0 << ", " << toStreamMsg << ") "<< vhdDiagM::flush; \ std::ostringstream buf; \ buf << toStreamMsg; \ throw exceptionName ( thisPtrOr0, buf.str() ); \ } \ while (0)
| #define vhdTRACE_THROW_DBG | ( | exceptionName, | |||
| thisPtrOr0, | |||||
| toStreamMsg | ) | 
Value:
do { \ std::ostringstream buf; \ buf << toStreamMsg; \ throw exceptionName ( thisPtrOr0, buf.str() ); \ } \ while (0)
| #define vhdTRACE_THROW_OBJECT | ( | exceptionName, | |||
| paramsInBrackets, | |||||
| toStreamMsg | ) | 
Value:
do { \ vhdDiag::ostream(__FILE__, __LINE__) << vhdDiagM::trace << "[throw " << #exceptionName #paramsInBrackets << "], " << toStreamMsg << vhdDiagM::flush; \ throw exceptionName paramsInBrackets; \ } \ while (0)
| #define vhdTRACE_THROW_OBJECT_DBG | ( | exceptionName, | |||
| paramsInBrackets, | |||||
| toStreamMsg | ) | 
Value:
do { \ throw exceptionName paramsInBrackets; \ } \ while (0)
| vhdCLASS_DECLARATION | ( | vhdDiag | ) | 
| vhdCLASS_DECLARATION | ( | vhdDiagManager | ) | 
 1.5.1-p1
 1.5.1-p1