Main Page | Class Hierarchy | Class List | File List | Class Members

GEAR.h

00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef GEAR_GEAR_H
00008 #define GEAR_GEAR_H 1
00009 
00010  #include <map>
00011  #include <vector>
00012  #include <string>
00013  #include <exception> 
00014 
00015 
00016 namespace gear {
00017 
00018 
00019 
00020  typedef std::pair<double,double> Point2D ;
00021  typedef std::vector<int> IntVec ;
00022  typedef std::vector<double> DoubleVec ;
00023  typedef std::vector<std::string> StringVec ;
00024  
00025 
00026 
00032   class Exception : public std::exception {
00033 
00034     
00035   protected:
00036     std::string message ;
00037     
00038     Exception(){  /*no_op*/ ; } 
00039     
00040   public: 
00041     virtual ~Exception() throw() { /*no_op*/; } 
00042     
00043     Exception( const std::string& text ){
00044       message = "lcio::Exception: " + text ;
00045     }
00046 
00047     virtual const char* what() const  throw() { return  message.c_str() ; } 
00048 
00049   };
00050 
00051 
00056   class ParseException : public Exception{
00057     
00058   protected:
00059     ParseException() {  /*no_op*/ ; } 
00060   public: 
00061     virtual ~ParseException() throw() { /*no_op*/; } 
00062 
00063     ParseException( std::string text ){
00064       message = "gear::ParseException: " + text ;
00065     }
00066   }; 
00067 
00072   class NotImplementedException : public Exception{
00073 
00074   protected:
00075     NotImplementedException() {  /*no_op*/ ; } 
00076 
00077   public: 
00078     NotImplementedException( std::string text ){
00079       message = "gear::NotImplementedException: " + text ;
00080     }
00081     virtual ~NotImplementedException() throw() { /*no_op*/; } 
00082 
00083   }; 
00084 
00090    class UnknownParameterException : public Exception{
00091 
00092   protected:
00093     UnknownParameterException() {  /*no_op*/ ; } 
00094 
00095   public: 
00096     UnknownParameterException( std::string text ){
00097       message = "gear::UnknownParameterException: " + text ;
00098     }
00099     virtual ~UnknownParameterException() throw() { /*no_op*/; } 
00100 
00101   }; 
00104 class GEAR {
00105 
00106 public: 
00108     virtual ~GEAR() { /* nop */; }
00109 
00110 
00111 
00112   public:
00113    static const char*  GEARPARAMETERS  ;
00114    static const char*  TPCPARAMETERS  ;
00115    static const char*  CALORIMETERPARAMETERS  ;
00116 
00117 
00118 }; // class
00119 } // namespace gear
00120 #endif /* ifndef GEAR_GEAR_H */

Generated on Tue Sep 13 17:28:48 2005 for Gear by doxygen 1.3.5