CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/CondCore/ESSources/src/ProxyFactory.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     ESSources
00004 // Class  :     ProxyFactory
00005 // 
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Chris Jones
00010 //         Created:  Sat Jul 23 19:14:11 EDT 2005
00011 //
00012 
00013 // system include files
00014 
00015 // user include files
00016 #include "CondCore/ESSources/interface/ProxyFactory.h"
00017 #include "CondCore/ESSources/interface/DataProxy.h"
00018 
00019 cond::DataProxyWrapperBase::DataProxyWrapperBase(){}
00020 
00021 cond::DataProxyWrapperBase::DataProxyWrapperBase(std::string const & il) : m_label(il){}
00022 
00023 cond::DataProxyWrapperBase::~DataProxyWrapperBase(){}
00024 
00025 void cond::DataProxyWrapperBase::addInfo(std::string const & il, std::string const & cs, std::string const & tag) { 
00026   m_label=il; m_connString = cs; m_tag=tag;
00027 }
00028 
00029 EDM_REGISTER_PLUGINFACTORY(cond::ProxyFactory, cond::pluginCategory());
00030 
00031 namespace cond {
00032   const char*
00033   pluginCategory()
00034   {
00035     return  "CondProxyFactory";
00036   }
00037 }
00038