ATLAS Offline Software
Database
IOVDbSvc
IOVDbSvc
IIOVCondDbSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __IIOVCONDDBSVC_H__
6
#define __IIOVCONDDBSVC_H__
7
8
/*****************************************************************************
9
*
10
* IIOVCondDbSvc.h
11
* AthenaKernel
12
*
13
* Author: RD Schaffer, Antoine Perus
14
* $Id: IIOVCondDbSvc.h,v 1.8 2009-01-29 16:53:51 hawkings Exp $
15
*
16
* Abstract interface to IOVDbSvc to access ConditionsDB
17
*
18
*****************************************************************************/
19
20
#include "GaudiKernel/IInterface.h"
21
#include <string>
22
#include <vector>
23
#include "GaudiKernel/StatusCode.h"
24
#include "GaudiKernel/ClassID.h"
25
26
#include "CoolKernel/types.h"
27
#include "CoolKernel/IDatabase.h"
28
29
// Declaration of the interface ID.
30
static
const
InterfaceID IID_IOVCondDbSvc(
"IOVCondDbSvc"
, 1 , 0);
31
32
class
IOVTime
;
33
34
class
IIOVCondDbSvc
:
virtual
public
IInterface {
35
public
:
37
static
const
InterfaceID&
interfaceID
();
38
40
virtual
cool::IDatabasePtr
getDatabase
(
bool
readOnly =
false
) = 0;
41
42
};
43
44
//<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
45
inline
46
const
InterfaceID&
47
IIOVCondDbSvc::interfaceID
() {
48
static
const
InterfaceID IID(
"IOVCondDbSvc"
, 1, 0);
49
return
IID;
50
}
51
52
#endif
IIOVCondDbSvc::interfaceID
static const InterfaceID & interfaceID()
Retrieve interface ID.
Definition:
IIOVCondDbSvc.h:47
IOVTime
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
Definition:
IOVTime.h:33
IIOVCondDbSvc
Definition:
IIOVCondDbSvc.h:34
IIOVCondDbSvc::getDatabase
virtual cool::IDatabasePtr getDatabase(bool readOnly=false)=0
COOL access.
Generated on Tue Jul 2 2024 21:17:09 for ATLAS Offline Software by
1.8.18