Mantid
Loading...
Searching...
No Matches
SaveNISTDAT.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidDataHandling/DllConfig.h"
14
15namespace Mantid {
16namespace DataHandling {
30class MANTID_DATAHANDLING_DLL SaveNISTDAT final : public API::Algorithm {
31public:
33 const std::string name() const override { return "SaveNISTDAT"; }
35 const std::string summary() const override {
36 return "Save I(Qx,Qy) data to a text file compatible with NIST and DANSE "
37 "readers.";
38 }
39
41 int version() const override { return (1); }
43 const std::string category() const override { return "SANS;DataHandling\\Text"; }
44
45private:
47 void init() override;
49 void exec() override;
50};
51
52} // namespace DataHandling
53} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Writer for compatibility with SansView and NIST reduced data file format.
Definition: SaveNISTDAT.h:30
const std::string summary() const override
Summary of algorithms purpose.
Definition: SaveNISTDAT.h:35
int version() const override
Algorithm's version.
Definition: SaveNISTDAT.h:41
const std::string category() const override
Algorithm's category for identification.
Definition: SaveNISTDAT.h:43
const std::string name() const override
Algorithm's name.
Definition: SaveNISTDAT.h:33
Helper class which provides the Collimation Length for SANS instruments.