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

#include <ODTTCFConfig.h>

Inheritance diagram for ODTTCFConfig:
IODConfig IDBObject

Public Member Functions

int getId () const
 
int getReg30 ()
 
int getRxBC0Delay ()
 
unsigned int getSize () const
 
std::string getTable ()
 
unsigned char * getTTCFClob () const
 
std::string getTTCFConfigurationFile () const
 
 ODTTCFConfig ()
 
void setId (int id)
 
void setParameters (const std::map< std::string, std::string > &my_keys_map)
 
void setReg30 (int x)
 
void setRxBC0Delay (int x)
 
void setSize (unsigned int id)
 
void setTTCFClob (unsigned char *x)
 
void setTTCFConfigurationFile (std::string x)
 
 ~ODTTCFConfig ()
 
- 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 (ODTTCFConfig *result) throw (std::runtime_error)
 
int fetchID () throw (std::runtime_error)
 
int fetchNextId () throw (std::runtime_error)
 
void prepareWrite () throw (std::runtime_error)
 
void writeDB () throw (std::runtime_error)
 

Private Attributes

int m_ID
 
int m_reg_30
 
int m_rxbc0_delay
 
unsigned int m_size
 
unsigned char * m_ttcf_clob
 
std::string m_ttcf_file
 

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 15 of file ODTTCFConfig.h.

Constructor & Destructor Documentation

ODTTCFConfig::ODTTCFConfig ( )

Definition at line 12 of file ODTTCFConfig.cc.

ODTTCFConfig::~ODTTCFConfig ( )

Definition at line 30 of file ODTTCFConfig.cc.

Member Function Documentation

void ODTTCFConfig::clear ( void  )
private

Definition at line 25 of file ODTTCFConfig.cc.

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

Definition at line 139 of file ODTTCFConfig.cc.

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

Definition at line 180 of file ODTTCFConfig.cc.

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

Definition at line 34 of file ODTTCFConfig.cc.

int ODTTCFConfig::getId ( ) const
inline

Definition at line 27 of file ODTTCFConfig.h.

References m_ID.

27 { return m_ID; }
int ODTTCFConfig::getReg30 ( )
inline

Definition at line 38 of file ODTTCFConfig.h.

References m_reg_30.

38 { return m_reg_30; }
int ODTTCFConfig::getRxBC0Delay ( )
inline

Definition at line 36 of file ODTTCFConfig.h.

References m_rxbc0_delay.

36 { return m_rxbc0_delay; }
unsigned int ODTTCFConfig::getSize ( ) const
inline

Definition at line 24 of file ODTTCFConfig.h.

References m_size.

24 { return m_size; }
unsigned int m_size
Definition: ODTTCFConfig.h:60
std::string ODTTCFConfig::getTable ( )
inlinevirtual

Implements IODConfig.

Definition at line 22 of file ODTTCFConfig.h.

22 { return "ECAL_TTCF_CONFIGURATION"; }
unsigned char* ODTTCFConfig::getTTCFClob ( ) const
inline

Definition at line 33 of file ODTTCFConfig.h.

References m_ttcf_clob.

33 { return m_ttcf_clob; }
unsigned char * m_ttcf_clob
Definition: ODTTCFConfig.h:59
std::string ODTTCFConfig::getTTCFConfigurationFile ( ) const
inline

Definition at line 30 of file ODTTCFConfig.h.

References m_ttcf_file.

30 { return m_ttcf_file; }
std::string m_ttcf_file
Definition: ODTTCFConfig.h:61
void ODTTCFConfig::prepareWrite ( )
throw (std::runtime_error
)
privatevirtual

Implements IODConfig.

Definition at line 60 of file ODTTCFConfig.cc.

void ODTTCFConfig::setId ( int  id)
inline

Definition at line 26 of file ODTTCFConfig.h.

References m_ID.

26 { m_ID = id; }
void ODTTCFConfig::setParameters ( const std::map< std::string, std::string > &  my_keys_map)

Definition at line 211 of file ODTTCFConfig.cc.

void ODTTCFConfig::setReg30 ( int  x)
inline

Definition at line 37 of file ODTTCFConfig.h.

References m_reg_30, and x.

37 { m_reg_30 = x; }
void ODTTCFConfig::setRxBC0Delay ( int  x)
inline

Definition at line 35 of file ODTTCFConfig.h.

References m_rxbc0_delay, and x.

35 { m_rxbc0_delay = x; }
void ODTTCFConfig::setSize ( unsigned int  id)
inline

Definition at line 23 of file ODTTCFConfig.h.

References m_size.

23 { m_size = id; }
unsigned int m_size
Definition: ODTTCFConfig.h:60
void ODTTCFConfig::setTTCFClob ( unsigned char *  x)
inline

Definition at line 32 of file ODTTCFConfig.h.

References m_ttcf_clob, and x.

32 { m_ttcf_clob = x; }
unsigned char * m_ttcf_clob
Definition: ODTTCFConfig.h:59
void ODTTCFConfig::setTTCFConfigurationFile ( std::string  x)
inline

Definition at line 29 of file ODTTCFConfig.h.

References m_ttcf_file, and x.

29 { m_ttcf_file = x; }
std::string m_ttcf_file
Definition: ODTTCFConfig.h:61
void ODTTCFConfig::writeDB ( )
throw (std::runtime_error
)
private

Definition at line 104 of file ODTTCFConfig.cc.

Friends And Related Function Documentation

friend class EcalCondDBInterface
friend

Definition at line 17 of file ODTTCFConfig.h.

Member Data Documentation

int ODTTCFConfig::m_ID
private

Definition at line 58 of file ODTTCFConfig.h.

Referenced by getId(), and setId().

int ODTTCFConfig::m_reg_30
private

Definition at line 64 of file ODTTCFConfig.h.

Referenced by getReg30(), and setReg30().

int ODTTCFConfig::m_rxbc0_delay
private

Definition at line 63 of file ODTTCFConfig.h.

Referenced by getRxBC0Delay(), and setRxBC0Delay().

unsigned int ODTTCFConfig::m_size
private

Definition at line 60 of file ODTTCFConfig.h.

Referenced by getSize(), and setSize().

unsigned char* ODTTCFConfig::m_ttcf_clob
private

Definition at line 59 of file ODTTCFConfig.h.

Referenced by getTTCFClob(), and setTTCFClob().

std::string ODTTCFConfig::m_ttcf_file
private

Definition at line 61 of file ODTTCFConfig.h.

Referenced by getTTCFConfigurationFile(), and setTTCFConfigurationFile().