Skip to content

Commit

Permalink
Refs #4647 Removed PairedGroupAlgorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Jan 25, 2012
1 parent 1cadfc8 commit 9191487
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 97 deletions.
2 changes: 0 additions & 2 deletions Code/Mantid/Framework/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ set ( SRC_FILES
src/MultipleExperimentInfos.cpp
src/MultipleFileProperty.cpp
src/NumericAxis.cpp
src/PairedGroupAlgorithm.cpp
src/ParamFunction.cpp
src/ParameterReference.cpp
src/ParameterTie.cpp
Expand Down Expand Up @@ -172,7 +171,6 @@ set ( INC_FILES
inc/MantidAPI/MultipleExperimentInfos.h
inc/MantidAPI/MultipleFileProperty.h
inc/MantidAPI/NumericAxis.h
inc/MantidAPI/PairedGroupAlgorithm.h
inc/MantidAPI/ParamFunction.h
inc/MantidAPI/ParameterReference.h
inc/MantidAPI/ParameterTie.h
Expand Down
58 changes: 0 additions & 58 deletions Code/Mantid/Framework/API/inc/MantidAPI/PairedGroupAlgorithm.h

This file was deleted.

25 changes: 0 additions & 25 deletions Code/Mantid/Framework/API/src/PairedGroupAlgorithm.cpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/PairedGroupAlgorithm.h"
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/Run.h"
#include "MantidAPI/Workspace.h"
#include "MantidAPI/WorkspaceGroup.h"
#include "MantidAPI/Run.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidDataObjects/EventList.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidKernel/System.h"

namespace Mantid
Expand Down Expand Up @@ -64,7 +64,7 @@ namespace Mantid
File change history is stored at: <https://svn.mantidproject.org/mantid/trunk/Code/Mantid>
*/
class DLLExport BinaryOperation : public API::PairedGroupAlgorithm
class DLLExport BinaryOperation : public API::Algorithm
{
public:
/// Default constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/PairedGroupAlgorithm.h"
#include "MantidAPI/Algorithm.h"
#include "MantidDataObjects/EventWorkspace.h"

namespace Mantid
Expand Down Expand Up @@ -48,7 +48,7 @@ namespace Algorithms
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 ConjoinWorkspaces : public API::PairedGroupAlgorithm
class DLLExport ConjoinWorkspaces : public API::Algorithm
{
public:
/// Empty constructor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef ALGORITHMS_REBINTOWORKSPACE_H_
#define ALGORITHMS_REBINTOWORKSPACE_H_

#include "MantidAPI/PairedGroupAlgorithm.h"
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace.h"

namespace Mantid
Expand Down Expand Up @@ -44,11 +44,11 @@ namespace Algorithms
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/

class DLLExport RebinToWorkspace : public Mantid::API::PairedGroupAlgorithm
class DLLExport RebinToWorkspace : public Mantid::API::Algorithm
{
public:
/// Constructor
RebinToWorkspace() : Mantid::API::PairedGroupAlgorithm() {}
RebinToWorkspace() : Mantid::API::Algorithm() {}
/// Virtual destructor
virtual ~RebinToWorkspace() {}
/// Algorithm's name
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Algorithms/src/BinaryOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Mantid
namespace Algorithms
{
BinaryOperation::BinaryOperation()
: API::PairedGroupAlgorithm(),
: API::Algorithm(),
m_ClearRHSWorkspace(false),
m_useHistogramForRhsEventWorkspace(false),
m_do2D_even_for_SingleColumn_on_rhs(false),
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/ConjoinWorkspaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void ConjoinWorkspaces::initDocs()

//----------------------------------------------------------------------------------------------
/// Default constructor
ConjoinWorkspaces::ConjoinWorkspaces() : PairedGroupAlgorithm(), m_progress(NULL) {}
ConjoinWorkspaces::ConjoinWorkspaces() : Algorithm(), m_progress(NULL) {}

//----------------------------------------------------------------------------------------------
/// Destructor
Expand Down Expand Up @@ -457,7 +457,7 @@ void ConjoinWorkspaces::fixSpectrumNumbers(API::MatrixWorkspace_const_sptr ws1,
output->generateSpectraMap();
}

/// Appends the removal of the empty group after execution to the PairedGroupAlgorithm::processGroups method
/// Appends the removal of the empty group after execution to the Algorithm::processGroups() method
bool ConjoinWorkspaces::processGroups()
{
// Call the base class method for most of the functionality
Expand Down

0 comments on commit 9191487

Please sign in to comment.