Public Member Functions | Private Member Functions | List of all members
art::DelayedReader Class Referenceabstract

#include <DelayedReader.h>

Inheritance diagram for art::DelayedReader:
art::NoDelayedReader

Public Member Functions

virtual ~DelayedReader () noexcept
 
 DelayedReader ()
 
std::unique_ptr< EDProductgetProduct (Group const *, ProductID, RangeSet &) const
 
void setPrincipal (cet::exempt_ptr< Principal >)
 
std::vector< ProductProvenancereadProvenance () const
 
bool isAvailableAfterCombine (ProductID) const
 
std::unique_ptr< PrincipalreadFromSecondaryFile (int &idx)
 

Private Member Functions

virtual std::unique_ptr< EDProductgetProduct_ (Group const *, ProductID, RangeSet &) const =0
 
virtual void setPrincipal_ (cet::exempt_ptr< Principal >)
 
virtual std::vector< ProductProvenancereadProvenance_ () const
 
virtual bool isAvailableAfterCombine_ (ProductID) const
 
virtual std::unique_ptr< PrincipalreadFromSecondaryFile_ (int &idx)
 

Detailed Description

Definition at line 23 of file DelayedReader.h.

Constructor & Destructor Documentation

art::DelayedReader::~DelayedReader ( )
virtualdefaultnoexcept
art::DelayedReader::DelayedReader ( )
default

Member Function Documentation

std::unique_ptr< EDProduct > art::DelayedReader::getProduct ( Group const *  grp,
ProductID  pid,
RangeSet rs 
) const

Definition at line 15 of file DelayedReader.cc.

18  {
19  return getProduct_(grp, pid, rs);
20  }
virtual std::unique_ptr< EDProduct > getProduct_(Group const *, ProductID, RangeSet &) const =0
virtual std::unique_ptr<EDProduct> art::DelayedReader::getProduct_ ( Group const *  ,
ProductID  ,
RangeSet  
) const
privatepure virtual

Implemented in art::NoDelayedReader.

bool art::DelayedReader::isAvailableAfterCombine ( ProductID  pid) const

Definition at line 43 of file DelayedReader.cc.

44  {
46  }
virtual bool isAvailableAfterCombine_(ProductID) const
bool art::DelayedReader::isAvailableAfterCombine_ ( ProductID  ) const
privatevirtual

Definition at line 48 of file DelayedReader.cc.

49  {
50  return false;
51  }
std::unique_ptr< Principal > art::DelayedReader::readFromSecondaryFile ( int &  idx)

Definition at line 54 of file DelayedReader.cc.

55  {
56  return readFromSecondaryFile_(idx);
57  }
virtual std::unique_ptr< Principal > readFromSecondaryFile_(int &idx)
std::unique_ptr< Principal > art::DelayedReader::readFromSecondaryFile_ ( int &  idx)
privatevirtual

Definition at line 60 of file DelayedReader.cc.

61  {
62  return nullptr;
63  }
vector< ProductProvenance > art::DelayedReader::readProvenance ( ) const

Definition at line 31 of file DelayedReader.cc.

32  {
33  return readProvenance_();
34  }
virtual std::vector< ProductProvenance > readProvenance_() const
vector< ProductProvenance > art::DelayedReader::readProvenance_ ( ) const
privatevirtual

Definition at line 37 of file DelayedReader.cc.

38  {
39  return {};
40  }
void art::DelayedReader::setPrincipal ( cet::exempt_ptr< Principal principal)

Definition at line 23 of file DelayedReader.cc.

24  {
25  setPrincipal_(principal);
26  }
virtual void setPrincipal_(cet::exempt_ptr< Principal >)
void art::DelayedReader::setPrincipal_ ( cet::exempt_ptr< Principal )
privatevirtual

Definition at line 28 of file DelayedReader.cc.

28 {}

The documentation for this class was generated from the following files: