![]() |
![]() |
#include <LMFColor.h>
Public Member Functions | |
int | getColor () const |
int | getColorIndex () const |
std::string | getLongName () const |
std::string | getShortName () const |
bool | isValid () override |
LMFColor () | |
LMFColor (oracle::occi::Environment *env, oracle::occi::Connection *conn) | |
LMFColor (EcalDBConnection *c) | |
LMFColor (EcalDBConnection *c, std::string col) | |
bool | operator!= (const LMFColor &m) const |
bool | operator== (const LMFColor &m) const |
LMFColor & | setColor (int index) |
LMFColor & | setColor (const std::string &s="blue") |
LMFColor & | setName (const std::string &s="blue") |
~LMFColor () override | |
![]() | |
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 () const |
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) override |
LMFUnique & | setInt (std::string key, int value) |
LMFUnique & | setString (std::string key, std::string value) |
void | startProfiling () |
void | stopProfiling () |
~LMFUnique () override | |
![]() | |
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 | EcalCondDBInterface |
Additional Inherited Members | |
![]() | |
typedef oracle::occi::ResultSet | ResultSet |
typedef oracle::occi::Statement | Statement |
![]() | |
static int const | ECALDB_NROWS =1024 |
![]() | |
virtual void | setClassName (std::string s) |
virtual int | writeDB () noexcept(false) |
virtual int | writeForeignKeys () noexcept(false) |
![]() | |
void | checkConnection () const noexcept(false) |
![]() | |
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 |
![]() | |
int | m_ID |
![]() | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 12 of file LMFColor.h.
LMFColor::LMFColor | ( | ) |
Definition at line 9 of file LMFColor.cc.
Referenced by createObject().
LMFColor::LMFColor | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) |
Definition at line 18 of file LMFColor.cc.
References LMFUnique::m_className, IUniqueDBObject::m_ID, LMFUnique::m_intFields, and LMFUnique::m_stringFields.
LMFColor::LMFColor | ( | EcalDBConnection * | c | ) |
Definition at line 28 of file LMFColor.cc.
References LMFUnique::m_className, IUniqueDBObject::m_ID, LMFUnique::m_intFields, and LMFUnique::m_stringFields.
LMFColor::LMFColor | ( | EcalDBConnection * | c, |
std::string | col | ||
) |
Definition at line 37 of file LMFColor.cc.
References LMFUnique::m_className, IUniqueDBObject::m_ID, LMFUnique::m_intFields, LMFUnique::m_stringFields, and setName().
|
override |
Definition at line 47 of file LMFColor.cc.
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 58 of file LMFColor.cc.
References LMFColor(), IDBObject::m_conn, IDBObject::m_env, gen::n, and IDBObject::setConnection().
Referenced by operator!=().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 51 of file LMFColor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator!=().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 64 of file LMFColor.cc.
References relativeConstraints::empty, getColorIndex(), LMFUnique::getInt(), getShortName(), LMFUnique::getString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator!=().
|
inline |
|
inline |
Definition at line 46 of file LMFColor.h.
References LMFUnique::getInt().
Referenced by fetchIdSql(), and getColor().
|
inline |
Definition at line 45 of file LMFColor.h.
References LMFUnique::getString().
Referenced by LMFRunIOV::getColorLongName(), and operator==().
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 95 of file LMFColor.cc.
References LMFUnique::setInt(), and LMFUnique::setString().
Referenced by operator!=().
|
inline |
Definition at line 44 of file LMFColor.h.
References LMFUnique::getString().
Referenced by fetchIdSql(), LMFRunIOV::getColorShortName(), isValid(), and operator==().
|
overridevirtual |
Reimplemented from LMFUnique.
Definition at line 101 of file LMFColor.cc.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, LMFUnique::fetchAll(), getShortName(), and mps_fire::i.
Referenced by ntupleDataFormat._Object::_checkIsValid(), getColor(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 58 of file LMFColor.h.
References createObject(), fetchAllSql(), fetchIdSql(), getParameters(), funct::m, setByIDSql(), EcalDBConnection::stmt, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
overrideprivatevirtual |
Reimplemented from LMFUnique.
Definition at line 87 of file LMFColor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by operator!=().
|
inline |
Definition at line 31 of file LMFColor.h.
References LMFUnique::fetchID(), IUniqueDBObject::m_ID, LMFUnique::setInt(), and LMFUnique::setString().
|
inline |
|
inline |
Definition at line 23 of file LMFColor.h.
References LMFUnique::fetchID(), IUniqueDBObject::m_ID, alignCSCRings::s, LMFUnique::setInt(), and LMFUnique::setString().
Referenced by LMFColor(), and setColor().
|
friend |
Definition at line 14 of file LMFColor.h.