Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // Switch.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_Switch_XH
0010 #define ThePEG_Switch_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // Switch class.
0014 //
0015 
0016 
0017 #include "InterfaceBase.xh"
0018 
0019 namespace ThePEG {
0020 
0021 /** @cond EXCEPTIONCLASSES */
0022 /** Exception class used by Switch if variable is set to a value which
0023  *  is not a listed option. */
0024 struct SwExSetOpt: public InterfaceException {
0025   /** Standard constructor. */
0026   SwExSetOpt(const InterfaceBase & i, const InterfacedBase & o, long v);
0027 };
0028 
0029 /** Exception class used by Switch if an unkown error
0030  *  occurs. */
0031 struct SwExSetUnknown: public InterfaceException {
0032   /** Standard constructor. */
0033   SwExSetUnknown(const InterfaceBase & i, const InterfacedBase & o, long v);
0034 };
0035 
0036 /** Exception class used by Switch if an unkown error
0037  *  occurs. */
0038 struct SwExGetUnknown: public InterfaceException {
0039   /** Standard constructor. */
0040   SwExGetUnknown(const InterfaceBase & i, const InterfacedBase & o,
0041                  const char * s);
0042 };
0043 /** @endcond */
0044 
0045 }
0046 
0047 #endif /* ThePEG_Switch_XH */
0048