Unverified Commit 76181761 authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Merge pull request #28285 from mantidproject/28200_replace_ScriptRepository_and_SINQ_header_guards

Replace header guards in ScriptRepository and SINQ with pragma once
parents ae9c8585 69b260ab
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_DLLCONFIG_H_
#define MANTID_SINQ_DLLCONFIG_H_
#pragma once
/*
This file contains the DLLExport/DLLImport linkage configuration for the
......@@ -20,5 +19,3 @@
#define MANTID_SINQ_DLL DLLImport
#define EXTERN_MANTID_SINQ EXTERN_IMPORT
#endif /* IN_MANTID_SINQ */
#endif // MANTID_SINQ_DLLCONFIG_H_
......@@ -13,8 +13,7 @@
*
*
*/
#ifndef INVERTMDDIM_H_
#define INVERTMDDIM_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/IMDHistoWorkspace_fwd.h"
......@@ -55,5 +54,3 @@ private:
unsigned int calcInvertedIndex(Mantid::API::IMDHistoWorkspace_sptr ws,
int *dim);
};
#endif /*INVERTMDDIM_H_*/
......@@ -24,8 +24,7 @@
*
*/
#ifndef FLEXINEXUSLOADER_H_
#define FLEXINEXUSLOADER_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidSINQ/DllConfig.h"
......@@ -88,5 +87,3 @@ private:
int calculateCAddress(int *pos, int *dim, int rank);
int calculateF77Address(int *pos, int rank);
};
#endif /*FLEXINEXUSLOADER_H_*/
......@@ -13,8 +13,7 @@
*
*
*/
#ifndef MDHISTOTOWORKSPACE2D_H_
#define MDHISTOTOWORKSPACE2D_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/IMDHistoWorkspace_fwd.h"
......@@ -62,5 +61,3 @@ private:
void copyMetaData(Mantid::API::IMDHistoWorkspace_sptr inWS,
Mantid::DataObjects::Workspace2D_sptr outWS);
};
#endif /*MDHISTOTOWORKSPACE2D_H_*/
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDIANALYSERESIDUALS_H_
#define MANTID_SINQ_POLDIANALYSERESIDUALS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidSINQ/DllConfig.h"
......@@ -64,5 +63,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDIANALYSERESIDUALS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_PoldiAutoCorrelation5_H_
#define MANTID_DATAHANDLING_PoldiAutoCorrelation5_H_
#pragma once
//----------------------------------------------------------------------
// Includes
......@@ -72,5 +71,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_PoldiAutoCorrelation5_H_*/
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDICREATEPEAKSFROMCELL_H_
#define MANTID_SINQ_POLDICREATEPEAKSFROMCELL_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidSINQ/DllConfig.h"
......@@ -61,5 +60,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDICREATEPEAKSFROMCELL_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDIFITPEAKS1D_H_
#define MANTID_SINQ_POLDIFITPEAKS1D_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -67,5 +66,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDIFITPEAKS1D_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDIFITPEAKS1D2_H_
#define MANTID_SINQ_POLDIFITPEAKS1D2_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -131,5 +130,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDIFITPEAKS1D2_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDICALCULATESPECTRUM2D_H_
#define MANTID_SINQ_POLDICALCULATESPECTRUM2D_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/IFunction.h"
......@@ -160,5 +159,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDICALCULATESPECTRUM2D_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDIINDEXKNOWNCOMPOUNDS_H_
#define MANTID_SINQ_POLDIINDEXKNOWNCOMPOUNDS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidSINQ/DllConfig.h"
......@@ -152,5 +151,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDIINDEXKNOWNCOMPOUNDS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDIPEAKSEARCH_H_
#define MANTID_SINQ_POLDIPEAKSEARCH_H_
#pragma once
#include "MantidSINQ/DllConfig.h"
......@@ -121,5 +120,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDIPEAKSEARCH_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_POLDI_POLDIPEAKSUMMARY_H_
#define MANTID_POLDI_POLDIPEAKSUMMARY_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidSINQ/DllConfig.h"
......@@ -48,5 +47,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_POLDI_POLDIPEAKSUMMARY_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDITRUNCATEDATA_H_
#define MANTID_SINQ_POLDITRUNCATEDATA_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -81,5 +80,3 @@ private:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDITRUNCATEDATA_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_IPOLDIFUNCTION1D_H_
#define MANTID_SINQ_IPOLDIFUNCTION1D_H_
#pragma once
#include "MantidAPI/FunctionDomain1D.h"
#include "MantidAPI/FunctionValues.h"
......@@ -41,5 +40,3 @@ public:
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_IPOLDIFUNCTION1D_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_MILLERINDICES_H
#define MANTID_SINQ_MILLERINDICES_H
#pragma once
#include "MantidKernel/V3D.h"
#include "MantidSINQ/DllConfig.h"
......@@ -52,5 +51,3 @@ private:
};
} // namespace Poldi
} // namespace Mantid
#endif // MANTID_SINQ_MILLERINDICES_H
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_MILLERINDICESIO_H
#define MANTID_SINQ_MILLERINDICESIO_H
#pragma once
#include "MantidSINQ/DllConfig.h"
#include "MantidSINQ/PoldiUtilities/MillerIndices.h"
......@@ -49,5 +48,3 @@ private:
};
} // namespace Poldi
} // namespace Mantid
#endif // MANTID_SINQ_MILLERINDICESIO_H
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_SINQ_POLDI2DFUNCTION_H_
#define MANTID_SINQ_POLDI2DFUNCTION_H_
#pragma once
#include "MantidAPI/CompositeFunction.h"
#include "MantidAPI/IFunction1DSpectrum.h"
......@@ -53,5 +52,3 @@ using Poldi2DFunction_sptr = boost::shared_ptr<Poldi2DFunction>;
} // namespace Poldi
} // namespace Mantid
#endif /* MANTID_SINQ_POLDI2DFUNCTION_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef POLDIABSTRACTCHOPPER_H
#define POLDIABSTRACTCHOPPER_H
#pragma once
#include "MantidSINQ/DllConfig.h"
......@@ -49,5 +48,3 @@ protected:
using PoldiAbstractChopper_sptr = boost::shared_ptr<PoldiAbstractChopper>;
} // namespace Poldi
} // namespace Mantid
#endif // POLDIABSTRACTCHOPPER_H
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef POLDIABSTRACTDETECTOR_H
#define POLDIABSTRACTDETECTOR_H
#pragma once
#include "MantidSINQ/DllConfig.h"
......@@ -54,5 +53,4 @@ protected:
using PoldiAbstractDetector_sptr = boost::shared_ptr<PoldiAbstractDetector>;
} // namespace Poldi
} // namespace Mantid
#endif // POLDIABSTRACTDETECTOR_H
} // namespace Mantid
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment