#include <LMFIOV.h>
Public Member Functions | |
void | dump () const |
Tm | getStart () const |
Tm | getStop () const |
int | getVmax () const |
int | getVmin () const |
LMFIOV () | |
LMFIOV (EcalDBConnection *c) | |
LMFIOV (const oracle::occi::Environment *env, const oracle::occi::Connection *conn) | |
LMFIOV & | setIOV (const Tm &start, const Tm &stop) |
LMFIOV & | setStart (const Tm &start) |
LMFIOV & | setStop (const Tm &stop) |
LMFIOV & | setVersions (int vmin, int vmax) |
LMFIOV & | setVmax (int vmax) |
LMFIOV & | setVmin (int vmin) |
~LMFIOV () | |
Public Member Functions inherited from LMFUnique | |
void | attach (std::string name, LMFUnique *u) |
void | debug () |
virtual void | dump (int n) const |
virtual bool | exists () |
virtual boost::ptr_list < LMFUnique > | fetchAll () const noexcept(false) |
int | fetchID () noexcept(false) |
std::string | getClassName () |
std::string | getClassName () const |
int | getID () const |
int | getInt (std::string fieldname) const |
std::string | getString (std::string fieldname) const |
virtual bool | isValid () const |
virtual bool | isValid () |
LMFUnique () | |
LMFUnique (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFUnique (EcalDBConnection *c) | |
void | nodebug () |
virtual bool | operator< (const LMFUnique &r) |
virtual bool | operator<= (const LMFUnique &r) |
std::string | sequencePostfix (const Tm &t) |
void | setByID (int id) noexcept(false) |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
virtual | ~LMFUnique () |
Public Member Functions inherited from IDBObject | |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
virtual | ~IDBObject () |
Private Member Functions | |
LMFUnique * | createObject () const |
std::string | fetchIdSql (Statement *stmt) |
void | fetchParentIDs () |
void | getParameters (ResultSet *rset) |
std::string | setByIDSql (Statement *stmt, int id) |
std::string | writeDBSql (Statement *stmt) |
Private Attributes | |
Tm | m_iov_start |
Tm | m_iov_stop |
int | m_vmax |
int | m_vmin |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Public Types inherited from LMFUnique | |
typedef oracle::occi::ResultSet | ResultSet |
typedef oracle::occi::Statement | Statement |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from LMFUnique | |
virtual void | setClassName (std::string s) |
virtual int | writeDB () noexcept(false) |
virtual int | writeForeignKeys () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
Protected Attributes inherited from LMFUnique | |
bool | _profiling |
std::string | m_className |
char | m_debug |
std::map< std::string, LMFUnique * > | m_foreignKeys |
std::map< std::string, int > | m_intFields |
std::map< std::string, std::string > | m_stringFields |
Protected Attributes inherited from IUniqueDBObject | |
int | m_ID |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
LMFIOV::LMFIOV | ( | EcalDBConnection * | c | ) |
Definition at line 20 of file LMFIOV.cc.
References EcalDBConnection::getConn(), and EcalDBConnection::getEnv().
LMFIOV::LMFIOV | ( | const oracle::occi::Environment * | env, |
const oracle::occi::Connection * | conn | ||
) |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 116 of file LMFIOV.cc.
References IDBObject::setConnection(), and t.
|
virtual |
Reimplemented from LMFUnique.
Definition at line 122 of file LMFIOV.cc.
References gather_cfg::cout.
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 83 of file LMFIOV.cc.
References symbols::dm, AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
inlineprivatevirtual |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 106 of file LMFIOV.cc.
References ztail::d, DateHandler::dateToTm(), and cuy::dh.
Tm LMFIOV::getStart | ( | ) | const |
Tm LMFIOV::getStop | ( | ) | const |
int LMFIOV::getVmax | ( | ) | const |
int LMFIOV::getVmin | ( | ) | const |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 96 of file LMFIOV.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
LMFIOV & LMFIOV::setVmax | ( | int | vmax | ) |
LMFIOV & LMFIOV::setVmin | ( | int | vmin | ) |
|
privatevirtual |
Reimplemented from LMFUnique.
Definition at line 131 of file LMFIOV.cc.
References symbols::dm, visualization-live-secondInstance_cfg::dump, AlCaHLTBitMon_QueryRunRegistry::string, and DateHandler::tmToDate().
|
friend |