CMS 3D CMS Logo

ValidatedPluginMacros.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_ValidatedPluginMacros_h
2 #define FWCore_ParameterSet_ValidatedPluginMacros_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/ParameterSet
6 // Class : ValidatedPluginMacros
7 //
17 //
18 // Original Author: Chris Jones
19 // Created: Fri, 21 Sep 2018 13:09:38 GMT
20 //
21 
22 // system include files
23 
24 // user include files
27 
28 #define DEFINE_EDM_VALIDATED_PLUGIN(factory, type, name) \
29  DEFINE_EDM_PLUGIN(factory, type, name); \
30  using EDM_PLUGIN_SYM(adaptor_t, __LINE__) = edm::PluginDescriptionAdaptor<factory::CreatedType, type>; \
31  DEFINE_EDM_PLUGIN2(edmplugin::PluginFactory<edm::PluginDescriptionAdaptorBase<factory::CreatedType>*()>, \
32  EDM_PLUGIN_SYM(adaptor_t, __LINE__), \
33  name)
34 
35 #endif