ThePEG  1.8.0
RefVector.xh
1 // -*- C++ -*-
2 //
3 // RefVector.xh is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_RefVector_XH
10 #define ThePEG_RefVector_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // RefVector class.
14 //
15 
16 #include "InterfaceBase.xh"
17 
18 namespace ThePEG {
19 
23 struct RefVExRefClass: public InterfaceException {
25  RefVExRefClass(const RefInterfaceBase & i, const InterfacedBase & o,
26  cIBPtr r, const char *);
27 };
28 
30 struct RefVExSetUnknown: public InterfaceException {
32  RefVExSetUnknown(const RefInterfaceBase & i, const InterfacedBase & o,
33  cIBPtr r, int j, const char *);
34 };
35 
38 struct RefVExSetUnfound: public InterfaceException {
40  RefVExSetUnfound(const InterfaceBase & i, const InterfacedBase & o, string);
41 };
42 
45 struct RefVExIndex: public InterfaceException {
47  RefVExIndex(const InterfaceBase & i, const InterfacedBase & o, int j);
48 };
49 
52 struct RefVExFixed: public InterfaceException {
54  RefVExFixed(const InterfaceBase & i, const InterfacedBase & o);
55 };
56 
58 struct RefVExDelUnknown: public InterfaceException {
60  RefVExDelUnknown(const InterfaceBase & i, const InterfacedBase & o, int j);
61 };
62 
64 struct RefVExGetUnknown: public InterfaceException {
66  RefVExGetUnknown(const InterfaceBase & i, const InterfacedBase & o);
67 };
68 
71 struct RefVExNoSet: public InterfaceException {
73  RefVExNoSet(const InterfaceBase & i, const InterfacedBase & o);
74 };
75 
78 struct RefVExNoIns: public InterfaceException {
80  RefVExNoIns(const InterfaceBase & i, const InterfacedBase & o);
81 };
82 
85 struct RefVExNoDel: public InterfaceException {
87  RefVExNoDel(const InterfaceBase & i, const InterfacedBase & o);
88 };
91 }
92 
93 #endif /* ThePEG_RefVector_XH */
94