#include <FEConfigBadXTDat.h>
Definition at line 10 of file FEConfigBadXTDat.h.
FEConfigBadXTDat::FEConfigBadXTDat |
( |
| ) |
|
Definition at line 10 of file FEConfigBadXTDat.cc.
References NULL.
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
FEConfigBadXTDat::~FEConfigBadXTDat |
( |
| ) |
|
Definition at line 70 of file FEConfigBadXTDat.cc.
References alignCSCRings::e, o2o::iov, AlCaHLTBitMon_ParallelJobs::p, setFedId(), setStatus(), setTCCId(), setTTId(), and setXTId().
83 m_readStmt->setSQL(
"SELECT * FROM " +
getTable() +
" WHERE rec_id = :rec_id order by tcc_id, fed_id, tt_id , cry_id ");
101 throw(std::runtime_error(
"FEConfigBadXTDat::fetchData(): "+e.getMessage()));
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
oracle::occi::SQLException SQLException
oracle::occi::ResultSet ResultSet
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
void checkConnection() const
int FEConfigBadXTDat::getFedId |
( |
| ) |
const |
|
inline |
int FEConfigBadXTDat::getId |
( |
| ) |
const |
|
inline |
int FEConfigBadXTDat::getStatus |
( |
void |
| ) |
const |
|
inline |
std::string FEConfigBadXTDat::getTable |
( |
| ) |
|
|
inlinevirtual |
int FEConfigBadXTDat::getTCCId |
( |
| ) |
const |
|
inline |
int FEConfigBadXTDat::getTTId |
( |
| ) |
const |
|
inline |
int FEConfigBadXTDat::getXTId |
( |
| ) |
const |
|
inline |
void FEConfigBadXTDat::prepareWrite |
( |
| ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
privatevirtual |
Implements IODConfig.
Definition at line 33 of file FEConfigBadXTDat.cc.
References alignCSCRings::e.
40 m_writeStmt->setSQL(
"INSERT INTO "+
getTable()+
" (rec_id, tcc_id,fed_id, tt_id, CRY_id, status ) "
41 "VALUES (:1, :2, :3, :4, :5 ,:6 )");
43 throw(std::runtime_error(
"FEConfigBadXTDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Connection * m_conn
oracle::occi::SQLException SQLException
void checkConnection() const
void FEConfigBadXTDat::setFedId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadXTDat::setId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadXTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadXTDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadXTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadXTDat::setXTId |
( |
int |
dac | ) |
|
|
inline |
Definition at line 107 of file FEConfigBadXTDat.cc.
References prof2calltree::count, data, alignCSCRings::e, getFedId(), getStatus(), getTCCId(), getTTId(), getXTId(), and o2o::iov.
113 if (!iovID) {
throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadXTInfo not in DB")); }
116 int nrows=
data.size();
117 int* ids=
new int[nrows];
118 int* xx=
new int[nrows];
119 int* yy=
new int[nrows];
120 int* zz=
new int[nrows];
121 int* z1=
new int[nrows];
122 int* st=
new int[nrows];
126 ub2* ids_len=
new ub2[nrows];
127 ub2* x_len=
new ub2[nrows];
128 ub2* y_len=
new ub2[nrows];
129 ub2* z_len=
new ub2[nrows];
130 ub2* z1_len=
new ub2[nrows];
131 ub2* st_len=
new ub2[nrows];
158 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]),ids_len);
159 m_writeStmt->setDataBuffer(2, (dvoid*)xx, OCCIINT ,
sizeof(xx[0]), x_len );
160 m_writeStmt->setDataBuffer(3, (dvoid*)yy, OCCIINT ,
sizeof(yy[0]), y_len );
161 m_writeStmt->setDataBuffer(4, (dvoid*)zz, OCCIINT ,
sizeof(zz[0]), z_len );
162 m_writeStmt->setDataBuffer(5, (dvoid*)z1, OCCIINT ,
sizeof(z1[0]), z1_len );
163 m_writeStmt->setDataBuffer(6, (dvoid*)st, OCCIINT ,
sizeof(st[0]), st_len );
182 throw(std::runtime_error(
"FEConfigBadXTDat::writeArrayDB(): "+e.getMessage()));
oracle::occi::SQLException SQLException
char data[epos_bytes_allocation]
void checkConnection() const
Definition at line 49 of file FEConfigBadXTDat.cc.
References alignCSCRings::e.
64 throw(std::runtime_error(
"FEConfigBadXTDat::writeDB(): "+e.getMessage()));
oracle::occi::SQLException SQLException
void checkConnection() const
int FEConfigBadXTDat::m_fed |
|
private |
int FEConfigBadXTDat::m_ID |
|
private |
int FEConfigBadXTDat::m_t1 |
|
private |
int FEConfigBadXTDat::m_tcc |
|
private |
int FEConfigBadXTDat::m_tt |
|
private |
int FEConfigBadXTDat::m_xt |
|
private |