gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
scannerbit.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
18 
19 #ifndef __ScannerBit_hpp__
20 #define __ScannerBit_hpp__
21 
25 
26 namespace Gambit
27 {
28 
29  namespace Scanner
30  {
31 
33  {
34  try
35  {
36  error e = scan_error();
37  warning w = scan_warning();
38  }
39  catch (std::exception& e)
40  {
41  std::cout << "ScannerBit has failed to initialise due to a fatal exception: " << e.what() << std::endl;
42  throw(e);
43  }
44  return 0;
45  }
46 
48 
49  }
50 
51 }
52 
53 #endif //#ifndef __ScannerBit_hpp__
int register_ScannerBit_handlers()
Definition: scannerbit.hpp:32
GAMBIT warning class.
Definition: exceptions.hpp:165
GAMBIT error class.
Definition: exceptions.hpp:136
Utility Functions for the Gambit Scanner.
Scanner method implementations.
EXPORT_SYMBOLS warning & scan_warning()
Scanner warnings.
EXPORT_SYMBOLS error & scan_error()
Scanner errors.
Initialisation of static member variables in utility classes.
TODO: see if we can use this one:
Definition: Analysis.hpp:33