#include <IDBObject.h>
Public Member Functions | |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
virtual | ~IDBObject () |
Static Public Attributes | |
static int const | ECALDB_NROWS = 1024 |
Protected Member Functions | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Friends | |
class | EcalCondDBInterface |
Abstract base class for objects storable in the database
Definition at line 13 of file IDBObject.h.
virtual IDBObject::~IDBObject | ( | ) | [inline, virtual] |
Definition at line 20 of file IDBObject.h.
{}
void IDBObject::checkConnection | ( | ) | const throw (std::runtime_error) [inline, protected] |
Definition at line 41 of file IDBObject.h.
Referenced by ITimingDat::fetchData(), ITimingDat::prepareWrite(), ITimingDat::writeArrayDB(), LMFDat::writeDB(), and ITimingDat::writeDB().
oracle::occi::Connection* IDBObject::getConn | ( | ) | const [inline] |
oracle::occi::Environment* IDBObject::getEnv | ( | ) | const [inline] |
void IDBObject::setConnection | ( | oracle::occi::Environment * | env, |
oracle::occi::Connection * | conn | ||
) | [inline] |
Definition at line 23 of file IDBObject.h.
References EcalDBConnection::conn, EcalDBConnection::env, m_conn, and m_env.
Referenced by LMFRunTag::createObject(), LMFColor::createObject(), LMFSeqVers::createObject(), LMFIOV::createObject(), LMFTrigType::createObject(), LMFPrimVers::createObject(), LMFCorrVers::createObject(), RunSeqDef::fetchAllDefs(), RunModeDef::fetchAllDefs(), MonRunOutcomeDef::fetchAllDefs(), RunTypeDef::fetchAllDefs(), MonVersionDef::fetchAllDefs(), LocationDef::fetchAllDefs(), RunTag::fetchAllTags(), DCUTag::fetchAllTags(), MonRunTag::fetchAllTags(), CaliTag::fetchAllTags(), LMFSeqDat::fetchByRunIOV(), EcalCondDBInterface::fetchCaliIOV(), EcalCondDBInterface::fetchDCSPTMTempList(), EcalCondDBInterface::fetchDCUIOV(), EcalCondDBInterface::fetchFEDelaysForRun(), EcalCondDBInterface::fetchGlobalRunListByLocation(), LMFCorrCoefDat::fetchLastInsertedRun(), EcalCondDBInterface::fetchLMFRunIOV(), EcalCondDBInterface::fetchMonRunIOV(), EcalCondDBInterface::fetchMonRunList(), EcalCondDBInterface::fetchMonRunListLastNRuns(), EcalCondDBInterface::fetchNonEmptyGlobalRunList(), EcalCondDBInterface::fetchNonEmptyRunList(), LMFSeqDat::fetchParentIDs(), EcalCondDBInterface::fetchRunIOV(), EcalCondDBInterface::fetchRunList(), EcalCondDBInterface::fetchRunListByLocation(), EcalCondDBInterface::fetchRunListLastNRuns(), LMFCorrCoefDat::find(), LMFSeqDat::getParameters(), LMFRunIOV::getParameters(), LMFDefFabric::LMFDefFabric(), LMFUnique::LMFUnique(), MonRunDat::writeDB(), and ODEcalCycle::writeDB().
friend class EcalCondDBInterface [friend] |
Reimplemented in CaliCrystalIntercalDat, CaliGainRatioDat, CaliGeneralDat, CaliHVScanRatioDat, CaliIOV, CaliTag, CaliTempDat, DCSPTMTemp, DCSPTMTempList, DCUCapsuleTempDat, DCUCapsuleTempRawDat, DCUCCSDat, DCUIDarkDat, DCUIDarkPedDat, DCUIOV, DCULVRBTempsDat, DCULVRTempsDat, DCULVRVoltagesDat, DCUTag, DCUVFETempDat, FEConfigBadStripDat, FEConfigBadStripInfo, FEConfigBadTTDat, FEConfigBadTTInfo, FEConfigBadXTDat, FEConfigBadXTInfo, FEConfigFgrDat, FEConfigFgrEEStripDat, FEConfigFgrEETowerDat, FEConfigFgrGroupDat, FEConfigFgrInfo, FEConfigFgrParamDat, FEConfigLinDat, FEConfigLinInfo, FEConfigLinParamDat, FEConfigLUTDat, FEConfigLUTGroupDat, FEConfigLUTInfo, FEConfigLUTParamDat, FEConfigMainInfo, FEConfigParamDat, FEConfigPedDat, FEConfigPedInfo, FEConfigSlidingDat, FEConfigSlidingInfo, FEConfigSpikeDat, FEConfigSpikeInfo, FEConfigTimingDat, FEConfigTimingInfo, FEConfigWeightDat, FEConfigWeightGroupDat, FEConfigWeightInfo, ITimingDat, LMFColor, LMFCorrCoefDatComponent, LMFDat, LMFIOV, LMFLmrSubIOV, LMFRunIOV, LMFSeqDat, LMFTrigType, LMFUnique, LocationDef, MODCCSFEDat, MODCCSHFDat, MODCCSTRDat, MODDCCDetailsDat, MODDCCOperationDat, MODRunIOV, MonCrystalConsistencyDat, MonDelaysTTDat, MonH4TablePositionDat, MonLaserBlueDat, MonLaserGreenDat, MonLaserIRedDat, MonLaserPulseDat, MonLaserRedDat, MonLaserStatusDat, MonLed1Dat, MonLed2Dat, MonMemChConsistencyDat, MonMemTTConsistencyDat, MonOccupancyDat, MonPedestalOffsetsDat, MonPedestalsDat, MonPedestalsOnlineDat, MonPNBlueDat, MonPNGreenDat, MonPNIRedDat, MonPNLed1Dat, MonPNLed2Dat, MonPNMGPADat, MonPNPedDat, MonPNRedDat, MonPulseShapeDat, MonRunDat, MonRunIOV, MonRunList, MonRunOutcomeDef, MonRunTag, MonShapeQualityDat, MonTestPulseDat, MonTTConsistencyDat, MonVersionDef, ODBadTTDat, ODBadTTInfo, ODBadXTDat, ODBadXTInfo, ODCCSConfig, ODCCSCycle, ODCond2ConfInfo, ODDCCConfig, ODDCCCycle, ODDCUConfig, ODDCUCycle, ODDelaysDat, ODEcalCycle, ODFEDAQConfig, ODFEDelaysInfo, ODFEPedestalOffsetInfo, ODFEWeightsInfo, ODGolBiasCurrentDat, ODGolBiasCurrentInfo, ODJBH4Config, ODJBH4Cycle, ODLaserConfig, ODLaserCycle, ODLTCConfig, ODLTCCycle, ODLTSConfig, ODLTSCycle, ODPedestalOffsetsDat, ODRunConfigCycleInfo, ODRunConfigInfo, ODRunConfigSeqInfo, ODScanConfig, ODScanCycle, ODSRPConfig, ODSRPCycle, ODTCCConfig, ODTCCCycle, ODTCCEEConfig, ODTCCEECycle, ODTowersToByPassDat, ODTowersToByPassInfo, ODTTCciConfig, ODTTCciCycle, ODTTCFConfig, ODTTCFCycle, ODVfeToRejectDat, ODVfeToRejectInfo, ODWeightsDat, ODWeightsSamplesDat, RunCommentDat, RunConfigDat, RunCrystalErrorsDat, RunDat, RunDCSHVDat, RunDCSLVDat, RunDCSMagnetDat, RunFEConfigDat, RunH4TablePositionDat, RunIOV, RunLaserRunDat, RunList, RunMemChErrorsDat, RunMemTTErrorsDat, RunModeDef, RunPNErrorsDat, RunPTMTempDat, RunSeqDef, RunTag, RunTPGConfigDat, RunTTErrorsDat, and RunTypeDef.
Definition at line 16 of file IDBObject.h.
int const IDBObject::ECALDB_NROWS = 1024 [static] |
Definition at line 18 of file IDBObject.h.
Referenced by EcalCondDBInterface::getEcalLogicIDMappedTo(), EcalCondDBInterface::getEcalLogicIDSet(), and EcalCondDBInterface::getEcalLogicIDSetOrdered().
oracle::occi::Connection* IDBObject::m_conn [protected] |
Definition at line 39 of file IDBObject.h.
Referenced by checkConnection(), LMFRunIOV::checkFabric(), LMFRunTag::createObject(), LMFColor::createObject(), LMFSeqVers::createObject(), LMFTrigType::createObject(), LMFPrimVers::createObject(), LMFCorrVers::createObject(), IODConfig::createReadStatement(), IDataItem::createReadStatement(), ITimingDat::fetchData(), LMFDat::fetchData(), LMFLmrSubIOV::fetchIdSql(), LMFSeqDat::fetchParentIDs(), getConn(), LMFDat::getKeyTypes(), LMFRunIOV::getLMFColor(), LMFLmrSubIOV::getLMFIOV(), LMFCorrCoefDatComponent::getLMFLmrSubIOV(), LMFDat::getLMFRunIOV(), LMFRunIOV::getLMFRunTag(), LMFSeqDat::getParameters(), LMFRunIOV::getParameters(), LMFCorrCoefDatComponent::getSequence(), LMFRunIOV::getSequence(), LMFRunIOV::getTriggerType(), LMFDefFabric::initialize(), ITimingDat::ITimingDat(), LMFUnique::LMFUnique(), ITimingDat::prepareWrite(), LMFRunIOV::setByIDSql(), setConnection(), IDataItem::terminateReadStatement(), IODConfig::terminateReadStatement(), IDataItem::terminateWriteStatement(), IODConfig::terminateWriteStatement(), LMFDat::writeDB(), LMFCorrCoefDatComponent::writeDB(), LMFColoredTable::writeDB(), LMFLmrSubIOV::writeDBSql(), LMFRunIOV::writeDBSql(), and LMFSeqDat::writeDBSql().
oracle::occi::Environment* IDBObject::m_env [protected] |
Definition at line 38 of file IDBObject.h.
Referenced by LMFRunIOV::checkFabric(), LMFRunTag::createObject(), LMFColor::createObject(), LMFSeqVers::createObject(), LMFTrigType::createObject(), LMFPrimVers::createObject(), LMFCorrVers::createObject(), ITimingDat::fetchData(), LMFLmrSubIOV::fetchIdSql(), LMFSeqDat::fetchParentIDs(), getEnv(), LMFRunIOV::getLMFColor(), LMFLmrSubIOV::getLMFIOV(), LMFCorrCoefDatComponent::getLMFLmrSubIOV(), LMFDat::getLMFRunIOV(), LMFRunIOV::getLMFRunTag(), LMFSeqDat::getParameters(), LMFRunIOV::getParameters(), LMFCorrCoefDatComponent::getSequence(), LMFRunIOV::getSequence(), LMFRunIOV::getTriggerType(), LMFDefFabric::initialize(), ITimingDat::ITimingDat(), LMFUnique::LMFUnique(), LMFRunIOV::setByIDSql(), setConnection(), LMFLmrSubIOV::writeDBSql(), LMFRunIOV::writeDBSql(), and LMFSeqDat::writeDBSql().