9 #ifndef ThePEG_Parameter_H
10 #define ThePEG_Parameter_H
15 #include "ThePEG/Config/ThePEG.h"
16 #include "InterfaceBase.h"
17 #include "Parameter.xh"
18 #include "Parameter.fh"
19 #include "ThePEG/Utilities/StringUtils.h"
30 inline void putUnitImpl(ostream & os, T v, T u,
DimensionT) {
38 inline void putUnitImpl(ostream & os, T v, T u,
StandardT) {
94 const type_info & newTypeInfo,
bool depSafe,
95 bool readonly,
int limits)
97 newClassName, newTypeInfo, depSafe,
98 readonly),
limit(limits) {}
113 string arguments)
const;
216 template <
typename Type>
250 const type_info & newTypeInfo, Type newUnit,
251 bool depSafe,
bool readonly,
int limits)
253 newClassName, newTypeInfo, depSafe,
254 readonly, limits),
theUnit(newUnit) {}
264 virtual string type()
const;
417 template <
typename T,
typename Type>
483 Member newMember, Type newDef, Type newMin,
484 Type newMax,
bool depSafe =
false,
bool readonly =
false,
485 bool limits =
true,
SetFn newSetFn = 0,
489 typeid(T), Type(), depSafe, readonly, limits),
540 Member newMember, Type newUnit, Type newDef, Type newMin,
541 Type newMax,
bool depSafe =
false,
bool readonly =
false,
542 bool limits =
true,
SetFn newSetFn = 0,
546 typeid(T), newUnit, depSafe, readonly, limits),
595 Member newMember, Type newDef, Type newMin,
596 Type newMax,
bool depSafe =
false,
bool readonly =
false,
601 typeid(T), Type(), depSafe, readonly, limits),
653 Member newMember, Type newUnit, Type newDef, Type newMin,
654 Type newMax,
bool depSafe =
false,
bool readonly =
false,
659 typeid(T), newUnit, depSafe, readonly, limits),
826 const type_info & newTypeInfo,
827 bool depSafe,
bool readonly)
829 newClassName, newTypeInfo, depSafe,
830 readonly, false), isFileType(NoFile) {
844 case File:
return "PF";
845 case Directory:
return "PD";
846 default:
return "Ps";
945 virtual string doxygenType()
const {
return "Character string parameter"; }
962 template <
typename T>
1015 Member newMember,
string newDef,
1016 bool depSafe =
false,
bool readonly =
false,
1020 typeid(T), depSafe, readonly),
1101 #ifndef ThePEG_TEMPLATES_IN_CC_FILE
1102 #include "Parameter.tcc"