1 #ifndef FWCore_ParameterSet_ParameterSetDescriptionFiller_h 2 #define FWCore_ParameterSet_ParameterSetDescriptionFiller_h 25 #include <type_traits> 39 T::fillDescriptions(descriptions);
40 T::prevalidate(descriptions);
48 const T*
type =
nullptr;
66 namespace fillDetails {
78 std::is_same<decltype(has_fillDescriptions_helper<T>(
nullptr)),
yes_tag>
::value;
84 T::fillDescriptions(descriptions);
104 std::is_same<decltype(has_prevalidate_helper<T>(
nullptr)),
yes_tag>
::value;
107 template <
typename T>
110 T::prevalidate(descriptions);
114 template <
typename T>
125 template<
typename T>
137 fill_descriptions(descriptions);
169 fill_descriptions(descriptions);
174 prevalidate(descriptions);
202 fill_descriptions(descriptions);
207 prevalidate(descriptions);
DescriptionFillerForESProducers()
static const std::string kEmpty
const std::string & extendedBaseType() const override
yes_tag has_fillDescriptions_helper(fillDescriptions_function< T,&T::fillDescriptions > *dummy)
const std::string & extendedBaseType() const override
void fill(ConfigurationDescriptions &descriptions) const override
void fill(ConfigurationDescriptions &descriptions) const override
yes_tag has_prevalidate_helper(fillDescriptions_function< T,&T::prevalidate > *dummy)
DescriptionFillerForServices()
const std::string & extendedBaseType() const override
DescriptionFillerForESSources()
static const std::string kBaseForService
const std::string & baseType() const override
const ParameterSetDescriptionFiller & operator=(const ParameterSetDescriptionFiller &)
void addDefault(ParameterSetDescription const &psetDescription)
void fill(ConfigurationDescriptions &descriptions) const override
void fill(ConfigurationDescriptions &descriptions) const override
void operator()(ConfigurationDescriptions &descriptions)
ParameterSetDescriptionFiller()
static const std::string kBaseForESProducer
const std::string & baseType() const override
const std::string & baseType() const override
void operator()(ConfigurationDescriptions &descriptions)
virtual const std::string & extendedBaseType() const =0
static const std::string kBaseForESSource
void operator()(ConfigurationDescriptions &descriptions)
void operator()(ConfigurationDescriptions &descriptions)
const std::string & extendedBaseType() const override
const std::string & baseType() const override