CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TechnologyProxy.h
Go to the documentation of this file.
1 #ifndef CondCore_DBCommon_TechnologyProxy_h
2 #define CondCore_DBCommon_TechnologyProxy_h
3 //
4 // Package: DBCommon
5 // Class : TechnologyProxy
6 //
10 //
11 // Author: Zhen Xie
12 //
13 
15 #include <string>
16 namespace cond{
17  class DbSession;
19  public:
20  explicit TechnologyProxy( ){}
21  virtual ~TechnologyProxy(){}
22  virtual void initialize( const DbConnection& connection )=0;
23  virtual std::string getRealConnectString( const std::string&userconnect ) const=0;
24  virtual std::string getRealConnectString( const std::string&userconnect, const std::string& transactionId ) const=0;
25  virtual bool isTransactional() const=0;
26  private:
29  };
30 }//ns cond
31 #endif
const TechnologyProxy & operator=(const TechnologyProxy &)
virtual std::string getRealConnectString(const std::string &userconnect) const =0
virtual bool isTransactional() const =0
virtual void initialize(const DbConnection &connection)=0