Currently there isn't any error handling in BCP. More...
#include <BCP_error.hpp>
Public Member Functions | |
BCP_fatal_error (const std::string &str) | |
The constructor prints out the error message, flushes the stdout buffer and aborts execution. More... | |
BCP_fatal_error (const char *format,...) | |
~BCP_fatal_error () | |
The destructor exists only because it must. More... | |
Static Public Attributes | |
static bool | abort_on_error = true |
Currently there isn't any error handling in BCP.
When an object of this type is created, the string stored in the character array of the argument is printed out and execution is aborted with abort()
(thus a core dump is created).
Definition at line 20 of file BCP_error.hpp.
|
inline |
The constructor prints out the error message, flushes the stdout buffer and aborts execution.
Definition at line 34 of file BCP_error.hpp.
|
inline |
Definition at line 40 of file BCP_error.hpp.
|
inline |
The destructor exists only because it must.
Definition at line 50 of file BCP_error.hpp.
|
static |
Definition at line 22 of file BCP_error.hpp.