13#include "MantidDataHandling/DllConfig.h"
18namespace DataHandling {
28 const std::string
name()
const override {
return "LoadTBL"; }
30 const std::string
summary()
const override {
31 return "Loads data from a reflectometry table file and stores it in a "
32 "table workspace (TableWorkspace class).";
36 int version()
const override {
return 1; }
37 const std::vector<std::string>
seeAlso()
const override {
return {
"SaveTBL"}; }
39 const std::string
category()
const override {
return "DataHandling\\Text"; }
49 bool getColumnHeadings(std::string line, std::vector<std::string> &cols);
51 size_t getCells(std::string line, std::vector<std::string> &cols,
size_t expectedCommas,
bool isOldTBL)
const;
53 size_t countCommas(
const std::string &line)
const;
55 size_t findQuotePairs(
const std::string &line, std::vector<std::vector<size_t>> "eBounds)
const;
58 void csvParse(
const std::string &line, std::vector<std::string> &cols, std::vector<std::vector<size_t>> "eBounds,
59 size_t expectedCommas)
const;
Defines an interface to an algorithm that loads a file so that it can take part in the automatic sele...
Loads a table workspace from an ascii file in reflectometry tbl format.
const std::string name() const override
The name of the algorithm.
const std::string category() const override
The category.
const std::string summary() const override
Summary of algorithms purpose.
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
The version number.
LoadTBL()
Default constructor.
Defines a wrapper around an open file.
Helper class which provides the Collimation Length for SANS instruments.