CMS 3D CMS Logo

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 <string>
00015 namespace cond{
00016   class DBSession;
00017   class TechnologyProxy{
00018   public:
00019     explicit TechnologyProxy( const std::string& userconnect ):m_userconnect(userconnect){}
00020     virtual ~TechnologyProxy(){}
00021     virtual std::string getRealConnectString() const=0;
00022     virtual void setupSession( DBSession& session )=0;
00023   protected:
00024     std::string m_userconnect;
00025   private:
00026     TechnologyProxy( const TechnologyProxy& );
00027     const TechnologyProxy& operator=(const TechnologyProxy&); 
00028   };
00029 }//ns cond
00030 #endif

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