TrivialFileTransfer.h
Go to the documentation of this file.
1 #ifndef art_Framework_Services_Optional_TrivialFileTransfer_h
2 #define art_Framework_Services_Optional_TrivialFileTransfer_h
3 // vim: set sw=2 expandtab :
4 
5 // ==========================================================================
6 // TrivialFileTransfer
7 //
8 // Class for service that return a fully qualified name of a file that
9 // has been copied into local scratch, when given a URI specifying a
10 // desired file. This inherits from the art::FileTransfer base class.
11 // Eventually, GeneralFileTransfer will replace this class; this ad-hoc
12 // concrete class is meant as an early-testing scaffold.
13 // ==========================================================================
14 
19 #include "fhiclcpp/ParameterSet.h"
20 
21 #include <iosfwd>
22 #include <string>
23 
24 namespace art {
25 
27  // Configuration
28  public:
29  struct Config {};
31  // Special Member Functions
32  public:
34  TrivialFileTransfer(Parameters const& pset);
39  // Implementation -- Required by base class
40  private:
42  std::string& fileFQname) override;
43  };
44 
45 } // namespace art
46 
49  SHARED)
50 
51 #endif /* art_Framework_Services_Optional_TrivialFileTransfer_h */
52 
53 // Local Variables:
54 // mode: c++
55 // End:
std::string string
Definition: nybbler.cc:12
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
int doTranslateToLocalFilename(std::string const &uri, std::string &fileFQname) override
TrivialFileTransfer & operator=(TrivialFileTransfer const &)
TrivialFileTransfer(Parameters const &pset)