OnlineDB
EcalCondDB
interface
MonVersionDef.h
Go to the documentation of this file.
1
#ifndef MONVERSIONDEF_H
2
#define MONVERSIONDEF_H
3
4
#include <string>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDef.h
"
8
12
class
MonVersionDef
:
public
IDef
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
16
MonVersionDef
();
17
~MonVersionDef
()
override
;
18
19
// Methods for user data
20
std::string
getMonitoringVersion
()
const
;
21
void
setMonitoringVersion
(
std::string
ver);
22
23
std::string
getDescription
()
const
;
24
25
// Methods from IUniqueDBObject
26
int
fetchID
() noexcept(
false
) override;
27
void
setByID
(
int
id
) noexcept(
false
) override;
28
29
// Operators
30
inline
bool
operator
==(
const
MonVersionDef
&
d
)
const
{
return
m_monVer
==
d
.m_monVer; }
31
inline
bool
operator!=
(
const
MonVersionDef
&
d
)
const
{
return
m_monVer
!=
d
.m_monVer; }
32
33
protected
:
34
// User data for this def
35
std::string
m_monVer
;
36
std::string
m_desc
;
37
38
void
fetchAllDefs
(std::vector<MonVersionDef> *fillVec) noexcept(
false
);
39
};
40
41
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
MonVersionDef::setMonitoringVersion
void setMonitoringVersion(std::string ver)
Definition:
MonVersionDef.cc:21
IDef
Definition:
IDef.h:11
funct::false
false
Definition:
Factorize.h:29
MonVersionDef::operator!=
bool operator!=(const MonVersionDef &d) const
Definition:
MonVersionDef.h:31
MonVersionDef::fetchID
int fetchID() noexcept(false) override
Definition:
MonVersionDef.cc:30
MonVersionDef::getMonitoringVersion
std::string getMonitoringVersion() const
Definition:
MonVersionDef.cc:19
watchdog.const
const
Definition:
watchdog.py:83
Utilities.operator
operator
Definition:
Utilities.py:24
MonVersionDef::~MonVersionDef
~MonVersionDef() override
Definition:
MonVersionDef.cc:17
MonVersionDef::fetchAllDefs
void fetchAllDefs(std::vector< MonVersionDef > *fillVec) noexcept(false)
Definition:
MonVersionDef.cc:83
MonVersionDef::m_desc
std::string m_desc
Definition:
MonVersionDef.h:36
MonVersionDef
Definition:
MonVersionDef.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MonVersionDef::MonVersionDef
MonVersionDef()
Definition:
MonVersionDef.cc:9
MonVersionDef::m_monVer
std::string m_monVer
Definition:
MonVersionDef.h:35
MonVersionDef::getDescription
std::string getDescription() const
Definition:
MonVersionDef.cc:28
ztail.d
d
Definition:
ztail.py:151
IDef.h
MonVersionDef::setByID
void setByID(int id) noexcept(false) override
Definition:
MonVersionDef.cc:60
Generated for CMSSW Reference Manual by
1.8.16