OnlineDB
EcalCondDB
interface
LMFSeqVers.h
Go to the documentation of this file.
1
#ifndef LMFSEQVERS_H
2
#define LMFSEQVERS_H
3
4
/*
5
Last updated by Giovanni.Organtini@roma1.infn.it 2010
6
*/
7
8
#include <string>
9
#include <stdexcept>
10
11
#include "
OnlineDB/EcalCondDB/interface/LMFPrimVers.h
"
12
#include "
OnlineDB/EcalCondDB/interface/EcalDBConnection.h
"
13
17
class
LMFSeqVers
:
public
LMFPrimVers
{
18
public
:
19
friend
class
LMFRunIOV
;
// needs permission to write
20
21
LMFSeqVers
();
22
LMFSeqVers
(
EcalDBConnection
*
c
);
23
LMFSeqVers
(oracle::occi::Environment *
env
, oracle::occi::Connection *
conn
);
24
~LMFSeqVers
()
override
;
25
26
// Operators
27
inline
bool
operator==
(
const
LMFSeqVers
&
t
)
const
{
return
(
getDescription
() ==
t
.getDescription()); }
28
inline
bool
operator!=
(
const
LMFSeqVers
&
t
)
const
{
return
(
getDescription
() !=
t
.getDescription()); }
29
30
private
:
31
// Methods from LMFUnique
32
std::string
fetchIdSql
(
Statement
*stmt)
override
;
33
std::string
fetchAllSql
(
Statement
*stmt)
const override
;
34
std::string
setByIDSql
(
Statement
*stmt,
int
id
)
override
;
35
void
getParameters
(
ResultSet
*rset)
override
;
36
LMFUnique
*
createObject
()
const override
;
37
};
38
39
#endif
LMFSeqVers::operator!=
bool operator!=(const LMFSeqVers &t) const
Definition:
LMFSeqVers.h:28
LMFSeqVers::~LMFSeqVers
~LMFSeqVers() override
Definition:
LMFSeqVers.cc:21
LMFSeqVers::fetchAllSql
std::string fetchAllSql(Statement *stmt) const override
Definition:
LMFSeqVers.cc:42
LMFSeqVers::createObject
LMFUnique * createObject() const override
Definition:
LMFSeqVers.cc:36
SiStripCommissioningClient_cfg.conn
conn
Definition:
SiStripCommissioningClient_cfg.py:5
LMFSeqVers::LMFSeqVers
LMFSeqVers()
Definition:
LMFSeqVers.cc:6
LMFPrimVers::getDescription
std::string getDescription() const
Definition:
LMFPrimVers.h:33
LMFSeqVers::fetchIdSql
std::string fetchIdSql(Statement *stmt) override
Definition:
LMFSeqVers.cc:23
LMFPrimVers
Definition:
LMFPrimVers.h:22
LMFRunIOV
Definition:
LMFRunIOV.h:18
LMFSeqVers
Definition:
LMFSeqVers.h:17
LMFSeqVers::getParameters
void getParameters(ResultSet *rset) override
Definition:
LMFSeqVers.cc:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
web.browse_db.env
env
Definition:
browse_db.py:18
EcalDBConnection.h
LMFSeqVers::operator==
bool operator==(const LMFSeqVers &t) const
Definition:
LMFSeqVers.h:27
LMFPrimVers.h
LMFUnique::Statement
oracle::occi::Statement Statement
Definition:
LMFUnique.h:24
LMFSeqVers::setByIDSql
std::string setByIDSql(Statement *stmt, int id) override
Definition:
LMFSeqVers.cc:25
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
LMFUnique
Definition:
LMFUnique.h:21
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
EcalDBConnection
Definition:
EcalDBConnection.h:15
LMFUnique::ResultSet
oracle::occi::ResultSet ResultSet
Definition:
LMFUnique.h:23
Generated for CMSSW Reference Manual by
1.8.16