BCP_fatal_error Class Reference

Currently there isn't any error handling in BCP. More...

#include <BCP_error.hpp>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.

BCP_fatal_error::BCP_fatal_error ( const char *  format,
  ... 
) [inline]

Definition at line 40 of file BCP_error.hpp.

BCP_fatal_error::~BCP_fatal_error (  )  [inline]

The destructor exists only because it must.

Definition at line 50 of file BCP_error.hpp.


Member Data Documentation

Definition at line 22 of file BCP_error.hpp.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1