Public Member Functions | Private Member Functions | Private Attributes | List of all members
ifdh_ns::IFFileTransfer Class Reference

#include <IFFileTransfer_service.h>

Inheritance diagram for ifdh_ns::IFFileTransfer:
art::FileTransfer

Public Member Functions

 IFFileTransfer (const fhicl::ParameterSet &, art::ActivityRegistry &)
 
- Public Member Functions inherited from art::FileTransfer
virtual ~FileTransfer () noexcept=default
 
int translateToLocalFilename (std::string const &uri, std::string &fileFQname)
 

Private Member Functions

virtual int doTranslateToLocalFilename (std::string const &uri, std::string &fileFQname)
 

Private Attributes

art::ServiceHandle< IFDH_ifdh_handle
 

Detailed Description

Definition at line 14 of file IFFileTransfer_service.h.

Constructor & Destructor Documentation

ifdh_ns::IFFileTransfer::IFFileTransfer ( const fhicl::ParameterSet ,
art::ActivityRegistry  
)

Definition at line 8 of file IFFileTransfer_service.cc.

8  {
9 }

Member Function Documentation

int ifdh_ns::IFFileTransfer::doTranslateToLocalFilename ( std::string const &  uri,
std::string fileFQname 
)
privatevirtual

Implements art::FileTransfer.

Definition at line 12 of file IFFileTransfer_service.cc.

12  {
13  mf::LogVerbatim("test") << "IFFileTransfer: entered for uri: " << uri << "\n";
14  fileFQname = _ifdh_handle->fetchInput(uri);
15  mf::LogVerbatim("test") << "IFFileTransfer: copied " << uri << " to " << fileFQname << "\n";
17 }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
art::ServiceHandle< IFDH > _ifdh_handle

Member Data Documentation

art::ServiceHandle<IFDH> ifdh_ns::IFFileTransfer::_ifdh_handle
private

Definition at line 20 of file IFFileTransfer_service.h.


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