src
OnlineDB
EcalCondDB
interface
IUniqueDBObject.h
Go to the documentation of this file.
1
#ifndef IUNIQUEDBOBJECT_H
2
#define IUNIQUEDBOBJECT_H
3
4
#include <stdexcept>
5
6
#include "
OnlineDB/EcalCondDB/interface/IDBObject.h
"
7
11
class
IUniqueDBObject
:
public
IDBObject
{
12
public
:
13
virtual
int
fetchID
() noexcept(
false
) = 0;
14
virtual
void
setByID
(
int
id
) noexcept(
false
) = 0;
15
16
protected
:
17
// ID from the database
18
int
m_ID
;
19
};
20
21
#endif
IDBObject
Definition:
IDBObject.h:13
IUniqueDBObject::fetchID
virtual int fetchID() noexcept(false)=0
IUniqueDBObject::setByID
virtual void setByID(int id) noexcept(false)=0
IUniqueDBObject
Definition:
IUniqueDBObject.h:11
IDBObject.h
IUniqueDBObject::m_ID
int m_ID
Definition:
IUniqueDBObject.h:18
Generated for CMSSW Reference Manual by
1.8.14