"README.md" did not exist on "c5080c81cad9ab583818a28fed6be3eb6b0a8e99"
Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef MANTID_DATAHANDLING_LOAD_H_
#define MANTID_DATAHANDLING_LOAD_H_
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/Algorithm.h"
namespace Mantid
{
namespace DataHandling
{
/**
Loads a workspace from a data file. The algorithm tries to determine the actual type
of the file (raw, nxs, ...) and use the specialized loading algorith to load it.
@author Roman Tolchenov, Tessella plc
@date 38/07/2010
Copyright © 2007-2010 ISIS Rutherford Appleton Laboratory & NScD Oak Ridge National Laboratory
This file is part of Mantid.
Mantid is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Mantid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
File change history is stored at: <https://svn.mantidproject.org/mantid/trunk/Code/Mantid>.
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/
class DLLExport Load : public API::Algorithm
{
public:
Load(){}
~Load() {}
virtual const std::string name() const { return "Load"; }
Janik Zikovsky
committed
virtual int version() const { return 1; }
virtual const std::string category() const { return "DataHandling"; }
private:
void init();
void exec();
/// Run LoadRaw
void runLoadRaw(API::IAlgorithm_sptr&);
/// Run LoadNexus
void runLoadNexus(API::IAlgorithm_sptr&);
/// Run LoadAscii
void runLoadAscii(API::IAlgorithm_sptr&);
/// Run LoadSPE
void runLoadSPE(API::IAlgorithm_sptr&);
/// Run LoadSpice2D
void runLoadSpice2D(API::IAlgorithm_sptr&);
/// Set the output workspace(s)
void setOutputWorkspace(API::IAlgorithm_sptr&);
/// Set the output workspace
void setOutputMatrixWorkspace(API::IAlgorithm_sptr&);
};
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_LOAD_H_ */