-
Notifications
You must be signed in to change notification settings - Fork 122
/
DownloadRemoteFile.h
36 lines (29 loc) · 989 Bytes
/
DownloadRemoteFile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef DOWNLOADREMOTEFILE_H_
#define DOWNLOADREMOTEFILE_H_
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/DeprecatedAlgorithm.h"
namespace Mantid {
namespace RemoteAlgorithms {
class DLLExport DownloadRemoteFile : public Mantid::API::Algorithm,
public API::DeprecatedAlgorithm {
public:
/// constructor
DownloadRemoteFile();
/// Algorithm's name
const std::string name() const override { return "DownloadRemoteFile"; }
/// Summary of algorithms purpose
const std::string summary() const override {
return "Download a file from a remote compute resource.";
}
/// Algorithm's version
int version() const override { return (1); }
/// Algorithm's category for identification
const std::string category() const override { return "Remote"; }
private:
void init() override;
/// Execution code
void exec() override;
};
} // end namespace RemoteAlgorithms
} // end namespace Mantid
#endif /*DOWNLOADREMOTEFILE_H_*/