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& ){
10  }
11  std::string
12  getRealConnectString( const std::string &userconnect ) const{
13  if( userconnect.find("sqlite_fip:") != std::string::npos ){
15  return p.getRealConnect( userconnect );
16  }
17  return userconnect;
18  }
19 
20  std::string
21  getRealConnectString( const std::string &userconnect, const std::string& ) const {
22  return getRealConnectString( userconnect );
23  }
24 
25  bool isTransactional() const { return true;}
26 
27  };
28 }//ns cond
29 
32 
std::string getRealConnectString(const std::string &userconnect) const
Definition: SQLiteProxy.cc:12
std::string getRealConnect(const std::string &fipConnect) const
std::string getRealConnectString(const std::string &userconnect, const std::string &) const
Definition: SQLiteProxy.cc:21
#define DEFINE_EDM_PLUGIN(factory, type, name)
void initialize(const DbConnection &)
Definition: SQLiteProxy.cc:9
bool isTransactional() const
Definition: SQLiteProxy.cc:25