ATLAS Offline Software
IIOVCondDbSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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  *
15  * Abstract interface to IOVDbSvc to access ConditionsDB
16  *
17  *****************************************************************************/
18 
19 #include "GaudiKernel/IInterface.h"
20 
21 #include "CoolKernel/types.h"
22 #include "CoolKernel/IDatabase.h"
23 
24 
25 class IIOVCondDbSvc : virtual public IInterface {
26 public:
29 
31  virtual cool::IDatabasePtr getDatabase(bool readOnly = false ) = 0;
32 
33 };
34 
35 #endif
IIOVCondDbSvc::DeclareInterfaceID
DeclareInterfaceID(IIOVCondDbSvc, 1, 0)
Declare interface ID.
IIOVCondDbSvc
Definition: IIOVCondDbSvc.h:25
IIOVCondDbSvc::getDatabase
virtual cool::IDatabasePtr getDatabase(bool readOnly=false)=0
COOL access.