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)
std::string friendlyClassName() const
FWParameterSetterEditorBase * m_frame
void destruct(void *address, bool dealloc=true) const
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
virtual ~FWParameterSetterBase()
const std::string & name() const