Skip to content

Commit

Permalink
Merge pull request #38579 from peterfpeterson/38457_generate_export_h…
Browse files Browse the repository at this point in the history
…eader

Remove includes of MantidKernel/System.h - ornl-next
  • Loading branch information
peterfpeterson authored Jan 9, 2025
2 parents ff47bef + 94614aa commit bc7e058
Show file tree
Hide file tree
Showing 95 changed files with 52 additions and 101 deletions.
1 change: 0 additions & 1 deletion Framework/API/inc/MantidAPI/BoxController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "MantidAPI/IBoxControllerIO.h"
#include "MantidKernel/DiskBuffer.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/System.h"
#include "MantidKernel/ThreadPool.h"
#include "MantidNexusCpp/NeXusFile.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

#include "MantidAPI/Algorithm.h"
#include "MantidAPI/BoxController.h"
#include "MantidAPI/DllConfig.h"
#include "MantidGeometry/Instrument.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
1 change: 0 additions & 1 deletion Framework/API/inc/MantidAPI/CoordTransform.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "MantidGeometry/MDGeometry/IMDDimension.h"
#include "MantidGeometry/MDGeometry/MDTypes.h"
#include "MantidKernel/Matrix.h"
#include "MantidKernel/System.h"
#include "MantidKernel/VMD.h"
#include <memory>

Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/DataProcessorAlgorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "MantidAPI/Algorithm.h"
#include "MantidAPI/AlgorithmManager.h"
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/IEventWorkspace_fwd.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidKernel/PropertyManager.h"
#include "MantidKernel/System.h"
#include <vector>

