#include <FEConfigBadTTDat.h>
Definition at line 10 of file FEConfigBadTTDat.h.
FEConfigBadTTDat::FEConfigBadTTDat |
( |
| ) |
|
Definition at line 10 of file FEConfigBadTTDat.cc.
References NULL.
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
FEConfigBadTTDat::~FEConfigBadTTDat |
( |
| ) |
|
int FEConfigBadTTDat::getFedId |
( |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getId |
( |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getStatus |
( |
void |
| ) |
const |
|
inline |
std::string FEConfigBadTTDat::getTable |
( |
| ) |
|
|
inlinevirtual |
int FEConfigBadTTDat::getTCCId |
( |
| ) |
const |
|
inline |
int FEConfigBadTTDat::getTTId |
( |
| ) |
const |
|
inline |
void FEConfigBadTTDat::prepareWrite |
( |
| ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
privatevirtual |
Implements IODConfig.
Definition at line 32 of file FEConfigBadTTDat.cc.
References alignCSCRings::e.
40 "VALUES (:1, :2, :3, :4, :5 )");
42 throw(std::runtime_error(
"FEConfigBadTTDat::prepareWrite(): "+e.getMessage()));
oracle::occi::Connection * m_conn
oracle::occi::SQLException SQLException
void checkConnection() const
void FEConfigBadTTDat::setFedId |
( |
int |
x | ) |
|
|
inline |
void FEConfigBadTTDat::setId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setStatus |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setTCCId |
( |
int |
dac | ) |
|
|
inline |
void FEConfigBadTTDat::setTTId |
( |
int |
dac | ) |
|
|
inline |
Definition at line 104 of file FEConfigBadTTDat.cc.
References KineDebug3::count(), data, alignCSCRings::e, getFedId(), getStatus(), getTCCId(), getTTId(), and o2o::iov.
110 if (!iovID) {
throw(std::runtime_error(
"FEConfigDelays::writeArrayDB: FEConfigBadTTInfo not in DB")); }
113 int nrows=
data.size();
114 int* ids=
new int[nrows];
115 int* xx=
new int[nrows];
116 int* yy=
new int[nrows];
117 int* zz=
new int[nrows];
118 int* st=
new int[nrows];
122 ub2* ids_len=
new ub2[nrows];
123 ub2* x_len=
new ub2[nrows];
124 ub2* y_len=
new ub2[nrows];
125 ub2* z_len=
new ub2[nrows];
126 ub2* st_len=
new ub2[nrows];
151 m_writeStmt->setDataBuffer(1, (dvoid*)ids, OCCIINT,
sizeof(ids[0]),ids_len);
152 m_writeStmt->setDataBuffer(2, (dvoid*)xx, OCCIINT ,
sizeof(xx[0]), x_len );
153 m_writeStmt->setDataBuffer(3, (dvoid*)yy, OCCIINT ,
sizeof(yy[0]), y_len );
154 m_writeStmt->setDataBuffer(4, (dvoid*)zz, OCCIINT ,
sizeof(zz[0]), z_len );
155 m_writeStmt->setDataBuffer(5, (dvoid*)st, OCCIINT ,
sizeof(st[0]), st_len );
172 throw(std::runtime_error(
"FEConfigBadTTDat::writeArrayDB(): "+e.getMessage()));
oracle::occi::SQLException SQLException
char data[epos_bytes_allocation]
void checkConnection() const
Definition at line 48 of file FEConfigBadTTDat.cc.
References alignCSCRings::e.
62 throw(std::runtime_error(
"FEConfigBadTTDat::writeDB(): "+e.getMessage()));
oracle::occi::SQLException SQLException
void checkConnection() const
int FEConfigBadTTDat::m_fed |
|
private |
int FEConfigBadTTDat::m_ID |
|
private |
int FEConfigBadTTDat::m_t1 |
|
private |
int FEConfigBadTTDat::m_tcc |
|
private |
int FEConfigBadTTDat::m_tt |
|
private |