00001 // -*- C++ -*- 00002 // 00003 // Interface.h is a part of ThePEG - Toolkit for HEP Event Generation 00004 // Copyright (C) 1999-2007 Leif Lonnblad 00005 // 00006 // ThePEG is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 #ifndef THEPEG_Interface_H 00010 #define THEPEG_Interface_H 00011 // 00012 // This is the declaration of the Interface namespace. 00013 // 00014 00015 namespace ThePEG { 00016 00021 namespace Interface { 00022 00028 enum DepSafe { 00029 unsafe = false, 00030 safe = true 00031 }; 00032 00036 enum ReadOnly { 00037 readwrite = false, 00038 readonly = true 00039 }; 00040 00045 enum Limits { 00046 nolimits = 0, 00047 limited = 1, 00048 upperlim = 2, 00049 lowerlim = 3 00050 }; 00051 00057 enum Rebind { 00058 norebind = true, 00059 rebind = false 00060 }; 00061 00065 enum Nullable { 00066 nonull = false, 00067 nullok = true 00068 }; 00069 00075 enum NullDefault { 00076 nodefnull = false, 00077 defnull = true 00078 }; 00079 00080 00081 } 00082 00083 } 00084 00085 #endif /* THEPEG_Interface_H */