12#include "MantidICat/DllConfig.h"
39 const std::string
name()
const override {
return "CatalogPublish"; }
41 const std::string
summary()
const override {
42 return "Allows the user to publish datafiles or workspaces to the "
43 "information catalog.";
46 int version()
const override {
return 1; }
47 const std::vector<std::string>
seeAlso()
const override {
return {
"CatalogLogin"}; }
49 const std::string
category()
const override {
return "DataHandling\\Catalog"; }
57 void publish(std::istream &fileContents,
const std::string &uploadURL);
61 bool isDataFile(
const std::string &filePath);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
CatalogPublish is responsible for publishing user data to the data archive.
CatalogPublish()
constructor
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
bool checkGroups() override
We want "SaveNexus" to take care of checking groups. Not this algorithm.
~CatalogPublish() override=default
Destructor.
int version() const override
Algorithm's version for identification.
const std::string name() const override
Algorithm's name for identification.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
std::shared_ptr< ICatalogInfoService > ICatalogInfoService_sptr
Helper class which provides the Collimation Length for SANS instruments.