CMS 3D CMS Logo

SQLiteProxy.cc

Go to the documentation of this file.
00001 #include "SQLiteProxy.h"
00002 #include "CondCore/DBCommon/interface/FipProtocolParser.h"
00003 #include "CondCore/DBCommon/interface/TechnologyProxyFactory.h"
00004 #include "SealKernel/Context.h"
00005 #include "SealKernel/ComponentLoader.h"
00006 #include "CondCore/DBCommon/interface/DBSession.h"
00007 cond::SQLiteProxy::SQLiteProxy(const std::string& userconnect):cond::TechnologyProxy(userconnect){
00008 }
00009 cond::SQLiteProxy::~SQLiteProxy(){
00010 }
00011 std::string 
00012 cond::SQLiteProxy::getRealConnectString( ) const{
00013   if( m_userconnect.find("sqlite_fip:") != std::string::npos ){
00014     cond::FipProtocolParser p;
00015     return p.getRealConnect(m_userconnect);
00016   }
00017   return m_userconnect;
00018 }
00019 void 
00020 cond::SQLiteProxy::setupSession(cond::DBSession& session){
00021 }
00022 DEFINE_EDM_PLUGIN(cond::TechnologyProxyFactory,cond::SQLiteProxy,"sqlite");

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