#include <LMFPrimVers.h>
Public Member Functions | |
std::string | getDescription () const |
int | getVersion () const |
LMFPrimVers () | |
LMFPrimVers (EcalDBConnection *c) | |
LMFPrimVers (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
bool | operator!= (const LMFPrimVers &t) const |
bool | operator== (const LMFPrimVers &t) const |
void | setDescription (const std::string &s) |
void | setVersion (int v) |
~LMFPrimVers () override | |
Public Member Functions inherited from LMFUnique | |
void | attach (std::string name, LMFUnique *u) |
void | debug () |
virtual void | dump () const |
virtual void | dump (int n) const |
virtual bool | exists () |
virtual boost::ptr_list< LMFUnique > | fetchAll () const noexcept(false) |
int | fetchID () noexcept(false) override |
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 () |
virtual bool | isValid () const |
LMFUnique () | |
LMFUnique (EcalDBConnection *c) | |
LMFUnique (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
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) override |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
~LMFUnique () override | |
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 override |
std::string | fetchAllSql (Statement *stmt) const override |
std::string | fetchIdSql (Statement *stmt) override |
void | getParameters (ResultSet *rset) override |
std::string | setByIDSql (Statement *stmt, int id) override |
Friends | |
class | LMFRunIOV |
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 const int | 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 |
LMF version
Versions cannot be written into the database using these classes, but only via the administration shell. To insert a new version: INSERT INTO <TABLE_NAME> VALUES (<VERS>, DEFAULT, <DESCR>);
Definition at line 22 of file LMFPrimVers.h.
LMFPrimVers::LMFPrimVers | ( | ) |
Definition at line 6 of file LMFPrimVers.cc.
Referenced by createObject().
LMFPrimVers::LMFPrimVers | ( | EcalDBConnection * | c | ) |
Definition at line 11 of file LMFPrimVers.cc.
References LMFUnique::setClassName(), and LMFUnique::setString().
LMFPrimVers::LMFPrimVers | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 16 of file LMFPrimVers.cc.
References LMFUnique::setClassName(), and LMFUnique::setString().
|
override |
Definition at line 21 of file LMFPrimVers.cc.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Reimplemented in LMFSeqVers.
Definition at line 36 of file LMFPrimVers.cc.
References LMFPrimVers(), IDBObject::m_conn, IDBObject::m_env, and OrderedSet::t.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Reimplemented in LMFSeqVers.
Definition at line 42 of file LMFPrimVers.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Reimplemented in LMFSeqVers.
Definition at line 23 of file LMFPrimVers.cc.
|
inline |
Definition at line 33 of file LMFPrimVers.h.
References LMFUnique::getString().
Referenced by LMFSeqVers::operator!=(), and LMFSeqVers::operator==().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Reimplemented in LMFSeqVers.
Definition at line 34 of file LMFPrimVers.cc.
References LMFUnique::setString().
|
inline |
|
inline |
Definition at line 39 of file LMFPrimVers.h.
References LMFUnique::getID(), and OrderedSet::t.
|
inline |
Definition at line 38 of file LMFPrimVers.h.
References LMFUnique::getID(), and OrderedSet::t.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Reimplemented in LMFSeqVers.
Definition at line 25 of file LMFPrimVers.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 35 of file LMFPrimVers.h.
References alignCSCRings::s, and LMFUnique::setString().
|
inline |
Definition at line 34 of file LMFPrimVers.h.
References IUniqueDBObject::m_ID, and findQualityFiles::v.
|
friend |
Definition at line 24 of file LMFPrimVers.h.