fastjet::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

fastjet::Error::Error (  )  [inline]

Definition at line 46 of file Error.hh.

00046 {;};

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

Definition at line 47 of file Error.hh.

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


Member Function Documentation

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

Definition at line 52 of file Error.hh.

00052 {return _message;};

static void fastjet::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 fastjet::Error::_message [private]

Definition at line 55 of file Error.hh.

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

Definition at line 59 of file Error.hh.


The documentation for this class was generated from the following files:
Generated on Tue Dec 18 17:05:52 2007 for fastjet by  doxygen 1.5.2