Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // RefVector.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_RefVector_XH
0010 #define ThePEG_RefVector_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // RefVector class.
0014 //
0015 
0016 #include "InterfaceBase.xh"
0017 
0018 namespace ThePEG {
0019 
0020 /** @cond EXCEPTIONCLASSES */
0021 /** Exception class used by RefVector if trying to set a pointer of
0022  *  the wrong type.  */
0023 struct RefVExRefClass: public InterfaceException {
0024   /** Standard constructor. */
0025   RefVExRefClass(const RefInterfaceBase & i, const InterfacedBase & o,
0026                  cIBPtr r, const char *);
0027 };
0028 
0029 /** Exception class used by RefVector if an unknown error occurs.  */
0030 struct RefVExSetUnknown: public InterfaceException {
0031   /** Standard constructor. */
0032   RefVExSetUnknown(const RefInterfaceBase & i, const InterfacedBase & o,
0033                    cIBPtr r, int j, const char *);
0034 };
0035 
0036 /** Exception class used by RefVector of a specified object was not
0037  *  found.  */
0038 struct RefVExSetUnfound: public InterfaceException {
0039   /** Standard constructor. */
0040   RefVExSetUnfound(const InterfaceBase & i, const InterfacedBase & o, string);
0041 };
0042 
0043 /** Exception class used by RefVector if a given index was out of
0044  *  bounds.  */
0045 struct RefVExIndex: public InterfaceException {
0046   /** Standard constructor. */
0047   RefVExIndex(const InterfaceBase & i, const InterfacedBase & o, int j);
0048 };
0049 
0050 /** Exception class used by RefVector if trying to change the size of
0051  *  a fixed size container.  */
0052 struct RefVExFixed: public InterfaceException {
0053   /** Standard constructor. */
0054   RefVExFixed(const InterfaceBase & i, const InterfacedBase & o);
0055 };
0056 
0057 /** Exception class used by RefVector if an unknown error occurs.  */
0058 struct RefVExDelUnknown: public InterfaceException {
0059   /** Standard constructor. */
0060   RefVExDelUnknown(const InterfaceBase & i, const InterfacedBase & o, int j);
0061 };
0062 
0063 /** Exception class used by RefVector if an unknown error occurs.  */
0064 struct RefVExGetUnknown: public InterfaceException {
0065   /** Standard constructor. */
0066   RefVExGetUnknown(const InterfaceBase & i, const InterfacedBase & o);
0067 };
0068 
0069 /** Exception class used by RefVector if manipulating through a null
0070  *  member function  */
0071 struct RefVExNoSet: public InterfaceException {
0072   /** Standard constructor. */
0073   RefVExNoSet(const InterfaceBase & i,  const InterfacedBase & o);
0074 };
0075 
0076 /** Exception class used by RefVector if manipulating through a null
0077  *  member function  */
0078 struct RefVExNoIns: public InterfaceException {
0079   /** Standard constructor. */
0080   RefVExNoIns(const InterfaceBase & i,  const InterfacedBase & o);
0081 };
0082 
0083 /** Exception class used by RefVector if manipulating through a null
0084  *  member function  */
0085 struct RefVExNoDel: public InterfaceException {
0086   /** Standard constructor. */
0087   RefVExNoDel(const InterfaceBase & i,  const InterfacedBase & o);
0088 };
0089 /** @endcond */
0090 
0091 }
0092 
0093 #endif /* ThePEG_RefVector_XH */
0094