84 static std::map<edm::TypeID, edm::TypeWithDict> s_paramToSetterMap;
86 std::map<edm::TypeID, edm::TypeWithDict>::iterator itFind = s_paramToSetterMap.find(paramType);
87 if (itFind == s_paramToSetterMap.end()) {
90 fwLog(
fwlog::kError) <<
" the type " <<
typeid(*iParam).name() <<
" is not known to Root" << std::endl;
101 if (
name ==
"FWGenericParameter<bool>")
102 name =
"FWBoolParameterSetter";
103 else if (
name ==
"FWGenericParameterWithRange<double>")
104 name =
"FWDoubleParameterSetter";
105 else if (
name ==
"FWGenericParameterWithRange<long int>")
106 name =
"FWLongParameterSetter";
107 else if (
name ==
"FWGenericParameterWithRange<long>")
108 name =
"FWLongParameterSetter";
110 name =
"FWStringParameterSetter";
122 s_paramToSetterMap[paramType] = setterClass;
123 itFind = s_paramToSetterMap.find(paramType);
133 std::shared_ptr<FWParameterSetterBase> ptr(
virtual void updateEditor()
void attach(FWParameterBase *, FWParameterSetterEditorBase *)
virtual void setEnabled(bool)
static TypeWithDict byName(std::string const &name)
const std::string & name() const
std::string friendlyClassName() const
void destruct(void *address, bool dealloc=true) const
FWParameterSetterEditorBase * m_frame
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
virtual ~FWParameterSetterBase()