Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // ParMap.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_ParMap_XH
0010 #define ThePEG_ParMap_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // ParMap class.
0014 //
0015 
0016 #include "InterfaceBase.xh"
0017 
0018 namespace ThePEG {
0019 
0020 /** @cond EXCEPTIONCLASSES */
0021 /** Exception class used by ParMap if a value is set outside the
0022  *  given limits. */
0023 struct ParMExLimit: public InterfaceException {
0024   /** Standard constructor. */
0025   template <typename T>
0026   ParMExLimit(const InterfaceBase & i, const InterfacedBase & o, T v);
0027 };
0028 
0029 /** Exception class used by ParMap if an unknown error was encountered. */
0030 struct ParMExUnknown: public InterfaceException {
0031   /** Standard constructor. */
0032   template <typename T>
0033   ParMExUnknown(const InterfaceBase & i, const InterfacedBase & o,
0034                 T v, int j, const char * s);
0035 };
0036 
0037 /** Exception class used by ParMap if an index is outside the given
0038  *  limits. */
0039 struct ParMExIndex: public InterfaceException {
0040   /** Standard constructor. */
0041   ParMExIndex(const InterfaceBase & i, const InterfacedBase & o, int index);
0042 };
0043 
0044 /** Exception class used by ParMap if the size of a fixed-size
0045  *  container is changed. */
0046 struct ParMExFixed: public InterfaceException {
0047   /** Standard constructor. */
0048   ParMExFixed(const InterfaceBase & i, const InterfacedBase & o);
0049 };
0050 
0051 /** Exception class used by ParMap if an unknown error was encountered. */
0052 struct ParMExDelUnknown: public InterfaceException {
0053   /** Standard constructor. */
0054   ParMExDelUnknown(const InterfaceBase & i, const InterfacedBase & o, int j);
0055 };
0056 
0057 /** Exception class used by ParMap if an unknown error was encountered. */
0058 struct ParMExGetUnknown: public InterfaceException {
0059   /** Standard constructor. */
0060   ParMExGetUnknown(const InterfaceBase & i,
0061                    const InterfacedBase & o, const char * s);
0062 };
0063 /** @endcond */
0064 
0065 }
0066 
0067 #endif /* ThePEG_ParMap_XH */
0068