![]() |
ATLAS Offline Software
|
Abstract interface to keep a registry of collection getter tools. More...
#include <ICollectionGetterRegistryTool.h>
Public Member Functions | |
| DeclareInterfaceID (ICollectionGetterRegistryTool, 1, 0) | |
| Gaudi interface definition. | |
| virtual StatusCode | add (const std::string &label, ICollectionGetterTool *tool)=0 |
| Register a new collection getter tool. | |
| virtual StatusCode | get (const std::string &label, const INamedInterface *parent, ICollectionGetterTool *&tool)=0 |
| Get a copy of a registered collection getter tool. | |
Abstract interface to keep a registry of collection getter tools.
In order to represent associations by an index, we need to be able to get access to the collection within which we're indexing. We do this by optionally associating a label with a collection getter tool (this will typically be the object prefix). We can then look up the label here and make a copy of the matching getter tool. (We make a copy rather than using the original instance since the collection getters are stateful.)
Definition at line 39 of file ICollectionGetterRegistryTool.h.
|
pure virtual |
| D3PD::ICollectionGetterRegistryTool::DeclareInterfaceID | ( | ICollectionGetterRegistryTool | , |
| 1 | , | ||
| 0 | ) |
Gaudi interface definition.
|
pure virtual |