From 857dcd0aa4d56204be6d45149845f6c21e0ee351 Mon Sep 17 00:00:00 2001 From: Steven Hahn <hahnse@ornl.gov> Date: Mon, 13 Jun 2016 14:49:44 -0400 Subject: [PATCH] clang-format --- .../Algorithms/inc/MantidAlgorithms/ApplyDetailedBalance.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/CalculateResolution.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ChangePulsetime.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ClearMaskFlag.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/Comment.h | 1 - .../Algorithms/inc/MantidAlgorithms/ConvertAxesToRealSpace.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ConvertDiffCal.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ConvertEmptyToTof.h | 1 - .../Algorithms/inc/MantidAlgorithms/ConvertToEventWorkspace.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/CopyLogs.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/CopySample.h | 1 - .../Algorithms/inc/MantidAlgorithms/CorelliCrossCorrelate.h | 1 - .../Algorithms/inc/MantidAlgorithms/CreateFlatEventWorkspace.h | 1 - .../Algorithms/inc/MantidAlgorithms/CreateGroupingWorkspace.h | 1 - .../Algorithms/inc/MantidAlgorithms/CreateLogTimeCorrection.h | 1 - .../inc/MantidAlgorithms/CreateTransmissionWorkspaceAuto.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/CreateWorkspace.h | 1 - .../Algorithms/inc/MantidAlgorithms/DetectorEfficiencyCorUser.h | 1 - .../inc/MantidAlgorithms/EstimateResolutionDiffraction.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ExportTimeSeriesLog.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ExtractMaskToTable.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ExtractSpectra.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/FilterBadPulses.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/FilterByLogValue.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/FilterByTime.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/FilterByXValue.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/FindPeakBackground.h | 1 - .../Algorithms/inc/MantidAlgorithms/FixGSASInstrumentFile.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/GetDetectorOffsets.h | 2 +- .../Algorithms/inc/MantidAlgorithms/IntegrateByComponent.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/InvertMask.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/LorentzCorrection.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/MaxEnt.h | 1 - .../inc/MantidAlgorithms/MultipleScatteringCylinderAbsorption.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/MuonGroupDetectors.h | 1 - .../inc/MantidAlgorithms/PDDetermineCharacterizations.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/PDFFourierTransform.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/Pause.h | 1 - .../Algorithms/inc/MantidAlgorithms/PerformIndexOperations.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RadiusSum.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RayTracerTester.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RebinByPulseTimes.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RebinByTimeAtSample.h | 1 - .../Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne.h | 1 - .../inc/MantidAlgorithms/ReflectometryReductionOneAuto.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RemoveMaskedSpectra.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/RemovePromptPulse.h | 1 - .../Algorithms/inc/MantidAlgorithms/RemoveWorkspaceHistory.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ResetNegatives.h | 1 - .../Algorithms/inc/MantidAlgorithms/ResizeRectangularDetector.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/SetUncertainties.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/ShiftLogTime.h | 1 - .../inc/MantidAlgorithms/SpecularReflectionCalculateTheta.h | 1 - .../inc/MantidAlgorithms/SpecularReflectionPositionCorrect.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/StripVanadiumPeaks2.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/SumEventsByLogValue.h | 1 - .../Algorithms/inc/MantidAlgorithms/UpdateScriptRepository.h | 1 - .../Algorithms/inc/MantidAlgorithms/VesuvioL1ThetaResolution.h | 1 - .../Algorithms/inc/MantidAlgorithms/WeightedMeanOfWorkspace.h | 1 - Framework/Algorithms/inc/MantidAlgorithms/WienerSmooth.h | 1 - Framework/Algorithms/src/CalculateResolution.cpp | 1 - Framework/Algorithms/src/ResampleX.cpp | 1 - 62 files changed, 1 insertion(+), 62 deletions(-) diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ApplyDetailedBalance.h b/Framework/Algorithms/inc/MantidAlgorithms/ApplyDetailedBalance.h index 6a089239177..7422e4c10d0 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ApplyDetailedBalance.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ApplyDetailedBalance.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport ApplyDetailedBalance : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override { return "ApplyDetailedBalance"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CalculateResolution.h b/Framework/Algorithms/inc/MantidAlgorithms/CalculateResolution.h index 226ef9abefe..7a110f0cf1a 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CalculateResolution.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CalculateResolution.h @@ -35,7 +35,6 @@ Code Documentation is available at: <http://doxygen.mantidproject.org> class DLLExport CalculateResolution : public API::DataProcessorAlgorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ChangePulsetime.h b/Framework/Algorithms/inc/MantidAlgorithms/ChangePulsetime.h index abbd1f4dbd6..0b0e6648194 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ChangePulsetime.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ChangePulsetime.h @@ -14,7 +14,6 @@ namespace Algorithms { */ class DLLExport ChangePulsetime : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override { return "ChangePulsetime"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ClearMaskFlag.h b/Framework/Algorithms/inc/MantidAlgorithms/ClearMaskFlag.h index ddfd6f4de89..99eb3d1fb12 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ClearMaskFlag.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ClearMaskFlag.h @@ -32,7 +32,6 @@ namespace Algorithms { */ class DLLExport ClearMaskFlag : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/Comment.h b/Framework/Algorithms/inc/MantidAlgorithms/Comment.h index dbd92e0c2a8..5d3db76cf3f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/Comment.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/Comment.h @@ -31,7 +31,6 @@ namespace Algorithms { */ class DLLExport Comment : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ConvertAxesToRealSpace.h b/Framework/Algorithms/inc/MantidAlgorithms/ConvertAxesToRealSpace.h index 64ee7c4226f..082160564d1 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ConvertAxesToRealSpace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ConvertAxesToRealSpace.h @@ -37,7 +37,6 @@ namespace Algorithms { */ class DLLExport ConvertAxesToRealSpace : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ConvertDiffCal.h b/Framework/Algorithms/inc/MantidAlgorithms/ConvertDiffCal.h index cb379928f97..8c4a70b7708 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ConvertDiffCal.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ConvertDiffCal.h @@ -31,7 +31,6 @@ namespace Algorithms { */ class DLLExport ConvertDiffCal : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ConvertEmptyToTof.h b/Framework/Algorithms/inc/MantidAlgorithms/ConvertEmptyToTof.h index 3da3c61a825..363cfa4620f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ConvertEmptyToTof.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ConvertEmptyToTof.h @@ -40,7 +40,6 @@ namespace Algorithms { */ class DLLExport ConvertEmptyToTof : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ConvertToEventWorkspace.h b/Framework/Algorithms/inc/MantidAlgorithms/ConvertToEventWorkspace.h index 63e45ef27e9..002d9a88f34 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ConvertToEventWorkspace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ConvertToEventWorkspace.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport ConvertToEventWorkspace : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override { return "ConvertToEventWorkspace"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CopyLogs.h b/Framework/Algorithms/inc/MantidAlgorithms/CopyLogs.h index 92ffe8aba3a..9ac0cda4991 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CopyLogs.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CopyLogs.h @@ -44,7 +44,6 @@ namespace Algorithms { */ class DLLExport CopyLogs : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CopySample.h b/Framework/Algorithms/inc/MantidAlgorithms/CopySample.h index 51ffa48d792..0fd33a49057 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CopySample.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CopySample.h @@ -47,7 +47,6 @@ National Laboratory & European Spallation Source */ class DLLExport CopySample : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override { return "CopySample"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CorelliCrossCorrelate.h b/Framework/Algorithms/inc/MantidAlgorithms/CorelliCrossCorrelate.h index 98bed8381d1..040d985c449 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CorelliCrossCorrelate.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CorelliCrossCorrelate.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport CorelliCrossCorrelate : public API::Algorithm { public: - const std::string name() const override { return "CorelliCrossCorrelate"; }; int version() const override { return 1; }; const std::string category() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CreateFlatEventWorkspace.h b/Framework/Algorithms/inc/MantidAlgorithms/CreateFlatEventWorkspace.h index d802b421ee9..8f895b84fd3 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CreateFlatEventWorkspace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CreateFlatEventWorkspace.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport CreateFlatEventWorkspace : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CreateGroupingWorkspace.h b/Framework/Algorithms/inc/MantidAlgorithms/CreateGroupingWorkspace.h index b2047e938a8..3114ba65dc9 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CreateGroupingWorkspace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CreateGroupingWorkspace.h @@ -16,7 +16,6 @@ namespace Algorithms { */ class DLLExport CreateGroupingWorkspace : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CreateLogTimeCorrection.h b/Framework/Algorithms/inc/MantidAlgorithms/CreateLogTimeCorrection.h index 7246860aaf9..b7809a6b87d 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CreateLogTimeCorrection.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CreateLogTimeCorrection.h @@ -42,7 +42,6 @@ namespace Algorithms { */ class DLLExport CreateLogTimeCorrection : public API::Algorithm { public: - const std::string name() const override { return "CreateLogTimeCorrection"; } /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CreateTransmissionWorkspaceAuto.h b/Framework/Algorithms/inc/MantidAlgorithms/CreateTransmissionWorkspaceAuto.h index 72e8a730514..430f6e4ea75 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CreateTransmissionWorkspaceAuto.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CreateTransmissionWorkspaceAuto.h @@ -36,7 +36,6 @@ Code Documentation is available at: <http://doxygen.mantidproject.org> class DLLExport CreateTransmissionWorkspaceAuto : public API::DataProcessorAlgorithm { public: - //---------------------------------------------------------------------------------------------- /// Algorithm's name for identification. @see Algorithm::name const std::string name() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/CreateWorkspace.h b/Framework/Algorithms/inc/MantidAlgorithms/CreateWorkspace.h index 6b212808f54..ed574dcd7d6 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/CreateWorkspace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/CreateWorkspace.h @@ -49,7 +49,6 @@ namespace Algorithms { */ class DLLExport CreateWorkspace : public API::Algorithm { public: - const std::string name() const override { return "CreateWorkspace"; } ///< @return the algorithms name diff --git a/Framework/Algorithms/inc/MantidAlgorithms/DetectorEfficiencyCorUser.h b/Framework/Algorithms/inc/MantidAlgorithms/DetectorEfficiencyCorUser.h index 572e7b5f067..4b8f8dca82c 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/DetectorEfficiencyCorUser.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/DetectorEfficiencyCorUser.h @@ -39,7 +39,6 @@ namespace Algorithms { */ class DLLExport DetectorEfficiencyCorUser : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/EstimateResolutionDiffraction.h b/Framework/Algorithms/inc/MantidAlgorithms/EstimateResolutionDiffraction.h index 90609b1cfbe..ffaf33b68d0 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/EstimateResolutionDiffraction.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/EstimateResolutionDiffraction.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport EstimateResolutionDiffraction : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ExportTimeSeriesLog.h b/Framework/Algorithms/inc/MantidAlgorithms/ExportTimeSeriesLog.h index 7067647ba02..ab41b5ee8e0 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ExportTimeSeriesLog.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ExportTimeSeriesLog.h @@ -38,7 +38,6 @@ namespace Algorithms { */ class DLLExport ExportTimeSeriesLog : public API::Algorithm { public: - const std::string name() const override { return "ExportTimeSeriesLog"; }; int version() const override { return 1; }; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ExtractMaskToTable.h b/Framework/Algorithms/inc/MantidAlgorithms/ExtractMaskToTable.h index c2498c9eee3..a2da267a776 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ExtractMaskToTable.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ExtractMaskToTable.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport ExtractMaskToTable : public API::Algorithm { public: - /// Algorithm's name const std::string name() const override { return "ExtractMaskToTable"; } /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ExtractSpectra.h b/Framework/Algorithms/inc/MantidAlgorithms/ExtractSpectra.h index 4329fa8bd2f..60f9e65fc4f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ExtractSpectra.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ExtractSpectra.h @@ -35,7 +35,6 @@ namespace Algorithms { */ class DLLExport ExtractSpectra : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FilterBadPulses.h b/Framework/Algorithms/inc/MantidAlgorithms/FilterBadPulses.h index 0cfbd4ef84a..54d83ef9bea 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FilterBadPulses.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FilterBadPulses.h @@ -51,7 +51,6 @@ namespace Algorithms { */ class DLLExport FilterBadPulses : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FilterByLogValue.h b/Framework/Algorithms/inc/MantidAlgorithms/FilterByLogValue.h index 0a792149dbb..3bd51a1cd90 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FilterByLogValue.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FilterByLogValue.h @@ -35,7 +35,6 @@ namespace Algorithms { */ class DLLExport FilterByLogValue : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "FilterByLogValue"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FilterByTime.h b/Framework/Algorithms/inc/MantidAlgorithms/FilterByTime.h index 805079ffe83..bcb0d3e2d2f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FilterByTime.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FilterByTime.h @@ -42,7 +42,6 @@ namespace Algorithms { */ class DLLExport FilterByTime : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "FilterByTime"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FilterByXValue.h b/Framework/Algorithms/inc/MantidAlgorithms/FilterByXValue.h index 935bd481c46..95e703d2c46 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FilterByXValue.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FilterByXValue.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport FilterByXValue : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FindPeakBackground.h b/Framework/Algorithms/inc/MantidAlgorithms/FindPeakBackground.h index e17a3e5f9cf..223b3dfc24b 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FindPeakBackground.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FindPeakBackground.h @@ -32,7 +32,6 @@ namespace Algorithms { */ class DLLExport FindPeakBackground : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "FindPeakBackground"; } /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/FixGSASInstrumentFile.h b/Framework/Algorithms/inc/MantidAlgorithms/FixGSASInstrumentFile.h index a342d948731..7376307abd1 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/FixGSASInstrumentFile.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/FixGSASInstrumentFile.h @@ -32,7 +32,6 @@ namespace Algorithms { */ class DLLExport FixGSASInstrumentFile : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "FixGSASInstrumentFile"; } /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/GetDetectorOffsets.h b/Framework/Algorithms/inc/MantidAlgorithms/GetDetectorOffsets.h index b67d824824b..f7b2392926d 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/GetDetectorOffsets.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/GetDetectorOffsets.h @@ -67,7 +67,7 @@ private: API::MatrixWorkspace_sptr inputW; ///< A pointer to the input workspace DataObjects::OffsetsWorkspace_sptr - outputW; ///< A pointer to the output workspace + outputW; ///< A pointer to the output workspace double m_Xmin = DBL_MAX; ///< The start of the X range for fitting double m_Xmax = -DBL_MIN; ///< The end of the X range for fitting double m_maxOffset = 0.0; ///< The maximum absolute value of offsets diff --git a/Framework/Algorithms/inc/MantidAlgorithms/IntegrateByComponent.h b/Framework/Algorithms/inc/MantidAlgorithms/IntegrateByComponent.h index 70c48f5ee0d..caa647670c5 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/IntegrateByComponent.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/IntegrateByComponent.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport IntegrateByComponent : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/InvertMask.h b/Framework/Algorithms/inc/MantidAlgorithms/InvertMask.h index dc2f812ed8e..5fbb20ac6df 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/InvertMask.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/InvertMask.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport InvertMask : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "InvertMask"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/LorentzCorrection.h b/Framework/Algorithms/inc/MantidAlgorithms/LorentzCorrection.h index 28bbe3fe02e..ba973bfdf0e 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/LorentzCorrection.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/LorentzCorrection.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport LorentzCorrection : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/MaxEnt.h b/Framework/Algorithms/inc/MantidAlgorithms/MaxEnt.h index 62b790fa921..9c7a4d0cc8a 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/MaxEnt.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/MaxEnt.h @@ -38,7 +38,6 @@ namespace Algorithms { class DLLExport MaxEnt : public API::Algorithm { public: - /// Algorithm's name const std::string name() const override; /// Algorithm's version diff --git a/Framework/Algorithms/inc/MantidAlgorithms/MultipleScatteringCylinderAbsorption.h b/Framework/Algorithms/inc/MantidAlgorithms/MultipleScatteringCylinderAbsorption.h index e732ffeac25..6cfb137ff53 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/MultipleScatteringCylinderAbsorption.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/MultipleScatteringCylinderAbsorption.h @@ -41,7 +41,6 @@ namespace Algorithms { */ class DLLExport MultipleScatteringCylinderAbsorption : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/MuonGroupDetectors.h b/Framework/Algorithms/inc/MantidAlgorithms/MuonGroupDetectors.h index df32f6779da..ccd927821b1 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/MuonGroupDetectors.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/MuonGroupDetectors.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport MuonGroupDetectors : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/PDDetermineCharacterizations.h b/Framework/Algorithms/inc/MantidAlgorithms/PDDetermineCharacterizations.h index fc1ee51d32a..0e2094499c2 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/PDDetermineCharacterizations.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/PDDetermineCharacterizations.h @@ -45,7 +45,6 @@ namespace Algorithms { */ class DLLExport PDDetermineCharacterizations : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/PDFFourierTransform.h b/Framework/Algorithms/inc/MantidAlgorithms/PDFFourierTransform.h index 5b2ecd6b36d..584667f9372 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/PDFFourierTransform.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/PDFFourierTransform.h @@ -11,7 +11,6 @@ namespace Algorithms { */ class DLLExport PDFFourierTransform : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/Pause.h b/Framework/Algorithms/inc/MantidAlgorithms/Pause.h index f713725602e..b90832e4a85 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/Pause.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/Pause.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport Pause : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/PerformIndexOperations.h b/Framework/Algorithms/inc/MantidAlgorithms/PerformIndexOperations.h index cf06bad4d6c..fa32a9e561a 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/PerformIndexOperations.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/PerformIndexOperations.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport PerformIndexOperations : public API::DataProcessorAlgorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RadiusSum.h b/Framework/Algorithms/inc/MantidAlgorithms/RadiusSum.h index 3a4a82016a6..af0fc0257a7 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RadiusSum.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RadiusSum.h @@ -38,7 +38,6 @@ namespace Algorithms { */ class DLLExport RadiusSum : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RayTracerTester.h b/Framework/Algorithms/inc/MantidAlgorithms/RayTracerTester.h index 35e43818ac6..2bddde94b39 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RayTracerTester.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RayTracerTester.h @@ -35,7 +35,6 @@ namespace Algorithms { */ class DLLExport RayTracerTester : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override { return "RayTracerTester"; }; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RebinByPulseTimes.h b/Framework/Algorithms/inc/MantidAlgorithms/RebinByPulseTimes.h index 9a12aa79f8a..711aabe826f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RebinByPulseTimes.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RebinByPulseTimes.h @@ -33,7 +33,6 @@ namespace Algorithms { */ class DLLExport RebinByPulseTimes : public RebinByTimeBase { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RebinByTimeAtSample.h b/Framework/Algorithms/inc/MantidAlgorithms/RebinByTimeAtSample.h index 62295843af1..6bca5d6b0e0 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RebinByTimeAtSample.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RebinByTimeAtSample.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport RebinByTimeAtSample : public RebinByTimeBase { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne.h b/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne.h index 27e205e4478..307cefada5e 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOne.h @@ -38,7 +38,6 @@ namespace Algorithms { */ class DLLExport ReflectometryReductionOne : public ReflectometryWorkflowBase { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOneAuto.h b/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOneAuto.h index 9fb4e42f273..9097885906d 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOneAuto.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ReflectometryReductionOneAuto.h @@ -37,7 +37,6 @@ Code Documentation is available at: <http://doxygen.mantidproject.org> class DLLExport ReflectometryReductionOneAuto : public API::DataProcessorAlgorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RemoveMaskedSpectra.h b/Framework/Algorithms/inc/MantidAlgorithms/RemoveMaskedSpectra.h index 352b7e6235d..95d106f840e 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RemoveMaskedSpectra.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RemoveMaskedSpectra.h @@ -32,7 +32,6 @@ namespace Algorithms { */ class DLLExport RemoveMaskedSpectra : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RemovePromptPulse.h b/Framework/Algorithms/inc/MantidAlgorithms/RemovePromptPulse.h index 2589ae2adec..48d73311a86 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RemovePromptPulse.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RemovePromptPulse.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport RemovePromptPulse : public API::Algorithm { public: - /// Algorithm's name for identification const std::string name() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/RemoveWorkspaceHistory.h b/Framework/Algorithms/inc/MantidAlgorithms/RemoveWorkspaceHistory.h index f1304d1437c..5c2e4ffaa01 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/RemoveWorkspaceHistory.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/RemoveWorkspaceHistory.h @@ -35,7 +35,6 @@ namespace Algorithms { */ class DLLExport RemoveWorkspaceHistory : public API::Algorithm { public: - const std::string name() const override; const std::string summary() const override; int version() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ResetNegatives.h b/Framework/Algorithms/inc/MantidAlgorithms/ResetNegatives.h index 14cd0105aa9..012d4e66305 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ResetNegatives.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ResetNegatives.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport ResetNegatives : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ResizeRectangularDetector.h b/Framework/Algorithms/inc/MantidAlgorithms/ResizeRectangularDetector.h index 606fdcd8d11..1d4e8b3d43f 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ResizeRectangularDetector.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ResizeRectangularDetector.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport ResizeRectangularDetector : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/SetUncertainties.h b/Framework/Algorithms/inc/MantidAlgorithms/SetUncertainties.h index e7f2065614a..24a3d17912a 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/SetUncertainties.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/SetUncertainties.h @@ -41,7 +41,6 @@ namespace Algorithms { */ class DLLExport SetUncertainties : public API::Algorithm { public: - /// Algorithm's name const std::string name() const override; /// Summary of algorithms purpose diff --git a/Framework/Algorithms/inc/MantidAlgorithms/ShiftLogTime.h b/Framework/Algorithms/inc/MantidAlgorithms/ShiftLogTime.h index 20d21c82ef9..8b233e64390 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/ShiftLogTime.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/ShiftLogTime.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport ShiftLogTime : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionCalculateTheta.h b/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionCalculateTheta.h index b72485dcccc..e7090faf683 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionCalculateTheta.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionCalculateTheta.h @@ -35,7 +35,6 @@ namespace Algorithms { class DLLExport SpecularReflectionCalculateTheta : public SpecularReflectionAlgorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionPositionCorrect.h b/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionPositionCorrect.h index 70bfc36488a..7f122162ad7 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionPositionCorrect.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/SpecularReflectionPositionCorrect.h @@ -35,7 +35,6 @@ namespace Algorithms { class DLLExport SpecularReflectionPositionCorrect : public SpecularReflectionAlgorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/StripVanadiumPeaks2.h b/Framework/Algorithms/inc/MantidAlgorithms/StripVanadiumPeaks2.h index 94021654dcf..42252fa1b19 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/StripVanadiumPeaks2.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/StripVanadiumPeaks2.h @@ -35,7 +35,6 @@ namespace Algorithms { */ class DLLExport StripVanadiumPeaks2 : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "StripVanadiumPeaks"; } /// Algorithm's version for identification overriding a virtual method diff --git a/Framework/Algorithms/inc/MantidAlgorithms/SumEventsByLogValue.h b/Framework/Algorithms/inc/MantidAlgorithms/SumEventsByLogValue.h index 1f8cbf4944c..12d4de12a8e 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/SumEventsByLogValue.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/SumEventsByLogValue.h @@ -39,7 +39,6 @@ namespace Algorithms { */ class DLLExport SumEventsByLogValue : public API::Algorithm { public: - /// Algorithm's name for identification overriding a virtual method const std::string name() const override { return "SumEventsByLogValue"; } /// Algorithm's version for identification overriding a virtual method diff --git a/Framework/Algorithms/inc/MantidAlgorithms/UpdateScriptRepository.h b/Framework/Algorithms/inc/MantidAlgorithms/UpdateScriptRepository.h index f0c93e41eac..8fe8749094d 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/UpdateScriptRepository.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/UpdateScriptRepository.h @@ -36,7 +36,6 @@ namespace Algorithms { */ class DLLExport UpdateScriptRepository : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/VesuvioL1ThetaResolution.h b/Framework/Algorithms/inc/MantidAlgorithms/VesuvioL1ThetaResolution.h index ecd1825b3ce..b50d282e9e0 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/VesuvioL1ThetaResolution.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/VesuvioL1ThetaResolution.h @@ -38,7 +38,6 @@ namespace Algorithms { */ class DLLExport VesuvioL1ThetaResolution : public API::Algorithm { public: - const std::string name() const override; int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/inc/MantidAlgorithms/WeightedMeanOfWorkspace.h b/Framework/Algorithms/inc/MantidAlgorithms/WeightedMeanOfWorkspace.h index b849c9004ff..e61de16ed74 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/WeightedMeanOfWorkspace.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/WeightedMeanOfWorkspace.h @@ -34,7 +34,6 @@ Code Documentation is available at: <http://doxygen.mantidproject.org> */ class DLLExport WeightedMeanOfWorkspace : public API::Algorithm { public: - const std::string name() const override; /// Summary of algorithms purpose const std::string summary() const override { diff --git a/Framework/Algorithms/inc/MantidAlgorithms/WienerSmooth.h b/Framework/Algorithms/inc/MantidAlgorithms/WienerSmooth.h index 03a15c849a2..1b2f0d64abe 100644 --- a/Framework/Algorithms/inc/MantidAlgorithms/WienerSmooth.h +++ b/Framework/Algorithms/inc/MantidAlgorithms/WienerSmooth.h @@ -34,7 +34,6 @@ namespace Algorithms { */ class DLLExport WienerSmooth : public API::Algorithm { public: - const std::string name() const override { return "WienerSmooth"; } int version() const override; const std::string category() const override; diff --git a/Framework/Algorithms/src/CalculateResolution.cpp b/Framework/Algorithms/src/CalculateResolution.cpp index 8afb5ba8adb..4775201a072 100644 --- a/Framework/Algorithms/src/CalculateResolution.cpp +++ b/Framework/Algorithms/src/CalculateResolution.cpp @@ -19,7 +19,6 @@ using namespace Mantid::Kernel; // Register the algorithm into the AlgorithmFactory DECLARE_ALGORITHM(CalculateResolution) - //---------------------------------------------------------------------------------------------- /// Algorithm's name for identification. @see Algorithm::name diff --git a/Framework/Algorithms/src/ResampleX.cpp b/Framework/Algorithms/src/ResampleX.cpp index a4446e46559..e2f2cea03d2 100644 --- a/Framework/Algorithms/src/ResampleX.cpp +++ b/Framework/Algorithms/src/ResampleX.cpp @@ -24,7 +24,6 @@ using std::vector; // Register the algorithm into the AlgorithmFactory DECLARE_ALGORITHM(ResampleX) - //---------------------------------------------------------------------------------------------- /// Algorithm's name for identification. @see Algorithm::name const std::string ResampleX::name() const { return "ResampleX"; } -- GitLab