#include <ODBadXTInfo.h>
Public Member Functions | |
int | fetchID () throw (std::runtime_error) |
int | fetchNextId () throw (std::runtime_error) |
int | getId () const |
std::string | getTable () |
int | getVersion () const |
ODBadXTInfo () | |
void | setId (int id) |
void | setParameters (const std::map< std::string, std::string > &my_keys_map) |
void | setVersion (int id) |
~ODBadXTInfo () | |
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 (ODBadXTInfo *result) throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
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 () 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 9 of file ODBadXTInfo.h.
ODBadXTInfo::ODBadXTInfo | ( | ) |
ODBadXTInfo::~ODBadXTInfo | ( | ) |
Definition at line 30 of file ODBadXTInfo.cc.
|
private |
Definition at line 24 of file ODBadXTInfo.cc.
|
private |
int ODBadXTInfo::fetchID | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
int ODBadXTInfo::fetchNextId | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
|
inline |
|
inlinevirtual |
Implements IODConfig.
Definition at line 16 of file ODBadXTInfo.h.
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 58 of file ODBadXTInfo.cc.
References alignCSCRings::e, and getId().
|
inline |
void ODBadXTInfo::setParameters | ( | const std::map< std::string, std::string > & | my_keys_map | ) |
Definition at line 82 of file ODBadXTInfo.cc.
|
inline |
|
private |
Definition at line 97 of file ODBadXTInfo.cc.
References gather_cfg::cout, and alignCSCRings::e.
|
friend |
Definition at line 11 of file ODBadXTInfo.h.
|
private |
Definition at line 42 of file ODBadXTInfo.h.
|
private |
Definition at line 43 of file ODBadXTInfo.h.
Referenced by getVersion(), and setVersion().