test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SQLiteProxy.cc
Go to the documentation of this file.
3 #include <string>
4 namespace cond{
6  public:
9  void initialize( const DbConnection& ) override{
10  }
12  getRealConnectString( const std::string &userconnect ) const override{
13  if( userconnect.find("sqlite_fip:") != std::string::npos ){
15  return p.getRealConnect( userconnect );
16  }
17  return userconnect;
18  }
19 
21  getRealConnectString( const std::string &userconnect, const std::string& ) const override {
22  return getRealConnectString( userconnect );
23  }
24 
25  bool isTransactional() const override { return true;}
26 
27  };
28 }//ns cond
29 
32 
std::string getRealConnect(const std::string &fipConnect) const
void initialize(const DbConnection &) override
Definition: SQLiteProxy.cc:9
bool isTransactional() const override
Definition: SQLiteProxy.cc:25
std::string getRealConnectString(const std::string &userconnect) const override
Definition: SQLiteProxy.cc:12
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::string getRealConnectString(const std::string &userconnect, const std::string &) const override
Definition: SQLiteProxy.cc:21