9#include "MantidDataHandling/DllConfig.h"
13namespace DataHandling {
24 const std::string
name()
const override {
return "SaveNXcanSAS"; }
26 const std::string
summary()
const override {
27 return "Save a MatrixWorkspace to a file in the NXcanSAS format (for both 1D and 2D data).";
30 bool checkGroups()
override;
31 bool processGroups()
override;
34 int version()
const override {
return (1); }
35 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveCanSAS1D",
"LoadNXcanSAS"}; }
37 const std::string
category()
const override {
return "DataHandling\\Nexus"; }
39 std::map<std::string, std::string> validateInputs()
override;
46 void processAllWorkspaces();
SaveNXcanSASBase : Base class to save a reduced workspace in the NXcanSAS format.
SaveNXcanSAS : Saves a reduced workspace in the NXcanSAS format.
std::vector< API::MatrixWorkspace_sptr > m_workspaces
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
~SaveNXcanSAS() override=default
Virtual dtor.
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
function to return a name of the algorithm, must be overridden in all algorithms
SaveNXcanSAS()
Constructor.
Helper class which provides the Collimation Length for SANS instruments.