Newer
Older
Gigg, Martyn Anthony
committed
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
//--------------------------------
// Includes
//--------------------------------
#include "MantidDataHandling/CreateSampleShape.h"
#include "MantidGeometry/ShapeFactory.h"
#include "MantidAPI/MatrixWorkspace.h"
namespace Mantid
{
namespace DataHandling
{
// Register the algorithm into the AlgorithmFactory
// DECLARE_ALGORITHM(CreateSampleShape)
}
}
using namespace Mantid::DataHandling;
// Get a reference to the logger. It is used to print out information, warning and error messages
Mantid::Kernel::Logger& CreateSampleShape::g_log = Mantid::Kernel::Logger::get("CreateSampleShape");
/**
* Initialize the algorithm
*/
void CreateSampleShape::init()
{
using namespace Mantid::Kernel;
using namespace Mantid::API;
declareProperty(new WorkspaceProperty<MatrixWorkspace>("Workspace","",Direction::Input));
declareProperty("ShapeXML","",new MandatoryValidator<std::string>());
}
/**
* Execute the algorithm
*/
void CreateSampleShape::exec()
{
}