#include <ODBadTTInfo.h>
Public Member Functions | |
int | fetchID () noexcept(false) |
int | fetchNextId () noexcept(false) |
int | getId () const |
std::string | getTable () |
int | getVersion () const |
ODBadTTInfo () | |
void | setId (int id) |
void | setParameters (const std::map< std::string, std::string > &my_keys_map) |
void | setVersion (int id) |
~ODBadTTInfo () | |
Public Member Functions inherited from IODConfig | |
std::string | getConfigTag () |
void | setConfigTag (std::string x) |
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 | |
void | clear () |
void | fetchData (ODBadTTInfo *result) noexcept(false) |
void | prepareWrite () noexcept(false) |
void | writeDB () noexcept(false) |
Private Attributes | |
int | m_ID |
int | m_version |
Friends | |
class | EcalCondDBInterface |
Additional Inherited Members | |
Public Types inherited from IODConfig | |
typedef oracle::occi::Clob | Clob |
typedef oracle::occi::SQLException | SQLException |
typedef oracle::occi::Statement | Statement |
typedef oracle::occi::Stream | Stream |
Public Attributes inherited from IODConfig | |
std::string | m_config_tag |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Protected Member Functions inherited from IODConfig | |
void | checkPrepare () noexcept(false) |
void | createReadStatement () noexcept(false) |
void | populateClob (Clob &clob, std::string fname, unsigned int bufsize) noexcept(false) |
unsigned char * | readClob (Clob &clob, int size) noexcept(false) |
void | setPrefetchRowCount (int ncount) noexcept(false) |
void | terminateReadStatement () noexcept(false) |
void | terminateWriteStatement () noexcept(false) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const noexcept(false) |
Protected Attributes inherited from IODConfig | |
Statement * | m_readStmt |
Statement * | m_writeStmt |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Definition at line 9 of file ODBadTTInfo.h.
ODBadTTInfo::ODBadTTInfo | ( | ) |
ODBadTTInfo::~ODBadTTInfo | ( | ) |
Definition at line 30 of file ODBadTTInfo.cc.
|
private |
|
privatenoexcept |
Definition at line 130 of file ODBadTTInfo.cc.
References MillePedeFileConverter_cfg::e, and mps_fire::result.
Referenced by getVersion().
|
noexcept |
Definition at line 172 of file ODBadTTInfo.cc.
References MillePedeFileConverter_cfg::e.
Referenced by getVersion().
|
noexcept |
Definition at line 36 of file ODBadTTInfo.cc.
References MillePedeFileConverter_cfg::e, and mps_fire::result.
Referenced by getVersion().
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 24 of file ODBadTTInfo.h.
References clear(), fetchData(), fetchID(), fetchNextId(), m_version, noexcept, prepareWrite(), mps_fire::result, setParameters(), and writeDB().
|
privatevirtualnoexcept |
Implements IODConfig.
Definition at line 58 of file ODBadTTInfo.cc.
References MillePedeFileConverter_cfg::e, and getId().
Referenced by getVersion().
|
inline |
Definition at line 18 of file ODBadTTInfo.h.
References triggerObjects_cff::id, and m_ID.
Referenced by popcon::EcalChannelStatusHandler::daqOut(), and popcon::EcalDAQHandler::getNewObjects().
void ODBadTTInfo::setParameters | ( | const std::map< std::string, std::string > & | my_keys_map | ) |
|
inline |
|
privatenoexcept |
Definition at line 97 of file ODBadTTInfo.cc.
References gather_cfg::cout, and MillePedeFileConverter_cfg::e.
Referenced by getVersion().
|
friend |
Definition at line 11 of file ODBadTTInfo.h.
|
private |
Definition at line 42 of file ODBadTTInfo.h.
|
private |
Definition at line 43 of file ODBadTTInfo.h.
Referenced by getVersion(), and setVersion().