From cc3b8843295fafbc6171817c4f0fe48552bce65c Mon Sep 17 00:00:00 2001 From: Peter Peterson <petersonpf@ornl.gov> Date: Thu, 3 Oct 2013 12:44:44 -0400 Subject: [PATCH] Re #8074. Moving code from header to source. --- .../AlignAndFocusPowder.h | 10 ++++----- .../src/AlignAndFocusPowder.cpp | 22 +++++++++++++++++++ 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/Code/Mantid/Framework/WorkflowAlgorithms/inc/MantidWorkflowAlgorithms/AlignAndFocusPowder.h b/Code/Mantid/Framework/WorkflowAlgorithms/inc/MantidWorkflowAlgorithms/AlignAndFocusPowder.h index eeed812c9ab..258b8de0d1c 100644 --- a/Code/Mantid/Framework/WorkflowAlgorithms/inc/MantidWorkflowAlgorithms/AlignAndFocusPowder.h +++ b/Code/Mantid/Framework/WorkflowAlgorithms/inc/MantidWorkflowAlgorithms/AlignAndFocusPowder.h @@ -58,15 +58,15 @@ namespace Mantid { public: /// Empty Constructor - AlignAndFocusPowder() : API::Algorithm() {} + AlignAndFocusPowder(); /// Destructor - virtual ~AlignAndFocusPowder() {} + virtual ~AlignAndFocusPowder(); /// Algorithm's name for identification overriding a virtual method - virtual const std::string name() const { return "AlignAndFocusPowder";} + virtual const std::string name() const; /// Algorithm's version for identification overriding a virtual method - virtual int version() const { return 1;} + virtual int version() const; /// Algorithm's category for identification overriding a virtual method - virtual const std::string category() const { return "Workflow\\Diffraction";} + virtual const std::string category() const; private: /// Sets documentation strings for this algorithm diff --git a/Code/Mantid/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp b/Code/Mantid/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp index 566942f45f4..362f2cac584 100644 --- a/Code/Mantid/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp +++ b/Code/Mantid/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp @@ -54,6 +54,28 @@ namespace WorkflowAlgorithms // Register the class into the algorithm factory DECLARE_ALGORITHM(AlignAndFocusPowder) + AlignAndFocusPowder::AlignAndFocusPowder() : + API::Algorithm() + {} + + AlignAndFocusPowder::~AlignAndFocusPowder() + {} + + const std::string AlignAndFocusPowder::name() const + { + return "AlignAndFocusPowder"; + } + + int AlignAndFocusPowder::version() const + { + return 1; + } + + const std::string AlignAndFocusPowder::category() const + { + return "Workflow\\Diffraction"; + } + //---------------------------------------------------------------------------------------------- /** Sets documentation strings for this algorithm */ -- GitLab