CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CondCore/DBCommon/interface/TechnologyProxy.h

Go to the documentation of this file.
00001 #ifndef CondCore_DBCommon_TechnologyProxy_h
00002 #define CondCore_DBCommon_TechnologyProxy_h
00003 //
00004 // Package:     DBCommon
00005 // Class  :     TechnologyProxy
00006 //
00010 //
00011 // Author:      Zhen Xie
00012 //
00013 
00014 #include "CondCore/DBCommon/interface/DbSession.h"
00015 #include <string>
00016 namespace cond{
00017   class DbSession;
00018   class TechnologyProxy{
00019   public:
00020     explicit TechnologyProxy( ){}
00021     virtual ~TechnologyProxy(){}
00022     virtual void initialize(const std::string&userconnect, const DbConnection& connection)=0;
00023     virtual std::string getRealConnectString() const=0;
00024     virtual bool isTransactional() const=0;
00025   private:
00026     TechnologyProxy( const TechnologyProxy& );
00027     const TechnologyProxy& operator=(const TechnologyProxy&); 
00028   };
00029 }//ns cond
00030 #endif