CMS 3D CMS Logo

ParameterSetDescriptionFillerPluginFactory.h

Go to the documentation of this file.
00001 #ifndef FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
00002 #define FWCore_ParameterSet_ParameterSetDescriptionFillerPluginFactory_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     ParameterSet
00006 // Class  :     ParameterSetDescriptionFillerPluginFactory
00007 // 
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Wed Aug  1 16:47:01 EDT 2007
00019 // $Id: ParameterSetDescriptionFillerPluginFactory.h,v 1.1 2007/09/17 21:04:37 chrjones Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "FWCore/PluginManager/interface/PluginFactory.h"
00026 #include "FWCore/ParameterSet/interface/ParameterSetDescriptionFiller.h"
00027 
00028 // forward declarations
00029 
00030 namespace edm {
00031   typedef edmplugin::PluginFactory<ParameterSetDescriptionFillerBase*(void)> ParameterSetDescriptionFillerPluginFactory;
00032 }
00033 
00034 #define DEFINE_FWK_PSET_DESC_FILLER(type) \
00035 static edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller<type > > EDM_PLUGIN_SYM(s_filler , __LINE__ ) (#type)
00036 //NOTE: Can't do the below since this appears on the same line as another factory and w'ed have two variables with the same name
00037 //DEFINE_EDM_PLUGIN (edm::ParameterSetDescriptionFillerPluginFactory,type,#type)
00038 #endif

Generated on Tue Jun 9 17:36:26 2009 for CMSSW by  doxygen 1.5.4