Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Bugcheck.h File Reference
#include "Poco/Foundation.h"
#include <string>
#include <cstdlib>
+ Include dependency graph for Bugcheck.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Poco::Bugcheck
 
struct  POCO_STATIC_ASSERTION_FAILURE< true >
 
struct  poco_static_assert_test< x >
 

Namespaces

namespace  Poco
 

Macros

#define poco_assert_msg_dbg(cond, text)
 
#define poco_assert_dbg(cond)
 
#define poco_assert(cond)    if (!(cond)) Poco::Bugcheck::assertion(#cond, __FILE__, __LINE__); else (void) 0
 
#define poco_assert_msg(cond, text)    if (!(cond)) Poco::Bugcheck::assertion(#cond, __FILE__, __LINE__, text); 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_unexpected()    Poco::Bugcheck::unexpected(__FILE__, __LINE__);
 
#define poco_debugger()    Poco::Bugcheck::debugger(__FILE__, __LINE__)
 
#define poco_debugger_msg(msg)    Poco::Bugcheck::debugger(msg, __FILE__, __LINE__)
 
#define poco_stdout_dbg(outstr)
 
#define poco_stderr_dbg(outstr)
 
#define poco_static_assert(B)
 

Macro Definition Documentation

◆ poco_assert

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

Definition at line 117 of file Bugcheck.h.

◆ poco_assert_dbg

#define poco_assert_dbg ( cond)

Definition at line 113 of file Bugcheck.h.

◆ poco_assert_msg

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

Definition at line 121 of file Bugcheck.h.

◆ poco_assert_msg_dbg

#define poco_assert_msg_dbg ( cond,
text )

Definition at line 112 of file Bugcheck.h.

◆ poco_bugcheck

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

Definition at line 129 of file Bugcheck.h.

◆ poco_bugcheck_msg

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

Definition at line 133 of file Bugcheck.h.

◆ poco_check_ptr

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

Definition at line 125 of file Bugcheck.h.

◆ poco_debugger

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

Definition at line 144 of file Bugcheck.h.

◆ poco_debugger_msg

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

Definition at line 148 of file Bugcheck.h.

◆ poco_static_assert

#define poco_static_assert ( B)
Value:
POCO_JOIN(poco_static_assert_typedef_, __LINE__) POCO_UNUSED
#define POCO_JOIN(X, Y)
Definition Foundation.h:132
#define POCO_UNUSED
Definition Platform.h:274

Definition at line 200 of file Bugcheck.h.

◆ poco_stderr_dbg

#define poco_stderr_dbg ( outstr)

Definition at line 164 of file Bugcheck.h.

◆ poco_stdout_dbg

#define poco_stdout_dbg ( outstr)

Definition at line 156 of file Bugcheck.h.

◆ poco_unexpected

#define poco_unexpected ( )     Poco::Bugcheck::unexpected(__FILE__, __LINE__);

Definition at line 140 of file Bugcheck.h.