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