Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // Reference.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_Reference_XH
0010 #define ThePEG_Reference_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // Reference class.
0014 //
0015 
0016 #include "InterfaceBase.xh"
0017 
0018 namespace ThePEG {
0019 
0020 /** @cond EXCEPTIONCLASSES */
0021 /** Exception class used by Reference if trying to set a pointer of
0022  *  the wrong type.  */
0023 struct RefExSetRefClass: public InterfaceException {
0024   /** Standard constructor. */
0025   RefExSetRefClass(const RefInterfaceBase & i, const InterfacedBase & o,
0026                    cIBPtr r);
0027 };
0028 
0029 /** Exception class used by  Referenceif an unknown error occurs.  */
0030 struct RefExSetUnknown: public InterfaceException {
0031   /** Standard constructor. */
0032   RefExSetUnknown(const InterfaceBase & i, const InterfacedBase & o,
0033                   cIBPtr r);
0034 };
0035 
0036 /** Exception class used by Reference if an unknown error occurs.  */
0037 struct RefExGetUnknown: public InterfaceException {
0038   /** Standard constructor. */
0039   RefExGetUnknown(const InterfaceBase & i, const InterfacedBase & o);
0040 };
0041 
0042 /** Exception class used by Reference of a specified object was not
0043  *  found.  */
0044 struct RefExSetNoobj: public InterfaceException {
0045   /** Standard constructor. */
0046   RefExSetNoobj(const InterfaceBase & i, const InterfacedBase & o, string);
0047 };
0048 
0049 /** Exception class used by Reference for issuing warnings.  */
0050 struct RefExSetMessage: public InterfaceException {
0051   /** Standard constructor. */
0052   RefExSetMessage(string ref, const InterfacedBase & o,
0053                   const InterfacedBase & o2, string);
0054 };
0055 /** @endcond */
0056 
0057 }
0058 
0059 #endif /* ThePEG_Reference_XH */
0060