The Gaudi Framework
master (37c0b60a)
IFileSvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "COPYING". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
#include <memory>
15
#include <string>
16
17
class
TFile;
18
19
namespace
Gaudi
{
20
namespace
Interfaces {
27
struct
IFileSvc
:
virtual
IInterface
{
28
// InterfaceID declaration.
29
DeclareInterfaceID
(
IFileSvc
, 1, 0 );
30
31
// Get an shared pointer to a TFile based on an identifier
32
virtual
std::shared_ptr<TFile>
getFile
(
const
std::string
& identifier ) = 0;
33
};
34
}
// namespace Interfaces
35
}
// namespace Gaudi
std::string
STL class.
std::shared_ptr< TFile >
Gaudi::Interfaces::IFileSvc::DeclareInterfaceID
DeclareInterfaceID(IFileSvc, 1, 0)
IInterface.h
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
IInterface
Definition:
IInterface.h:239
Gaudi::Interfaces::IFileSvc::getFile
virtual std::shared_ptr< TFile > getFile(const std::string &identifier)=0
Gaudi::Interfaces::IFileSvc
Interface for a component that manages file access within Gaudi applications.
Definition:
IFileSvc.h:27
GaudiKernel
include
Gaudi
Interfaces
IFileSvc.h
Generated on Thu Dec 19 2024 15:35:00 for The Gaudi Framework by
1.8.18