15#include "MantidDataHandling/DllConfig.h"
18namespace DataHandling {
26 const std::string
name()
const override {
return "SaveDiffFittingAscii"; }
29 const std::string
summary()
const override {
30 return "Saves the results to ASCII file after carrying out single peak "
33 "EnggFitPeaks algorithm.";
37 int version()
const override {
return (1); }
38 const std::vector<std::string>
seeAlso()
const override {
return {
"EnggFitPeaks",
"SaveAscii"}; }
41 const std::string
category()
const override {
return "DataHandling\\Text"; }
52 bool processGroups()
override;
55 std::map<std::string, std::string> validateInputs()
override;
58 void processAll(
const std::vector<API::ITableWorkspace_sptr> &input_ws);
60 std::vector<std::string> splitList(std::string strList);
62 void writeInfo(
const std::string &runNumber,
const std::string &bank, std::ofstream &file);
64 void writeHeader(
const std::vector<std::string> &columnHeadings, std::ofstream &file);
68 void writeVal(
const std::string &val, std::ofstream &file,
const bool endline);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
Class for marking algorithms as deprecated.
int version() const override
Algorithm's version.
int m_counter
table_counter
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const char m_sep
the separator
const std::string summary() const override
Summary of algorithms purpose.
const std::string name() const override
Algorithm's name.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
Helper class which provides the Collimation Length for SANS instruments.