LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 45 of file DelayedReader.cc.

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

Definition at line 51 of file DelayedReader.cc.

52  {
53  return false;
54  }
std::unique_ptr< Principal > art::DelayedReader::readFromSecondaryFile ( int &  idx)

Definition at line 57 of file DelayedReader.cc.

58  {
59  return readFromSecondaryFile_(idx);
60  }
virtual std::unique_ptr< Principal > readFromSecondaryFile_(int &idx)
std::unique_ptr< Principal > art::DelayedReader::readFromSecondaryFile_ ( int &  idx)
privatevirtual

Definition at line 63 of file DelayedReader.cc.

64  {
65  return nullptr;
66  }
vector< ProductProvenance > art::DelayedReader::readProvenance ( ) const

Definition at line 33 of file DelayedReader.cc.

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

Definition at line 39 of file DelayedReader.cc.

40  {
41  return {};
42  }
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 29 of file DelayedReader.cc.

30  {}

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