14#include "MantidDataHandling/DllConfig.h"
17namespace DataHandling {
29 const std::string
name()
const override {
return "SaveTBL"; }
31 const std::string
summary()
const override {
32 return "Saves a table workspace to a reflectometry tbl format ascii file.";
36 int version()
const override {
return 1; }
37 const std::vector<std::string>
seeAlso()
const override {
return {
"LoadTBL"}; }
39 const std::string
category()
const override {
return "DataHandling\\Text"; }
47 template <
class T>
void writeVal(
const T &val, std::ofstream &file,
bool endsep =
true,
bool endline =
false);
48 void writeColumnNames(std::ofstream &file, std::vector<std::string>
const &columnHeadings);
Base class from which all concrete algorithm classes should be derived.
Saves a table workspace to a reflectometry tbl format ascii file.
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 summary() const override
Summary of algorithms purpose.
const char m_sep
the separator
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
std::map< int, std::vector< size_t > > m_stichgroups
Map the separator options to their string equivalents.
std::vector< size_t > m_nogroup
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
Helper class which provides the Collimation Length for SANS instruments.