#include <ODDCCConfig.h>
Public Member Functions | |
unsigned char * | getDCCClob () const |
unsigned int | getDCCClobSize () const |
std::string | getDCCConfigurationUrl () const |
std::string | getDCCWeightsMode () const |
int | getId () const |
int | getNTestPatternsToLoad () const |
unsigned int | getSize () const |
int | getSMHalf () const |
std::string | getTable () |
std::string | getTestPatternFileUrl () const |
ODDCCConfig () | |
void | setDCCClob (unsigned char *x) |
void | setDCCConfigurationUrl (std::string x) |
void | setDCCWeightsMode (std::string x) |
void | setId (int id) |
void | setNTestPatternsToLoad (int id) |
void | setParameters (const std::map< std::string, std::string > &my_keys_map) |
void | setSize (unsigned int id) |
void | setSMHalf (int id) |
void | setTestPatternFileUrl (std::string x) |
~ODDCCConfig () | |
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 (ODDCCConfig *result) throw (std::runtime_error) |
int | fetchID () throw (std::runtime_error) |
int | fetchNextId () throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
Private Attributes | |
unsigned char * | m_dcc_clob |
std::string | m_dcc_url |
int | m_ID |
int | m_ntest |
unsigned int | m_size |
int | m_sm_half |
std::string | m_test_url |
std::string | m_wei |
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 () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
void | populateClob (Clob &clob, std::string fname, unsigned int bufsize) throw (std::runtime_error) |
unsigned char * | readClob (Clob &clob, int size) throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
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 15 of file ODDCCConfig.h.
ODDCCConfig::ODDCCConfig | ( | ) |
ODDCCConfig::~ODDCCConfig | ( | ) |
Definition at line 31 of file ODDCCConfig.cc.
|
private |
Definition at line 194 of file ODDCCConfig.cc.
|
private |
Definition at line 207 of file ODDCCConfig.cc.
References alignCSCRings::e, and query::result.
|
private |
|
private |
|
inline |
Definition at line 42 of file ODDCCConfig.h.
References m_dcc_clob.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
Definition at line 43 of file ODDCCConfig.h.
References m_size.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
|
inline |
Definition at line 45 of file ODDCCConfig.h.
References m_wei.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements IODConfig.
Definition at line 22 of file ODDCCConfig.h.
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 59 of file ODDCCConfig.cc.
References gather_cfg::cout, and alignCSCRings::e.
|
inline |
|
inline |
Definition at line 29 of file ODDCCConfig.h.
|
inline |
Definition at line 44 of file ODDCCConfig.h.
|
inline |
Definition at line 24 of file ODDCCConfig.h.
References m_ID.
Referenced by popcon::EcalSRPHandler::getNewObjects().
|
inline |
void ODDCCConfig::setParameters | ( | const std::map< std::string, std::string > & | my_keys_map | ) |
Definition at line 110 of file ODDCCConfig.cc.
References gather_cfg::cout, end, alignmentValidation::fname, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 153 of file ODDCCConfig.cc.
References gather_cfg::cout, and alignCSCRings::e.
|
friend |
Definition at line 17 of file ODDCCConfig.h.
|
private |
Definition at line 61 of file ODDCCConfig.h.
Referenced by getDCCClob(), and setDCCClob().
|
private |
Definition at line 62 of file ODDCCConfig.h.
Referenced by getDCCConfigurationUrl(), and setDCCConfigurationUrl().
|
private |
Definition at line 60 of file ODDCCConfig.h.
|
private |
Definition at line 64 of file ODDCCConfig.h.
Referenced by getNTestPatternsToLoad(), and setNTestPatternsToLoad().
|
private |
Definition at line 66 of file ODDCCConfig.h.
Referenced by getDCCClobSize(), getSize(), and setSize().
|
private |
Definition at line 65 of file ODDCCConfig.h.
Referenced by getSMHalf(), and setSMHalf().
|
private |
Definition at line 63 of file ODDCCConfig.h.
Referenced by getTestPatternFileUrl(), and setTestPatternFileUrl().
|
private |
Definition at line 67 of file ODDCCConfig.h.
Referenced by getDCCWeightsMode(), and setDCCWeightsMode().