#include <CondPyInterface.h>
Public Member Functions | |
CondDB | getDB (std::string const &db) |
CondDB | getReadOnlyDB (std::string const &db) |
GlobalTag const & | globalTag (std::string const &connstr, std::string const &gname, std::string const &prefix, std::string const &postfix) const |
RDBMS () | |
RDBMS (std::string const &authPath, bool debug=false) | |
RDBMS (std::string const &user, std::string const &pass) | |
void | setLogger (std::string const &connstr) |
~RDBMS () | |
Private Attributes | |
boost::shared_ptr< DbConnection > | connection |
boost::shared_ptr< cond::Logger > | logger |
GlobalTag | m_globalTag |
Definition at line 74 of file CondPyInterface.h.
cond::RDBMS::RDBMS | ( | ) |
Definition at line 207 of file CondPyInterface.cc.
References cond::CmsDefaults, and connection.
cond::RDBMS::~RDBMS | ( | ) |
Definition at line 211 of file CondPyInterface.cc.
|
explicit |
cond::RDBMS::RDBMS | ( | std::string const & | user, |
std::string const & | pass | ||
) |
Definition at line 226 of file CondPyInterface.cc.
References connection, and AlCaHLTBitMon_QueryRunRegistry::string.
CondDB cond::RDBMS::getDB | ( | std::string const & | db | ) |
Definition at line 246 of file CondPyInterface.cc.
References cond::Auth::COND_WRITER_ROLE, connection, logger, and cond::DbSession::open().
Referenced by BOOST_PYTHON_MODULE(), and CondBasicIter::create().
CondDB cond::RDBMS::getReadOnlyDB | ( | std::string const & | db | ) |
Definition at line 252 of file CondPyInterface.cc.
References cond::Auth::COND_READER_ROLE, connection, logger, and cond::DbSession::open().
Referenced by BOOST_PYTHON_MODULE().
GlobalTag const & cond::RDBMS::globalTag | ( | std::string const & | connstr, |
std::string const & | gname, | ||
std::string const & | prefix, | ||
std::string const & | postfix | ||
) | const |
Definition at line 258 of file CondPyInterface.cc.
References hitfit::clear(), cond::DbTransaction::commit(), connection, cond::TagCollectionRetriever::getTagCollection(), m_globalTag, cond::DbSession::open(), python.CommonUtils::session, cond::DbTransaction::start(), and cond::DbSession::transaction().
Referenced by BOOST_PYTHON_MODULE().
void cond::RDBMS::setLogger | ( | std::string const & | connstr | ) |
Definition at line 238 of file CondPyInterface.cc.
References connection, and logger.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 92 of file CondPyInterface.h.
Referenced by getDB(), getReadOnlyDB(), globalTag(), RDBMS(), and setLogger().
|
private |
Definition at line 93 of file CondPyInterface.h.
Referenced by getDB(), getReadOnlyDB(), and setLogger().
|
private |
Definition at line 94 of file CondPyInterface.h.
Referenced by globalTag().