9 #ifndef ThePEG_Switch_H
10 #define ThePEG_Switch_H
13 #include "ThePEG/Config/ThePEG.h"
16 #include "InterfaceBase.h"
55 string newDescription,
long newValue);
75 operator long ()
const;
152 string newClassName,
const type_info & newTypeInfo,
153 bool depSafe,
bool readonly)
155 newTypeInfo, depSafe, readonly) {}
165 string arguments)
const;
175 virtual string type()
const;
221 string opttag(
long opt)
const;
271 template <
typename T,
typename Int>
323 Switch(
string newName,
string newDescription,
324 Member newMember, Int newDef,
bool depSafe =
false,
325 bool readonly =
false,
SetFn newSetFn = 0,
GetFn newGetFn = 0,
328 typeid(T), depSafe, readonly),
401 #ifndef ThePEG_TEMPLATES_IN_CC_FILE
402 #include "Switch.tcc"