CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
FEConfigMainInfo Class Reference

#include <FEConfigMainInfo.h>

Inheritance diagram for FEConfigMainInfo:
IODConfig IDBObject

Public Member Functions

 FEConfigMainInfo ()
 
int getBstId () const
 
int getBttId () const
 
int getBxtId () const
 
Tm getDBTime () const
 
std::string getDescription () const
 
int getFgrId () const
 
int getId () const
 
int getLinId () const
 
int getLUTId () const
 
int getPedId () const
 
int getSliId () const
 
int getSpiId () const
 
std::string getTable ()
 
int getTimId () const
 
int getVersion () const
 
int getWeiId () const
 
bool operator!= (const FEConfigMainInfo &r) const
 
bool operator== (const FEConfigMainInfo &r) const
 
void setBstId (int x)
 
void setBttId (int x)
 
void setBxtId (int x)
 
void setDBTime (const Tm &x)
 
void setDescription (std::string x)
 
void setFgrId (int x)
 
void setId (int id)
 
void setLinId (int x)
 
void setLUTId (int x)
 
void setPedId (int x)
 
void setSliId (int x)
 
void setSpiId (int x)
 
void setTimId (int x)
 
void setVersion (int id)
 
void setWeiId (int x)
 
 ~FEConfigMainInfo ()
 
- 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 (FEConfigMainInfo *result) throw (std::runtime_error)
 
int fetchID () throw (std::runtime_error)
 
int fetchIDLast () throw (std::runtime_error)
 
int fetchNextId () throw (std::runtime_error)
 
void insertConfig () throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void setByID (int id) throw (std::runtime_error)
 
void writeDB () throw (std::runtime_error)
 

Private Attributes

int m_bst_id
 
int m_btt_id
 
int m_bxt_id
 
Tm m_db_time
 
std::string m_description
 
int m_fgr_id
 
int m_ID
 
int m_lin_id
 
int m_lut_id
 
int m_ped_id
 
int m_sli_id
 
int m_spi_id
 
int m_tim_id
 
int m_version
 
int m_wei_id
 

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
Statementm_readStmt
 
Statementm_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 19 of file FEConfigMainInfo.h.

Constructor & Destructor Documentation

FEConfigMainInfo::FEConfigMainInfo ( )

Definition at line 12 of file FEConfigMainInfo.cc.

FEConfigMainInfo::~FEConfigMainInfo ( )

Definition at line 27 of file FEConfigMainInfo.cc.

Member Function Documentation

void FEConfigMainInfo::clear ( void  )
private

Definition at line 30 of file FEConfigMainInfo.cc.

void FEConfigMainInfo::fetchData ( FEConfigMainInfo result)
throw (std::runtime_error
)
private

Definition at line 263 of file FEConfigMainInfo.cc.

int FEConfigMainInfo::fetchID ( )
throw (std::runtime_error
)
private

Definition at line 70 of file FEConfigMainInfo.cc.

int FEConfigMainInfo::fetchIDLast ( )
throw (std::runtime_error
)
private

Definition at line 190 of file FEConfigMainInfo.cc.

int FEConfigMainInfo::fetchNextId ( )
throw (std::runtime_error
)
private

Definition at line 49 of file FEConfigMainInfo.cc.

int FEConfigMainInfo::getBstId ( ) const
inline

Definition at line 70 of file FEConfigMainInfo.h.

References m_bst_id.

70 {return m_bst_id; }
int FEConfigMainInfo::getBttId ( ) const
inline

Definition at line 67 of file FEConfigMainInfo.h.

References m_btt_id.

67 {return m_btt_id; }
int FEConfigMainInfo::getBxtId ( ) const
inline

Definition at line 64 of file FEConfigMainInfo.h.

References m_bxt_id.

64 {return m_bxt_id; }
Tm FEConfigMainInfo::getDBTime ( ) const
inline

Definition at line 32 of file FEConfigMainInfo.h.

References m_db_time.

32 { return m_db_time;}
std::string FEConfigMainInfo::getDescription ( ) const
inline

