Bugcheck.h File Reference


Detailed Description

From the Poco C++ Libraries; used for ES40 for OpenVMS only, as Poco has dropped OpenVMS support.

Id
Bugcheck.h,v 1.1 2008/03/31 19:13:28 iamcamiel Exp

X-1.1 Camiel Vanderhoeven 31-MAR-2008 Adapted for use by the ES40 Emulator.

Definition in file Bugcheck.h.

#include "VMS/Foundation.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  Poco

Data Structures

class  Poco::Bugcheck
 This class provides some static methods that are used by the poco_assert_dbg(), poco_assert(), poco_check_ptr() and poco_bugcheck() macros. You should not invoke these methods directly. Use the macros instead, as they automatically provide useful context information. More...
struct  POCO_STATIC_ASSERTION_FAILURE< true >
struct  poco_static_assert_test< x >

Defines

#define poco_assert_dbg(cond)
#define poco_assert(cond)   if (!(cond)) Poco::Bugcheck::assertion(#cond, __FILE__, __LINE__); else (void) 0
#define poco_check_ptr(ptr)   if (!(ptr)) Poco::Bugcheck::nullPointer(#ptr, __FILE__, __LINE__); else (void) 0
#define poco_bugcheck()   Poco::Bugcheck::bugcheck(__FILE__, __LINE__)
#define poco_bugcheck_msg(msg)   Poco::Bugcheck::bugcheck(msg, __FILE__, __LINE__)
#define poco_debugger()   Poco::Bugcheck::debugger(__FILE__, __LINE__)
#define poco_debugger_msg(msg)   Poco::Bugcheck::debugger(msg, __FILE__, __LINE__)
#define poco_static_assert(B)


Define Documentation

#define poco_assert ( cond   )     if (!(cond)) Poco::Bugcheck::assertion(#cond, __FILE__, __LINE__); else (void) 0

Definition at line 139 of file Bugcheck.h.

Referenced by Poco::SemaphoreImpl::SemaphoreImpl().

#define poco_assert_dbg ( cond   ) 

Definition at line 135 of file Bugcheck.h.

 
#define poco_bugcheck (  )     Poco::Bugcheck::bugcheck(__FILE__, __LINE__)

Definition at line 147 of file Bugcheck.h.

#define poco_bugcheck_msg ( msg   )     Poco::Bugcheck::bugcheck(msg, __FILE__, __LINE__)

Definition at line 151 of file Bugcheck.h.

Referenced by Poco::ThreadImpl::mapPrio().

#define poco_check_ptr ( ptr   )     if (!(ptr)) Poco::Bugcheck::nullPointer(#ptr, __FILE__, __LINE__); else (void) 0

Definition at line 143 of file Bugcheck.h.

Referenced by Poco::ErrorHandler::set().

 
#define poco_debugger (  )     Poco::Bugcheck::debugger(__FILE__, __LINE__)

Definition at line 155 of file Bugcheck.h.

#define poco_debugger_msg ( msg   )     Poco::Bugcheck::debugger(msg, __FILE__, __LINE__)

Definition at line 159 of file Bugcheck.h.

Referenced by Poco::ErrorHandler::exception().

#define poco_static_assert (  ) 

Value:

Definition at line 195 of file Bugcheck.h.


SourceForge.net Logo
Project space on SourceForge.net