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
FEConfigLinDat Class Reference

#include <FEConfigLinDat.h>

Inheritance diagram for FEConfigLinDat:
IDataItem IDBObject

Public Member Functions

 FEConfigLinDat ()
 
int getMultX1 () const
 
int getMultX12 () const
 
int getMultX6 () const
 
int getShift1 () const
 
int getShift12 () const
 
int getShift6 () const
 
std::string getTable ()
 
void setMultX1 (int x)
 
void setMultX12 (int x)
 
void setMultX6 (int x)
 
void setShift1 (int x)
 
void setShift12 (int x)
 
void setShift6 (int x)
 
 ~FEConfigLinDat ()
 
- Public Member Functions inherited from IDataItem
 IDataItem ()
 
- 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 fetchData (std::map< EcalLogicID, FEConfigLinDat > *fillMap, FEConfigLinInfo *iconf) throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeArrayDB (const std::map< EcalLogicID, FEConfigLinDat > *data, FEConfigLinInfo *iconf) throw (std::runtime_error)
 
void writeDB (const EcalLogicID *ecid, const FEConfigLinDat *item, FEConfigLinInfo *iconf) throw (std::runtime_error)
 

Private Attributes

int m_multx1
 
int m_multx12
 
int m_multx6
 
int m_shift1
 
int m_shift12
 
int m_shift6
 

Friends

class EcalCondDBInterface
 

Additional Inherited Members

- Static Public Attributes inherited from IDBObject
static int const ECALDB_NROWS =1024
 
- Protected Member Functions inherited from IDataItem
void checkPrepare () throw (std::runtime_error)
 
void createReadStatement () 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 IDataItem
oracle::occi::Statement * m_readStmt
 
oracle::occi::Statement * m_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 11 of file FEConfigLinDat.h.

Constructor & Destructor Documentation

FEConfigLinDat::FEConfigLinDat ( )

Definition at line 11 of file FEConfigLinDat.cc.

FEConfigLinDat::~FEConfigLinDat ( )

Definition at line 30 of file FEConfigLinDat.cc.

Member Function Documentation

void FEConfigLinDat::fetchData ( std::map< EcalLogicID, FEConfigLinDat > *  fillMap,
FEConfigLinInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 84 of file FEConfigLinDat.cc.

int FEConfigLinDat::getMultX1 ( ) const
inline

Definition at line 30 of file FEConfigLinDat.h.

References m_multx1.

30 { return m_multx1; }
int FEConfigLinDat::getMultX12 ( ) const
inline

Definition at line 28 of file FEConfigLinDat.h.

References m_multx12.

28 { return m_multx12; }
int FEConfigLinDat::getMultX6 ( ) const
inline

Definition at line 29 of file FEConfigLinDat.h.

References m_multx6.

29 { return m_multx6; }
int FEConfigLinDat::getShift1 ( ) const
inline

Definition at line 33 of file FEConfigLinDat.h.

References m_shift1.

33 { return m_shift1; }
int FEConfigLinDat::getShift12 ( ) const
inline

Definition at line 31 of file FEConfigLinDat.h.

References m_shift12.

31 { return m_shift12; }
int FEConfigLinDat::getShift6 ( ) const
inline

Definition at line 32 of file FEConfigLinDat.h.

References m_shift6.

32 { return m_shift6; }
std::string FEConfigLinDat::getTable ( )
inlinevirtual

Implements IDataItem.

Definition at line 18 of file FEConfigLinDat.h.

18 { return "FE_CONFIG_LIN_DAT"; }
void FEConfigLinDat::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IDataItem.

Definition at line 36 of file FEConfigLinDat.cc.

void FEConfigLinDat::setMultX1 ( int  x)
inline

Definition at line 22 of file FEConfigLinDat.h.

References m_multx1, and x.

void FEConfigLinDat::setMultX12 ( int  x)
inline

Definition at line 20 of file FEConfigLinDat.h.

References m_multx12, and x.

void FEConfigLinDat::setMultX6 ( int  x)
inline

Definition at line 21 of file FEConfigLinDat.h.

References m_multx6, and x.

void FEConfigLinDat::setShift1 ( int  x)
inline

Definition at line 25 of file FEConfigLinDat.h.

References m_shift1, and x.

void FEConfigLinDat::setShift12 ( int  x)
inline

Definition at line 23 of file FEConfigLinDat.h.

References m_shift12, and x.

void FEConfigLinDat::setShift6 ( int  x)
inline

Definition at line 24 of file FEConfigLinDat.h.

References m_shift6, and x.

void FEConfigLinDat::writeArrayDB ( const std::map< EcalLogicID, FEConfigLinDat > *  data,
FEConfigLinInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 132 of file FEConfigLinDat.cc.

void FEConfigLinDat::writeDB ( const EcalLogicID ecid,
const FEConfigLinDat item,
FEConfigLinInfo iconf 
)
throw (std::runtime_error
)
private

Definition at line 54 of file FEConfigLinDat.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 13 of file FEConfigLinDat.h.

Member Data Documentation

int FEConfigLinDat::m_multx1
private

Definition at line 53 of file FEConfigLinDat.h.

Referenced by getMultX1(), and setMultX1().

int FEConfigLinDat::m_multx12
private

Definition at line 51 of file FEConfigLinDat.h.

Referenced by getMultX12(), and setMultX12().

int FEConfigLinDat::m_multx6
private

Definition at line 52 of file FEConfigLinDat.h.

Referenced by getMultX6(), and setMultX6().

int FEConfigLinDat::m_shift1
private

Definition at line 56 of file FEConfigLinDat.h.

Referenced by getShift1(), and setShift1().

int FEConfigLinDat::m_shift12
private

Definition at line 54 of file FEConfigLinDat.h.

Referenced by getShift12(), and setShift12().

int FEConfigLinDat::m_shift6
private

Definition at line 55 of file FEConfigLinDat.h.

Referenced by getShift6(), and setShift6().