11#include <boost/python/dict.hpp>
14namespace PythonInterface {
18 const std::string name()
const override;
19 int version()
const override;
20 const std::string category()
const override;
21 const std::string summary()
const override;
22 std::map<std::string, std::string> validateInputs()
override;
25 bool checkGroups()
override;
30 std::string scriptCode()
const;
32 std::shared_ptr<API::Workspace> executeScript(
const std::string &script)
const;
34 boost::python::dict doExecuteScript(
const std::string &script)
const;
37 boost::python::dict buildLocals()
const;
39 std::shared_ptr<API::Workspace> extractOutputWorkspace(
const boost::python::dict &locals)
const;
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Base class from which all concrete algorithm classes should be derived.
Helper class which provides the Collimation Length for SANS instruments.