fastjet 2.4.3
|
class corresponding to errors that will be thrown by fastjet More...
#include <Error.hh>
Public Member Functions | |
Error () | |
Error (const std::string &message) | |
std::string | message () const |
Static Public Member Functions | |
static void | set_print_errors (bool print_errors) |
Private Attributes | |
std::string | _message |
Static Private Attributes | |
static bool | _print_errors = true |
class corresponding to errors that will be thrown by fastjet
Error::Error | ( | const std::string & | message | ) | [inline] |
Definition at line 47 of file Error.hh.
References _message, _print_errors, and message().
{ _message = message; if (_print_errors) std::cerr << "fastjet::Error: "<<message << std::endl; };
std::string Error::message | ( | ) | const [inline] |
static void Error::set_print_errors | ( | bool | print_errors | ) | [inline, static] |
Definition at line 54 of file Error.hh.
{ _print_errors = print_errors;};
std::string Error::_message [private] |
FASTJET_BEGIN_NAMESPACE bool Error::_print_errors = true [static, private] |