Definition at line 37 of file FEConfigMainInfo.h.

References m_description.

37 { return m_description;}
std::string m_description
int FEConfigMainInfo::getFgrId ( ) const
inline

Definition at line 49 of file FEConfigMainInfo.h.

References m_fgr_id.

49 { return m_fgr_id;}
int FEConfigMainInfo::getId ( ) const
inline

Definition at line 30 of file FEConfigMainInfo.h.

References m_ID.

30 { return m_ID; }
int FEConfigMainInfo::getLinId ( ) const
inline

Definition at line 43 of file FEConfigMainInfo.h.

References m_lin_id.

43 {return m_lin_id; }
int FEConfigMainInfo::getLUTId ( ) const
inline

Definition at line 46 of file FEConfigMainInfo.h.

References m_lut_id.

46 {return m_lut_id; }
int FEConfigMainInfo::getPedId ( ) const
inline

Definition at line 40 of file FEConfigMainInfo.h.

References m_ped_id.

40 { return m_ped_id;}
int FEConfigMainInfo::getSliId ( ) const
inline

Definition at line 52 of file FEConfigMainInfo.h.

References m_sli_id.

52 {return m_sli_id; }
int FEConfigMainInfo::getSpiId ( ) const
inline

Definition at line 58 of file FEConfigMainInfo.h.

References m_spi_id.

58 { return m_spi_id;}
std::string FEConfigMainInfo::getTable ( )
inlinevirtual

Implements IODConfig.

Definition at line 26 of file FEConfigMainInfo.h.

26 { return "FE_CONFIG_MAIN"; }
int FEConfigMainInfo::getTimId ( ) const
inline

Definition at line 61 of file FEConfigMainInfo.h.

References m_tim_id.

61 { return m_tim_id;}
int FEConfigMainInfo::getVersion ( ) const
inline

Definition at line 73 of file FEConfigMainInfo.h.

References m_version.

73 { return m_version; }
int FEConfigMainInfo::getWeiId ( ) const
inline

Definition at line 55 of file FEConfigMainInfo.h.

References m_wei_id.

55 { return m_wei_id;}
void FEConfigMainInfo::insertConfig ( )
throw (std::runtime_error
)
private

Definition at line 316 of file FEConfigMainInfo.cc.

bool FEConfigMainInfo::operator!= ( const FEConfigMainInfo r) const
inline

Definition at line 79 of file FEConfigMainInfo.h.

References alignCSCRings::r.

79 { return !(*this == r); }
bool FEConfigMainInfo::operator== ( const FEConfigMainInfo r) const
inline

Definition at line 78 of file FEConfigMainInfo.h.

References m_ID.

78 { return (m_ID == r.m_ID ); }
void FEConfigMainInfo::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IODConfig.

Definition at line 122 of file FEConfigMainInfo.cc.

void FEConfigMainInfo::setBstId ( int  x)
inline

Definition at line 69 of file FEConfigMainInfo.h.

References m_bst_id, and x.

void FEConfigMainInfo::setBttId ( int  x)
inline

Definition at line 66 of file FEConfigMainInfo.h.

References m_btt_id, and x.

void FEConfigMainInfo::setBxtId ( int  x)
inline

Definition at line 63 of file FEConfigMainInfo.h.

References m_bxt_id, and x.

void FEConfigMainInfo::setByID ( int  id)
throw (std::runtime_error
)
private

Definition at line 218 of file FEConfigMainInfo.cc.

void FEConfigMainInfo::setDBTime ( const Tm x)
inline

Definition at line 33 of file FEConfigMainInfo.h.

References m_db_time, and x.

void FEConfigMainInfo::setDescription ( std::string  x)
inline

Definition at line 36 of file FEConfigMainInfo.h.

References m_description, and x.

36 { m_description = x;}
std::string m_description
void FEConfigMainInfo::setFgrId ( int  x)
inline

Definition at line 48 of file FEConfigMainInfo.h.

References m_fgr_id, and x.

