Error Class Reference

class corresponding to errors that will be thrown by fastjet More...

#include <Error.hh>

List of all members.

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

Detailed Description

class corresponding to errors that will be thrown by fastjet

Definition at line 43 of file Error.hh.


Constructor & Destructor Documentation

Error::Error (  )  [inline]

Definition at line 46 of file Error.hh.

00046 {;};

Error::Error ( const std::string &  message  )  [inline]

Definition at line 47 of file Error.hh.

References _message, and _print_errors.

00047                                    {
00048     _message = message; 
00049     if (_print_errors) std::cerr << "fastjet::Error: "<<message << std::endl;
00050   };


Member Function Documentation

std::string Error::message (  )  const [inline]

Definition at line 52 of file Error.hh.

References _message.

00052 {return _message;};

static void Error::set_print_errors ( bool  print_errors  )  [inline, static]

Definition at line 54 of file Error.hh.

00054                                                   {
00055     _print_errors = print_errors;};


Member Data Documentation

std::string Error::_message [private]

Definition at line 55 of file Error.hh.

Referenced by Error(), and message().

FASTJET_BEGIN_NAMESPACE bool Error::_print_errors = true [static, private]

Definition at line 59 of file Error.hh.

Referenced by Error().


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

Generated on 26 Feb 2010 for fastjet by  doxygen 1.6.1