DelayedReader.cc
Go to the documentation of this file.
3 // vim: set sw=2 expandtab :
4 
6 
7 using namespace std;
8 
9 namespace art {
10 
11  DelayedReader::DelayedReader() = default;
12  DelayedReader::~DelayedReader() noexcept = default;
13 
14  std::unique_ptr<EDProduct>
15  DelayedReader::getProduct(Group const* grp,
17  RangeSet& rs) const
18  {
19  return getProduct_(grp, pid, rs);
20  }
21 
22  void
23  DelayedReader::setPrincipal(cet::exempt_ptr<Principal> principal)
24  {
25  setPrincipal_(principal);
26  }
27 
28  void DelayedReader::setPrincipal_(cet::exempt_ptr<Principal>) {}
29 
30  vector<ProductProvenance>
31  DelayedReader::readProvenance() const
32  {
33  return readProvenance_();
34  }
35 
36  vector<ProductProvenance>
37  DelayedReader::readProvenance_() const
38  {
39  return {};
40  }
41 
42  bool
43  DelayedReader::isAvailableAfterCombine(ProductID pid) const
44  {
45  return isAvailableAfterCombine_(pid);
46  }
47 
48  bool DelayedReader::isAvailableAfterCombine_(ProductID) const
49  {
50  return false;
51  }
52 
53  std::unique_ptr<Principal>
54  DelayedReader::readFromSecondaryFile(int& idx)
55  {
56  return readFromSecondaryFile_(idx);
57  }
58 
59  std::unique_ptr<Principal>
60  DelayedReader::readFromSecondaryFile_(int& /*idx*/)
61  {
62  return nullptr;
63  }
64 
65 } // namespace art
STL namespace.