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

#include <FEConfigFgrInfo.h>

Inheritance diagram for FEConfigFgrInfo:
IODConfig IDBObject

Public Member Functions

 FEConfigFgrInfo ()
 
int fetchID () throw (std::runtime_error)
 
int fetchNextId () throw (std::runtime_error)
 
Tm getDBTime () const
 
int getId () const
 
int getID ()
 
int getNumberOfGroups () const
 
std::string getTable ()
 
int getVersion () const
 
bool operator!= (const FEConfigFgrInfo &r) const
 
bool operator== (const FEConfigFgrInfo &r) const
 
void setByID (int id) throw (std::runtime_error)
 
void setDBTime (const Tm &x)
 
void setId (int id)
 
void setID (int id)
 
void setNumberOfGroups (int iov_id)
 
void setParameters (const std::map< std::string, std::string > &my_keys_map)
 
void setVersion (int id)
 
 ~FEConfigFgrInfo ()
 
- 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 (FEConfigFgrInfo *result) throw (std::runtime_error)
 
void fetchLastData (FEConfigFgrInfo *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
Statementm_readStmt
 
Statementm_writeStmt
 
- Protected Attributes inherited from IDBObject
oracle::occi::Connection * m_conn
 
oracle::occi::Environment * m_env
 

Detailed Description

Definition at line 11 of file FEConfigFgrInfo.h.

Constructor & Destructor Documentation

FEConfigFgrInfo::FEConfigFgrInfo ( )

Definition at line 13 of file FEConfigFgrInfo.cc.

FEConfigFgrInfo::~FEConfigFgrInfo ( )

Definition at line 32 of file FEConfigFgrInfo.cc.

Member Function Documentation

void FEConfigFgrInfo::clear ( void  )
private

Definition at line 26 of file FEConfigFgrInfo.cc.

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

Definition at line 128 of file FEConfigFgrInfo.cc.

int FEConfigFgrInfo::fetchID ( )
throw (std::runtime_error
)

Definition at line 189 of file FEConfigFgrInfo.cc.

void FEConfigFgrInfo::fetchLastData ( FEConfigFgrInfo result)
throw (std::runtime_error
)
private

Definition at line 163 of file FEConfigFgrInfo.cc.

int FEConfigFgrInfo::fetchNextId ( )
throw (std::runtime_error
)

Definition at line 38 of file FEConfigFgrInfo.cc.

Tm FEConfigFgrInfo::getDBTime ( ) const
inline

Definition at line 35 of file FEConfigFgrInfo.h.

References m_db_time.

35 { return m_db_time;}
int FEConfigFgrInfo::getId ( ) const
inline

Definition at line 26 of file FEConfigFgrInfo.h.

References m_ID.

Referenced by getID().

26 { return m_ID; }
int FEConfigFgrInfo::getID ( )
inline

Definition at line 29 of file FEConfigFgrInfo.h.

References getId().

29 { return getId() ;}
int getId() const
int FEConfigFgrInfo::getNumberOfGroups ( ) const
inline

Definition at line 23 of file FEConfigFgrInfo.h.

References m_iov_id.

23 {return m_iov_id; }
std::string FEConfigFgrInfo::getTable ( )
inlinevirtual

Implements IODConfig.

Definition at line 19 of file FEConfigFgrInfo.h.

19 { return "FE_CONFIG_FGR_INFO"; }
int FEConfigFgrInfo::getVersion ( ) const
inline

Definition at line 32 of file FEConfigFgrInfo.h.

References m_version.

32 { return m_version; }
bool FEConfigFgrInfo::operator!= ( const FEConfigFgrInfo r) const
inline

Definition at line 47 of file FEConfigFgrInfo.h.

References alignCSCRings::r.

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

Definition at line 46 of file FEConfigFgrInfo.h.

References m_ID.

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

Implements IODConfig.

Definition at line 60 of file FEConfigFgrInfo.cc.

void FEConfigFgrInfo::setByID ( int  id)
throw (std::runtime_error
)

Definition at line 223 of file FEConfigFgrInfo.cc.

void FEConfigFgrInfo::setDBTime ( const Tm x)
inline

Definition at line 36 of file FEConfigFgrInfo.h.

References m_db_time, and x.

void FEConfigFgrInfo::setId ( int  id)
inline

Definition at line 25 of file FEConfigFgrInfo.h.

References m_ID.

Referenced by setID().

25 { m_ID = id; }
void FEConfigFgrInfo::setID ( int  id)
inline

Definition at line 28 of file FEConfigFgrInfo.h.

References setId().

28 {setId(id);}
void setId(int id)
void FEConfigFgrInfo::setNumberOfGroups ( int  iov_id)
inline

Definition at line 22 of file FEConfigFgrInfo.h.

References m_iov_id.

22 { m_iov_id = iov_id; }
void FEConfigFgrInfo::setParameters ( const std::map< std::string, std::string > &  my_keys_map)

Definition at line 84 of file FEConfigFgrInfo.cc.

void FEConfigFgrInfo::setVersion ( int  id)
inline

Definition at line 31 of file FEConfigFgrInfo.h.

References m_version.

31 { m_version = id; }
void FEConfigFgrInfo::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 100 of file FEConfigFgrInfo.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 13 of file FEConfigFgrInfo.h.

Member Data Documentation

Tm FEConfigFgrInfo::m_db_time
private

Definition at line 53 of file FEConfigFgrInfo.h.

Referenced by getDBTime(), and setDBTime().

int FEConfigFgrInfo::m_ID
private

Definition at line 52 of file FEConfigFgrInfo.h.

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

int FEConfigFgrInfo::m_iov_id
private

Definition at line 51 of file FEConfigFgrInfo.h.

Referenced by getNumberOfGroups(), and setNumberOfGroups().

int FEConfigFgrInfo::m_version
private

Definition at line 54 of file FEConfigFgrInfo.h.

Referenced by getVersion(), and setVersion().