CMS 3D CMS Logo

Public Member Functions | Public Attributes

cond::SQLiteProxy Class Reference

Inheritance diagram for cond::SQLiteProxy:
cond::TechnologyProxy

List of all members.

Public Member Functions

std::string getRealConnectString () const
void initialize (const std::string &userconnect, const DbConnection &)
bool isTransactional () const
 SQLiteProxy ()
 ~SQLiteProxy ()

Public Attributes

std::string m_userconnect

Detailed Description

Definition at line 5 of file SQLiteProxy.cc.


Constructor & Destructor Documentation

cond::SQLiteProxy::SQLiteProxy ( ) [inline]

Definition at line 7 of file SQLiteProxy.cc.

{}
cond::SQLiteProxy::~SQLiteProxy ( ) [inline]

Definition at line 8 of file SQLiteProxy.cc.

{}

Member Function Documentation

std::string cond::SQLiteProxy::getRealConnectString ( ) const [inline, virtual]

Implements cond::TechnologyProxy.

Definition at line 13 of file SQLiteProxy.cc.

References cond::FipProtocolParser::getRealConnect(), m_userconnect, and AlCaHLTBitMon_ParallelJobs::p.

                                 {
      if( m_userconnect.find("sqlite_fip:") != std::string::npos ){
        cond::FipProtocolParser p;
        return p.getRealConnect(m_userconnect);
      }
      return m_userconnect;
    }
void cond::SQLiteProxy::initialize ( const std::string &  userconnect,
const DbConnection  
) [inline, virtual]

Implements cond::TechnologyProxy.

Definition at line 9 of file SQLiteProxy.cc.

References m_userconnect.

                                                                      {
        m_userconnect = userconnect;
    }
bool cond::SQLiteProxy::isTransactional ( ) const [inline, virtual]

Implements cond::TechnologyProxy.

Definition at line 20 of file SQLiteProxy.cc.

{ return true;}

Member Data Documentation

Definition at line 22 of file SQLiteProxy.cc.

Referenced by getRealConnectString(), and initialize().