thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Interface
ParMap.xh
1
// -*- C++ -*-
2
//
3
// ParMap.xh is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_ParMap_XH
10
#define ThePEG_ParMap_XH
11
//
12
// This is the declarations of the exception classes used by the
13
// ParMap class.
14
//
15
16
#include "InterfaceBase.xh"
17
18
namespace ThePEG {
19
20
/** @cond EXCEPTIONCLASSES */
21
/** Exception class used by ParMap if a value is set outside the
22
* given limits. */
23
struct ParMExLimit: public InterfaceException {
24
/** Standard constructor. */
25
template <typename T>
26
ParMExLimit(const InterfaceBase & i, const InterfacedBase & o, T v);
27
};
28
29
/** Exception class used by ParMap if an unknown error was encountered. */
30
struct ParMExUnknown: public InterfaceException {
31
/** Standard constructor. */
32
template <typename T>
33
ParMExUnknown(const InterfaceBase & i, const InterfacedBase & o,
34
T v, int j, const char * s);
35
};
36
37
/** Exception class used by ParMap if an index is outside the given
38
* limits. */
39
struct ParMExIndex: public InterfaceException {
40
/** Standard constructor. */
41
ParMExIndex(const InterfaceBase & i, const InterfacedBase & o, int index);
42
};
43
44
/** Exception class used by ParMap if the size of a fixed-size
45
* container is changed. */
46
struct ParMExFixed: public InterfaceException {
47
/** Standard constructor. */
48
ParMExFixed(const InterfaceBase & i, const InterfacedBase & o);
49
};
50
51
/** Exception class used by ParMap if an unknown error was encountered. */
52
struct ParMExDelUnknown: public InterfaceException {
53
/** Standard constructor. */
54
ParMExDelUnknown(const InterfaceBase & i, const InterfacedBase & o, int j);
55
};
56
57
/** Exception class used by ParMap if an unknown error was encountered. */
58
struct ParMExGetUnknown: public InterfaceException {
59
/** Standard constructor. */
60
ParMExGetUnknown(const InterfaceBase & i,
61
const InterfacedBase & o, const char * s);
62
};
63
/** @endcond */
64
65
}
66
67
#endif /* ThePEG_ParMap_XH */
68
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6