ATLAS Offline Software
Loading...
Searching...
No Matches
ICollectionGetterRegistryTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15#ifndef D3PDMAKERINTERFACES_ICOLLECTIONGETTERREGISTRYTOOL_H
16#define D3PDMAKERINTERFACES_ICOLLECTIONGETTERREGISTRYTOOL_H
17
18
19#include "GaudiKernel/IAlgTool.h"
20
21
22namespace D3PD {
23
24
26
27
40 : virtual public IAlgTool
41{
42public:
45
46
52 virtual StatusCode add (const std::string& label,
53 ICollectionGetterTool* tool) = 0;
54
55
64 virtual StatusCode get (const std::string& label,
65 const INamedInterface* parent,
66 ICollectionGetterTool*& tool) = 0;
67};
68
69
70} // namespace D3PD
71
72
73#endif // not D3PDMAKERINTERFACES_ICOLLECTIONGETTERREGISTRYTOOL_H
Abstract interface to keep a registry of collection getter tools.
virtual StatusCode get(const std::string &label, const INamedInterface *parent, ICollectionGetterTool *&tool)=0
Get a copy of a registered collection getter tool.
DeclareInterfaceID(ICollectionGetterRegistryTool, 1, 0)
Gaudi interface definition.
virtual StatusCode add(const std::string &label, ICollectionGetterTool *tool)=0
Register a new collection getter tool.
Abstract interface to get a collection of objects and iterate over it.
std::string label(const std::string &format, int i)
Definition label.h:19
Block filler tool for noisy FEB information.