namespace Mantid {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/EnabledWhenWorkspaceIsType.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
#include <utility>

#include "MantidAPI/AnalysisDataService.h"
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/Workspace_fwd.h"
#include "MantidKernel/DataService.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/IPropertyManager.h"
#include "MantidKernel/IPropertySettings.h"
#include "MantidKernel/SingletonHolder.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
1 change: 0 additions & 1 deletion Framework/API/inc/MantidAPI/IBoxControllerIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once
#include "MantidAPI/DllConfig.h"
#include "MantidKernel/DiskBuffer.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/ICostFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Includes
//----------------------------------------------------------------------
#include "MantidAPI/CostFunctionFactory.h"
#include "MantidKernel/System.h"
#include "MantidAPI/DllConfig.h"

namespace Mantid {
namespace API {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/IMDHistoWorkspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once

#include "MantidAPI/DllConfig.h"
#include "MantidAPI/IMDHistoWorkspace_fwd.h"
#include "MantidAPI/IMDWorkspace.h"
#include "MantidAPI/MultipleExperimentInfos.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
1 change: 0 additions & 1 deletion Framework/API/inc/MantidAPI/ISpectrum.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidAPI/DllConfig.h"
#include "MantidGeometry/IDTypes.h"
#include "MantidHistogramData/Histogram.h"
#include "MantidKernel/System.h"
#include "MantidKernel/cow_ptr.h"

#include <set>
Expand Down
1 change: 0 additions & 1 deletion Framework/API/inc/MantidAPI/MDGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidAPI/DllConfig.h"
#include "MantidGeometry/MDGeometry/MDTypes.h"
#include "MantidKernel/Matrix.h"
#include "MantidKernel/System.h"
#include "MantidKernel/VMD.h"
#include <memory>

Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/MatrixWorkspaceMDIterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once

#include "MantidAPI/DllConfig.h"
#include "MantidAPI/IMDIterator.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidAPI/SpectrumInfo.h"
#include "MantidGeometry/MDGeometry/MDImplicitFunction.h"
#include "MantidKernel/System.h"
#include "MantidKernel/cow_ptr.h"

namespace Mantid {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/MultiPeriodGroupAlgorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#pragma once

#include "MantidAPI/Algorithm.h"
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/MultiPeriodGroupWorker.h"
#include "MantidKernel/System.h"
#include <boost/scoped_ptr.hpp>

namespace Mantid {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/MultiPeriodGroupWorker.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#pragma once

#include "MantidAPI/Algorithm.h"
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/WorkspaceGroup_fwd.h"
#include "MantidKernel/System.h"
#include <memory>
#include <string>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/MultipleExperimentInfos.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once

#include "MantidAPI/DllConfig.h"
#include "MantidAPI/ExperimentInfo.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/inc/MantidAPI/ScopedWorkspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <string>

#include "MantidAPI/DllConfig.h"

#include "MantidAPI/Workspace_fwd.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace API {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#pragma once

#include "MantidAlgorithms/DllConfig.h"
#include "MantidKernel/System.h"
#include <cstddef>

namespace Mantid {
namespace Algorithms {
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/Cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidCrystal/DisjointElement.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidCrystal/ICluster.h"
#include "MantidKernel/System.h"
#include <boost/tuple/tuple.hpp>
#include <memory>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/ClusterRegister.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "MantidCrystal/DisjointElement.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidKernel/System.h"
#include <boost/scoped_ptr.hpp>
#include <map>
#include <memory>
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/CompositeCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "MantidCrystal/DllConfig.h"
#include "MantidCrystal/ICluster.h"
#include "MantidKernel/System.h"
#include <memory>
#include <optional>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidAPI/IMDHistoWorkspace_fwd.h"
#include "MantidCrystal/DisjointElement.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidKernel/System.h"
#include "MantidKernel/V3D.h"
#include <boost/tuple/tuple.hpp>
#include <map>
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/FindSXPeaksHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "MantidHistogramData/HistogramX.h"
#include "MantidHistogramData/HistogramY.h"
#include "MantidKernel/EmptyValues.h"
#include "MantidKernel/System.h"
#include "MantidKernel/Unit.h"

#include <iterator>
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/ICluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "MantidCrystal/DisjointElement.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidKernel/System.h"
#include <boost/tuple/tuple.hpp>
#include <memory>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/PeakHKLErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/

#pragma once
#include "MantidKernel/System.h"

#include "MantidAPI/IFunction.h"
#include "MantidAPI/IFunction1D.h"
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/PredictPeaks.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "MantidGeometry/Crystal/StructureFactorCalculator.h"
#include "MantidKernel/Matrix.h"
#include "MantidKernel/NearestNeighbours.h"
#include "MantidKernel/System.h"

#include <tuple>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidGeometry/Crystal/HKLFilterWavelength.h"
#include "MantidGeometry/Crystal/IPeak.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace Crystal {
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/SCDPanelErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "MantidAPI/ParamFunction.h"
#include "MantidAPI/Workspace_fwd.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidKernel/System.h"
#include <cmath>

namespace Mantid {
Expand Down
1 change: 0 additions & 1 deletion Framework/Crystal/inc/MantidCrystal/SaveHKL.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidAPI/Algorithm.h"
#include "MantidCrystal/DllConfig.h"
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace Crystal {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#pragma once

#include "MantidAPI/IFunction_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/IFittingAlgorithm.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
#include "MantidAPI/CompositeFunction.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/BackToBackExponential.h"
#include "MantidCurveFitting/Functions/BackgroundFunction.h"
#include "MantidCurveFitting/Functions/Polynomial.h"
#include "MantidDataObjects/TableWorkspace.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidGeometry/Crystal/UnitCell.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidCurveFitting/Algorithms/LeBailFunction.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/BackgroundFunction.h"
#include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpConvPVoigt.h"
#include "MantidDataObjects/TableWorkspace.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidKernel/System.h"

#include <gsl/gsl_sf_erf.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/BackgroundFunction.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace HistogramData {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "MantidAPI/Algorithm.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidKernel/System.h"
#include "MantidKernel/cow_ptr.h"

namespace Mantid {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/TableRow.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/PawleyFunction.h"
#include "MantidKernel/System.h"
#include "MantidKernel/Unit.h"

namespace Mantid {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once

#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/EigenMatrix.h"
#include "MantidCurveFitting/Functions/ChebfunBase.h"
#include "MantidCurveFitting/IFittingAlgorithm.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "MantidAPI/FunctionValues.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/BackToBackExponential.h"
#include "MantidCurveFitting/Functions/BackgroundFunction.h"
#include "MantidCurveFitting/Functions/Polynomial.h"
Expand All @@ -21,7 +22,6 @@
#include "MantidDataObjects/Workspace2D.h"
#include "MantidHistogramData/HistogramX.h"
#include "MantidHistogramData/HistogramY.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
// SPDX - License - Identifier: GPL - 3.0 +
#pragma once

#include "MantidKernel/System.h"

#include "MantidAPI/Algorithm.h"

#include "MantidDataObjects/TableWorkspace.h"
#include "MantidDataObjects/Workspace2D.h"

#include "MantidCurveFitting/Algorithms/LeBailFit.h"
#include "MantidCurveFitting/Constraints/BoundaryConstraint.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/ThermalNeutronDtoTOFFunction.h"

namespace Mantid {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#pragma once

#include "MantidAPI/Algorithm.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/CubicSpline.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidAPI/WorkspaceGroup_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/Functions/BSpline.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include "MantidAPI/IFuncMinimizer.h"
#include "MantidCurveFitting/CostFunctions/CostFuncLeastSquares.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidCurveFitting/EigenMatrix.h"
#include "MantidCurveFitting/EigenVector.h"
#include "MantidKernel/System.h"

namespace Mantid {
namespace CurveFitting {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "MantidAPI/IDomainCreator.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include "MantidCurveFitting/DllConfig.h"
#include "MantidKernel/System.h"
#include "MantidKernel/cow_ptr.h"

namespace Mantid {
Expand Down
Loading

0 comments on commit bc7e058

Please sign in to comment.