Skip to content
Snippets Groups Projects
Commit 2af76618 authored by Harriet Brown's avatar Harriet Brown
Browse files

Replace header guards in DataHandling with pragma once

This commit replaces all header guards in DataHandling with #pragma once
parent 5a5a4730
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 80 deletions
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_H_ #pragma once
#define MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h" #include "MantidKernel/System.h"
...@@ -73,5 +72,3 @@ private: ...@@ -73,5 +72,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_ASCIIPOINTBASE_H_ #pragma once
#define MANTID_DATAHANDLING_ASCIIPOINTBASE_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace_fwd.h" #include "MantidAPI/MatrixWorkspace_fwd.h"
...@@ -63,5 +62,3 @@ protected: ...@@ -63,5 +62,3 @@ protected:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_ASCIIPOINTBASE_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_KERNEL_BANKPULSETIMES_H #pragma once
#define MANTID_KERNEL_BANKPULSETIMES_H
#include "MantidKernel/DateAndTime.h" #include "MantidKernel/DateAndTime.h"
#include "MantidKernel/Property.h" #include "MantidKernel/Property.h"
...@@ -47,5 +46,3 @@ public: ...@@ -47,5 +46,3 @@ public:
/// Vector of period numbers corresponding to each pulse /// Vector of period numbers corresponding to each pulse
std::vector<int> periodNumbers; std::vector<int> periodNumbers;
}; };
#endif
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_ #pragma once
#define MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h" #include "MantidKernel/System.h"
...@@ -39,5 +38,3 @@ private: ...@@ -39,5 +38,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_ */
\ No newline at end of file
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_COMPRESSEVENTS_H_ #pragma once
#define MANTID_DATAHANDLING_COMPRESSEVENTS_H_
#include "MantidAPI/DistributedAlgorithm.h" #include "MantidAPI/DistributedAlgorithm.h"
...@@ -52,5 +51,3 @@ private: ...@@ -52,5 +51,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /*MANTID_DATAHANDLING_COMPRESSEVENTS_H_*/
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CREATECHUNKINGFROMINSTRUMENT_H_ #pragma once
#define MANTID_DATAHANDLING_CREATECHUNKINGFROMINSTRUMENT_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument.h"
...@@ -32,5 +31,3 @@ private: ...@@ -32,5 +31,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATECHUNKINGFROMINSTRUMENT_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIES_H_ #pragma once
#define MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIES_H_
#include "MantidDataHandling/CreatePolarizationEfficienciesBase.h" #include "MantidDataHandling/CreatePolarizationEfficienciesBase.h"
#include "MantidKernel/System.h" #include "MantidKernel/System.h"
...@@ -31,5 +30,3 @@ private: ...@@ -31,5 +30,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIES_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIESBASE_H_ #pragma once
#define MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIESBASE_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace_fwd.h" #include "MantidAPI/MatrixWorkspace_fwd.h"
...@@ -52,5 +51,3 @@ private: ...@@ -52,5 +51,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIESBASE_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CREATESAMPLESHAPE_H_ #pragma once
#define MANTID_DATAHANDLING_CREATESAMPLESHAPE_H_
//-------------------------------- //--------------------------------
// Includes // Includes
...@@ -51,5 +50,3 @@ private: ...@@ -51,5 +50,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATESAMPLESHAPE_H_*/
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_H_ #pragma once
#define MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument.h"
...@@ -69,5 +68,3 @@ private: ...@@ -69,5 +68,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DATABLOCK_H_ #pragma once
#define MANTID_DATAHANDLING_DATABLOCK_H_
#include "MantidDataHandling/DllConfig.h" #include "MantidDataHandling/DllConfig.h"
#include "MantidNexus/NexusClasses.h" #include "MantidNexus/NexusClasses.h"
...@@ -59,5 +58,3 @@ protected: ...@@ -59,5 +58,3 @@ protected:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DATABLOCK_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DATABLOCK_COMPOSITE_H_ #pragma once
#define MANTID_DATAHANDLING_DATABLOCK_COMPOSITE_H_
#include "MantidDataHandling/DataBlock.h" #include "MantidDataHandling/DataBlock.h"
#include "MantidDataHandling/DllConfig.h" #include "MantidDataHandling/DllConfig.h"
...@@ -149,5 +148,4 @@ void DLLExport populateDataBlockCompositeWithContainer( ...@@ -149,5 +148,4 @@ void DLLExport populateDataBlockCompositeWithContainer(
} }
} }
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif \ No newline at end of file
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DATABLOCKGENERATOR_H_ #pragma once
#define MANTID_DATAHANDLING_DATABLOCKGENERATOR_H_
#include "MantidDataHandling/DllConfig.h" #include "MantidDataHandling/DllConfig.h"
#include <boost/optional.hpp> #include <boost/optional.hpp>
...@@ -40,5 +39,3 @@ public: ...@@ -40,5 +39,3 @@ public:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DEFAULTEVENTLOADER_H_ #pragma once
#define MANTID_DATAHANDLING_DEFAULTEVENTLOADER_H_
#include "MantidAPI/Axis.h" #include "MantidAPI/Axis.h"
#include "MantidDataHandling/DllConfig.h" #include "MantidDataHandling/DllConfig.h"
...@@ -151,5 +150,3 @@ void DefaultEventLoader::makeMapToEventLists( ...@@ -151,5 +150,3 @@ void DefaultEventLoader::makeMapToEventLists(
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DEFAULTEVENTLOADER_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DEFINEGAUGEVOLUME_H_ #pragma once
#define MANTID_DATAHANDLING_DEFINEGAUGEVOLUME_H_
//-------------------------------- //--------------------------------
// Includes // Includes
...@@ -49,5 +48,3 @@ private: ...@@ -49,5 +48,3 @@ private:
}; };
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DEFINEGAUGEVOLUME_H_*/
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DELETETABLEROWS_H_ #pragma once
#define MANTID_DATAHANDLING_DELETETABLEROWS_H_
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Includes // Includes
...@@ -49,5 +48,3 @@ private: ...@@ -49,5 +48,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DELETETABLEROWS_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DetermineChunking_H_ #pragma once
#define MANTID_DATAHANDLING_DetermineChunking_H_
#include "MantidAPI/IEventWorkspace_fwd.h" #include "MantidAPI/IEventWorkspace_fwd.h"
#include "MantidAPI/ParallelAlgorithm.h" #include "MantidAPI/ParallelAlgorithm.h"
...@@ -64,5 +63,3 @@ private: ...@@ -64,5 +63,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DetermineChunking_H_ */
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DLLCONFIG_H_ #pragma once
#define MANTID_DATAHANDLING_DLLCONFIG_H_
/* /*
This file contains the DLLExport/DLLImport linkage configuration for the This file contains the DLLExport/DLLImport linkage configuration for the
...@@ -20,5 +19,3 @@ ...@@ -20,5 +19,3 @@
#else #else
#define MANTID_DATAHANDLING_DLL DLLImport #define MANTID_DATAHANDLING_DLL DLLImport
#endif /* IN_MANTID_DATAHANDLING*/ #endif /* IN_MANTID_DATAHANDLING*/
#endif // MANTID_DATAHANDLING_DLLCONFIG_H_
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DOWNLOADFILE_H_ #pragma once
#define MANTID_DATAHANDLING_DOWNLOADFILE_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h" #include "MantidKernel/System.h"
...@@ -44,5 +43,3 @@ private: ...@@ -44,5 +43,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DOWNLOADFILE_H_ */
\ No newline at end of file
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DOWNLOADINSTRUMENT_H_ #pragma once
#define MANTID_DATAHANDLING_DOWNLOADINSTRUMENT_H_
#include "MantidAPI/Algorithm.h" #include "MantidAPI/Algorithm.h"
#include "MantidKernel/ProxyInfo.h" #include "MantidKernel/ProxyInfo.h"
...@@ -58,5 +57,3 @@ private: ...@@ -58,5 +57,3 @@ private:
} // namespace DataHandling } // namespace DataHandling
} // namespace Mantid } // namespace Mantid
#endif /* MANTID_DATAHANDLING_DOWNLOADINSTRUMENT_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment