The Gaudi Framework
v36r1 (3e2fb5a8)
DataHandleFinder.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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 "LICENSE". *
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
#ifndef GAUDIKERNEL_DATAHANDLEFINDER
12
#define GAUDIKERNEL_DATAHANDLEFINDER 1
13
14
#include "
GaudiKernel/DataObjID.h
"
15
#include "
GaudiKernel/IDataHandleHolder.h
"
16
31
class
DataHandleFinder
:
public
IDataHandleVisitor
{
32
public
:
33
DataHandleFinder
(
DataObjID
const
& target );
34
35
void
visit
(
const
IDataHandleHolder
* visitee )
override
;
36
std::vector<std::string>
&
holderNames
() {
return
m_holderNames
; }
37
38
private
:
39
DataObjID
const
&
m_target
;
40
std::vector<std::string>
m_holderNames
;
41
};
42
43
#endif
IDataHandleHolder
Definition:
IDataHandleHolder.h:24
std::vector< std::string >
DataHandleFinder::m_target
DataObjID const & m_target
Definition:
DataHandleFinder.h:39
DataObjID.h
DataHandleFinder::visit
void visit(const IDataHandleHolder *visitee) override
Definition:
DataHandleFinder.cpp:15
DataHandleFinder::holderNames
std::vector< std::string > & holderNames()
Definition:
DataHandleFinder.h:36
DataObjID
Definition:
DataObjID.h:47
IDataHandleVisitor
Definition:
IDataHandleHolder.h:46
DataHandleFinder::m_holderNames
std::vector< std::string > m_holderNames
Definition:
DataHandleFinder.h:40
IDataHandleHolder.h
DataHandleFinder::DataHandleFinder
DataHandleFinder(DataObjID const &target)
Definition:
DataHandleFinder.cpp:13
DataHandleFinder
Definition:
DataHandleFinder.h:31
GaudiKernel
include
GaudiKernel
DataHandleFinder.h
Generated on Tue Sep 21 2021 12:27:43 for The Gaudi Framework by
1.8.18