13#include "MantidDataHandling/DllConfig.h"
17namespace DataHandling {
74 const std::string
name()
const override {
return "SaveCSV"; };
76 const std::string
summary()
const override {
return "Saves a 1D or 2D workspace to a CSV file."; }
79 int version()
const override {
return 1; };
80 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveAscii"}; }
82 const std::string
category()
const override {
return "DataHandling\\Text"; }
93 const size_t numberOfHist);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
Saves a 1D or 2D workspace to a CSV file.
std::string m_lineSeparator
The line seperator for the CSV file.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
SaveCSV()
Default constructor.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
std::string m_filename
The name of the file used for storing the workspace.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
std::string m_separator
The seperator for the CSV file.
std::shared_ptr< Workspace2D > Workspace2D_sptr
shared pointer to Mantid::DataObjects::Workspace2D
Helper class which provides the Collimation Length for SANS instruments.