Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
OnlineDB
EcalCondDB
interface
LocationDef.h
Go to the documentation of this file.
1
#ifndef LOCATIONDEF_H
2
#define LOCATIONDEF_H
3
4
#include <string>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDef.h
"
8
12
class
LocationDef
:
public
IDef
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
16
LocationDef
();
17
virtual
~LocationDef
();
18
19
// Methods for user data
20
std::string
getLocation
()
const
;
21
void
setLocation
(
std::string
loc);
22
23
// Methods from IUniqueDBObject
24
int
fetchID
()
throw
(std::runtime_error);
25
void
setByID
(
int
id
)
throw
(std::runtime_error);
26
27
inline
bool
operator
==(
const
LocationDef
&
l
)
const
{
return
m_loc
== l.m_loc; }
28
inline
bool
operator!=
(
const
LocationDef
&
l
)
const
{
return
m_loc
!= l.
m_loc
; }
29
30
protected
:
31
// User data for this def
32
std::string
m_loc
;
33
34
void
fetchAllDefs
( std::vector<LocationDef>* fillVec)
throw
(std::runtime_error);
35
};
36
37
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
IDef.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
LocationDef::operator!=
bool operator!=(const LocationDef &l) const
Definition:
LocationDef.h:28
LocationDef::~LocationDef
virtual ~LocationDef()
Definition:
LocationDef.cc:20
LocationDef::fetchAllDefs
void fetchAllDefs(std::vector< LocationDef > *fillVec)
Definition:
LocationDef.cc:103
LocationDef::getLocation
std::string getLocation() const
Definition:
LocationDef.cc:26
LocationDef
Definition:
LocationDef.h:12
IDef
Definition:
IDef.h:11
prof2calltree.l
tuple l
Definition:
prof2calltree.py:116
compareJSON.const
string const
Definition:
compareJSON.py:14
LocationDef::LocationDef
LocationDef()
Definition:
LocationDef.cc:10
LocationDef::m_loc
std::string m_loc
Definition:
LocationDef.h:32
LocationDef::setLocation
void setLocation(std::string loc)
Definition:
LocationDef.cc:33
LocationDef::fetchID
int fetchID()
Definition:
LocationDef.cc:43
LocationDef::setByID
void setByID(int id)
Definition:
LocationDef.cc:76
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5