20 string const fileURI{
"file://"};
38 int doTranslateToLocalFilename(std::string
const& uri,
39 std::string& fileFQname)
override;
42 TrivialFileTransfer::~TrivialFileTransfer() =
default;
44 TrivialFileTransfer::TrivialFileTransfer(
60 TrivialFileTransfer::doTranslateToLocalFilename(
string const& uri,
63 if (uri.substr(0, 7) != fileURI) {
70 if (uri.substr(0, 7) != fileURI) {
74 string inFileName{uri.substr(7)};
75 ifstream infile{inFileName};
80 fileFQname = inFileName;
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)