test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
()
throw
(std::runtime_error) =0;
14
virtual
void
setByID
(
int
id
)
throw
(std::runtime_error) =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()=0
IUniqueDBObject::setByID
virtual void setByID(int id)=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.5