/usr/include/ThePEG/Interface/Switch.xh is in libthepeg-dev 1.8.0-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | // -*- C++ -*-
//
// Switch.xh is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_Switch_XH
#define ThePEG_Switch_XH
//
// This is the declarations of the exception classes used by the
// Switch class.
//
#include "InterfaceBase.xh"
namespace ThePEG {
/** @cond EXCEPTIONCLASSES */
/** Exception class used by Switch if variable is set to a value which
* is not a listed option. */
struct SwExSetOpt: public InterfaceException {
/** Standard constructor. */
SwExSetOpt(const InterfaceBase & i, const InterfacedBase & o, long v);
};
/** Exception class used by Switch if an unkown error
* occurs. */
struct SwExSetUnknown: public InterfaceException {
/** Standard constructor. */
SwExSetUnknown(const InterfaceBase & i, const InterfacedBase & o, long v);
};
/** Exception class used by Switch if an unkown error
* occurs. */
struct SwExGetUnknown: public InterfaceException {
/** Standard constructor. */
SwExGetUnknown(const InterfaceBase & i, const InterfacedBase & o,
const char * s);
};
/** @endcond */
}
#endif /* ThePEG_Switch_XH */
|