Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/ThePEG/Interface/Parameter.xh is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //
0003 // Parameter.xh is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef ThePEG_Parameter_XH
0010 #define ThePEG_Parameter_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // Parameter class.
0014 //
0015 
0016 #include "InterfaceBase.xh"
0017 
0018 namespace ThePEG {
0019 
0020 /** @cond EXCEPTIONCLASSES */
0021 /** Exception class used by Parameter if variable is set outside the
0022  *  specified limits. */
0023 struct ParExSetLimit: public InterfaceException {
0024   /** Standard constructor. */
0025   template <typename T>
0026   ParExSetLimit(const InterfaceBase & i, 
0027                 const InterfacedBase & o, T v);
0028 };
0029 
0030 /** Exception class used by Parameter if an unkown error
0031  *  occurs. */
0032 struct ParExSetUnknown: public InterfaceException {
0033   /** Standard constructor. */
0034   template <typename T>
0035   ParExSetUnknown(const InterfaceBase & i,
0036                   const InterfacedBase & o, T val);
0037 };
0038 
0039 /** Exception class used by Parameter if an unkown error
0040  *  occurs. */
0041 struct ParExGetUnknown: public InterfaceException {
0042   /** Standard constructor. */
0043   ParExGetUnknown(const InterfaceBase & i,
0044                   const InterfacedBase & o, const char *);
0045 };
0046 /** @endcond */
0047 
0048 }
0049 
0050 #endif /* ThePEG_Parameter_XH */
0051