#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. | |
BCP_fatal_error (const char *format,...) | |
~BCP_fatal_error () | |
The destructor exists only because it must. | |
Static Public Attributes | |
static bool | abort_on_error |
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.
BCP_fatal_error::BCP_fatal_error | ( | const std::string & | str | ) | [inline] |
The constructor prints out the error message, flushes the stdout buffer and aborts execution.
Definition at line 34 of file BCP_error.hpp.
References abort_on_error.
BCP_fatal_error::BCP_fatal_error | ( | const char * | format, | |
... | ||||
) | [inline] |
BCP_fatal_error::~BCP_fatal_error | ( | ) | [inline] |
bool BCP_fatal_error::abort_on_error [static] |