void FEConfigMainInfo::setId ( int  id)
inline

Definition at line 29 of file FEConfigMainInfo.h.

References m_ID.

29 { m_ID = id; }
void FEConfigMainInfo::setLinId ( int  x)
inline

Definition at line 42 of file FEConfigMainInfo.h.

References m_lin_id, and x.

void FEConfigMainInfo::setLUTId ( int  x)
inline

Definition at line 45 of file FEConfigMainInfo.h.

References m_lut_id, and x.

void FEConfigMainInfo::setPedId ( int  x)
inline

Definition at line 39 of file FEConfigMainInfo.h.

References m_ped_id, and x.

void FEConfigMainInfo::setSliId ( int  x)
inline

Definition at line 51 of file FEConfigMainInfo.h.

References m_sli_id, and x.

void FEConfigMainInfo::setSpiId ( int  x)
inline

Definition at line 57 of file FEConfigMainInfo.h.

References m_spi_id, and x.

void FEConfigMainInfo::setTimId ( int  x)
inline

Definition at line 60 of file FEConfigMainInfo.h.

References m_tim_id, and x.

void FEConfigMainInfo::setVersion ( int  id)
inline

Definition at line 72 of file FEConfigMainInfo.h.

References m_version.

72 { m_version = id; }
void FEConfigMainInfo::setWeiId ( int  x)
inline

Definition at line 54 of file FEConfigMainInfo.h.

References m_wei_id, and x.

void FEConfigMainInfo::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 145 of file FEConfigMainInfo.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 21 of file FEConfigMainInfo.h.

Member Data Documentation

int FEConfigMainInfo::m_bst_id
private

Definition at line 92 of file FEConfigMainInfo.h.

Referenced by getBstId(), and setBstId().

int FEConfigMainInfo::m_btt_id
private

Definition at line 91 of file FEConfigMainInfo.h.

Referenced by getBttId(), and setBttId().

int FEConfigMainInfo::m_bxt_id
private

Definition at line 90 of file FEConfigMainInfo.h.

Referenced by getBxtId(), and setBxtId().

Tm FEConfigMainInfo::m_db_time
private

Definition at line 96 of file FEConfigMainInfo.h.

Referenced by getDBTime(), and setDBTime().

std::string FEConfigMainInfo::m_description
private

Definition at line 97 of file FEConfigMainInfo.h.

Referenced by getDescription(), and setDescription().

int FEConfigMainInfo::m_fgr_id
private

Definition at line 88 of file FEConfigMainInfo.h.

Referenced by getFgrId(), and setFgrId().

int FEConfigMainInfo::m_ID
private

Definition at line 83 of file FEConfigMainInfo.h.

Referenced by getId(), operator==(), and setId().

int FEConfigMainInfo::m_lin_id
private

Definition at line 85 of file FEConfigMainInfo.h.

Referenced by getLinId(), and setLinId().

int FEConfigMainInfo::m_lut_id
private

Definition at line 86 of file FEConfigMainInfo.h.

Referenced by getLUTId(), and setLUTId().

int FEConfigMainInfo::m_ped_id
private

Definition at line 84 of file FEConfigMainInfo.h.

Referenced by getPedId(), and setPedId().

int FEConfigMainInfo::m_sli_id
private

Definition at line 87 of file FEConfigMainInfo.h.

Referenced by getSliId(), and setSliId().

int FEConfigMainInfo::m_spi_id
private

Definition at line 94 of file FEConfigMainInfo.h.

Referenced by getSpiId(), and setSpiId().

int FEConfigMainInfo::m_tim_id
private

Definition at line 93 of file FEConfigMainInfo.h.

Referenced by getTimId(), and setTimId().

int FEConfigMainInfo::m_version
private

Definition at line 95 of file FEConfigMainInfo.h.

Referenced by getVersion(), and setVersion().

int FEConfigMainInfo::m_wei_id
private

Definition at line 89 of file FEConfigMainInfo.h.

Referenced by getWeiId(), and setWeiId().