#include <FEConfigSlidingInfo.h>
Public Member Functions | |
FEConfigSlidingInfo () | |
int | fetchID () throw (std::runtime_error) |
int | fetchNextId () throw (std::runtime_error) |
Tm | getDBTime () const |
int | getId () const |
int | getID () |
int | getIOVId () const |
std::string | getTable () |
int | getVersion () const |
bool | operator!= (const FEConfigSlidingInfo &r) const |
bool | operator== (const FEConfigSlidingInfo &r) const |
void | setByID (int id) throw (std::runtime_error) |
void | setDBTime (const Tm &x) |
void | setId (int id) |
void | setID (int id) |
void | setIOVId (int iov_id) |
void | setParameters (const std::map< std::string, std::string > &my_keys_map) |
void | setVersion (int id) |
~FEConfigSlidingInfo () | |
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 (FEConfigSlidingInfo *result) throw (std::runtime_error) |
void | fetchLastData (FEConfigSlidingInfo *result) throw (std::runtime_error) |
void | prepareWrite () throw (std::runtime_error) |
void | writeDB () throw (std::runtime_error) |
Private Attributes | |
Tm | m_db_time |
int | m_ID |
int | m_iov_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 11 of file FEConfigSlidingInfo.h.
FEConfigSlidingInfo::FEConfigSlidingInfo | ( | ) |
Definition at line 13 of file FEConfigSlidingInfo.cc.
FEConfigSlidingInfo::~FEConfigSlidingInfo | ( | ) |
Definition at line 32 of file FEConfigSlidingInfo.cc.
|
private |
Definition at line 26 of file FEConfigSlidingInfo.cc.
|
private |
Definition at line 128 of file FEConfigSlidingInfo.cc.
int FEConfigSlidingInfo::fetchID | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 189 of file FEConfigSlidingInfo.cc.
|
private |
Definition at line 163 of file FEConfigSlidingInfo.cc.
int FEConfigSlidingInfo::fetchNextId | ( | ) | ||
throw | ( | std::runtime_error | ||
) |
Definition at line 38 of file FEConfigSlidingInfo.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements IODConfig.
Definition at line 19 of file FEConfigSlidingInfo.h.
|
inline |
|
inline |
|
inline |
|
privatevirtual |
Implements IODConfig.
Definition at line 60 of file FEConfigSlidingInfo.cc.
void FEConfigSlidingInfo::setByID | ( | int | id | ) | |
throw | ( | std::runtime_error | |||
) |
Definition at line 223 of file FEConfigSlidingInfo.cc.
|
inline |
Definition at line 36 of file FEConfigSlidingInfo.h.
|
inline |
|
inline |
|
inline |
void FEConfigSlidingInfo::setParameters | ( | const std::map< std::string, std::string > & | my_keys_map | ) |
Definition at line 84 of file FEConfigSlidingInfo.cc.
|
inline |
|
private |
Definition at line 100 of file FEConfigSlidingInfo.cc.
|
friend |
Definition at line 13 of file FEConfigSlidingInfo.h.
|
private |
Definition at line 53 of file FEConfigSlidingInfo.h.
Referenced by getDBTime(), and setDBTime().
|
private |
Definition at line 52 of file FEConfigSlidingInfo.h.
Referenced by getId(), operator==(), and setId().
|
private |
Definition at line 51 of file FEConfigSlidingInfo.h.
Referenced by getIOVId(), and setIOVId().
|
private |
Definition at line 54 of file FEConfigSlidingInfo.h.
Referenced by getVersion(), and setVersion().