PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
ICollectionProvider.h
Go to the documentation of this file.
1#ifndef PODIO_ICOLLECTIONPROVIDER_H
2#define PODIO_ICOLLECTIONPROVIDER_H
3
4namespace podio {
5
6class CollectionBase;
7
9public:
10 /// destructor
11 virtual ~ICollectionProvider() = default;
12 /// access a collection by ID. returns true if successful
13 virtual bool get(int collectionID, CollectionBase*& collection) const = 0;
14};
15
16} // namespace podio
17
18#endif
virtual ~ICollectionProvider()=default
destructor
virtual bool get(int collectionID, CollectionBase *&collection) const =0
access a collection by ID. returns true if successful