test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~MonVersionDef
();
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
()
throw
(std::runtime_error);
27
void
setByID
(
int
id
)
throw
(std::runtime_error);
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)
throw
(std::runtime_error);
39
};
40
41
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
MonVersionDef::m_desc
std::string m_desc
Definition:
MonVersionDef.h:36
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
MonVersionDef::getDescription
std::string getDescription() const
Definition:
MonVersionDef.cc:42
IDef.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MonVersionDef::operator!=
bool operator!=(const MonVersionDef &d) const
Definition:
MonVersionDef.h:31
MonVersionDef::setByID
void setByID(int id)
Definition:
MonVersionDef.cc:83
MonVersionDef::~MonVersionDef
virtual ~MonVersionDef()
Definition:
MonVersionDef.cc:20
MonVersionDef
Definition:
MonVersionDef.h:12
IDef
Definition:
IDef.h:11
MonVersionDef::m_monVer
std::string m_monVer
Definition:
MonVersionDef.h:35
MonVersionDef::MonVersionDef
MonVersionDef()
Definition:
MonVersionDef.cc:9
MonVersionDef::fetchID
int fetchID()
Definition:
MonVersionDef.cc:49
compareJSON.const
string const
Definition:
compareJSON.py:14
MonVersionDef::setMonitoringVersion
void setMonitoringVersion(std::string ver)
Definition:
MonVersionDef.cc:33
MonVersionDef::getMonitoringVersion
std::string getMonitoringVersion() const
Definition:
MonVersionDef.cc:26
MonVersionDef::fetchAllDefs
void fetchAllDefs(std::vector< MonVersionDef > *fillVec)
Definition:
MonVersionDef.cc:110
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5