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 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_H_
#define MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -73,5 +72,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_APPENDGEOMETRYTOSNSNEXUS_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_ASCIIPOINTBASE_H_
#define MANTID_DATAHANDLING_ASCIIPOINTBASE_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
......@@ -63,5 +62,3 @@ protected:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_ASCIIPOINTBASE_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_KERNEL_BANKPULSETIMES_H
#define MANTID_KERNEL_BANKPULSETIMES_H
#pragma once
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/Property.h"
......@@ -47,5 +46,3 @@ public:
/// Vector of period numbers corresponding to each pulse
std::vector<int> periodNumbers;
};
#endif
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_
#define MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -39,5 +38,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CHECKMANTIDVERSION_H_ */
\ No newline at end of file
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_COMPRESSEVENTS_H_
#define MANTID_DATAHANDLING_COMPRESSEVENTS_H_
#pragma once
#include "MantidAPI/DistributedAlgorithm.h"
......@@ -52,5 +51,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /*MANTID_DATAHANDLING_COMPRESSEVENTS_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_CREATECHUNKINGFROMINSTRUMENT_H_
#define MANTID_DATAHANDLING_CREATECHUNKINGFROMINSTRUMENT_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h"
......@@ -32,5 +31,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATECHUNKINGFROMINSTRUMENT_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_CREATEPOLARIZATIONEFFICIENCIES_H_
#define MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIES_H_
#pragma once
#include "MantidDataHandling/CreatePolarizationEfficienciesBase.h"
#include "MantidKernel/System.h"
......@@ -31,5 +30,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIES_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_CREATEPOLARIZATIONEFFICIENCIESBASE_H_
#define MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIESBASE_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
......@@ -52,5 +51,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATEPOLARIZATIONEFFICIENCIESBASE_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_CREATESAMPLESHAPE_H_
#define MANTID_DATAHANDLING_CREATESAMPLESHAPE_H_
#pragma once
//--------------------------------
// Includes
......@@ -51,5 +50,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATESAMPLESHAPE_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_CREATESIMULATIONWORKSPACE_H_
#define MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidGeometry/Instrument.h"
......@@ -69,5 +68,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_CREATESIMULATIONWORKSPACE_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_DATABLOCK_H_
#define MANTID_DATAHANDLING_DATABLOCK_H_
#pragma once
#include "MantidDataHandling/DllConfig.h"
#include "MantidNexus/NexusClasses.h"
......@@ -59,5 +58,3 @@ protected:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DATABLOCK_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_DATABLOCK_COMPOSITE_H_
#define MANTID_DATAHANDLING_DATABLOCK_COMPOSITE_H_
#pragma once
#include "MantidDataHandling/DataBlock.h"
#include "MantidDataHandling/DllConfig.h"
......@@ -149,5 +148,4 @@ void DLLExport populateDataBlockCompositeWithContainer(
}
}
} // namespace DataHandling
} // namespace Mantid
#endif
} // namespace Mantid
\ No newline at end of file
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DATABLOCKGENERATOR_H_
#define MANTID_DATAHANDLING_DATABLOCKGENERATOR_H_
#pragma once
#include "MantidDataHandling/DllConfig.h"
#include <boost/optional.hpp>
......@@ -40,5 +39,3 @@ public:
} // namespace DataHandling
} // namespace Mantid
#endif
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DEFAULTEVENTLOADER_H_
#define MANTID_DATAHANDLING_DEFAULTEVENTLOADER_H_
#pragma once
#include "MantidAPI/Axis.h"
#include "MantidDataHandling/DllConfig.h"
......@@ -151,5 +150,3 @@ void DefaultEventLoader::makeMapToEventLists(
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DEFAULTEVENTLOADER_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_DEFINEGAUGEVOLUME_H_
#define MANTID_DATAHANDLING_DEFINEGAUGEVOLUME_H_
#pragma once
//--------------------------------
// Includes
......@@ -49,5 +48,3 @@ private:
};
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DEFINEGAUGEVOLUME_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_DELETETABLEROWS_H_
#define MANTID_DATAHANDLING_DELETETABLEROWS_H_
#pragma once
//----------------------------------------------------------------------
// Includes
......@@ -49,5 +48,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DELETETABLEROWS_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_DetermineChunking_H_
#define MANTID_DATAHANDLING_DetermineChunking_H_
#pragma once
#include "MantidAPI/IEventWorkspace_fwd.h"
#include "MantidAPI/ParallelAlgorithm.h"
......@@ -64,5 +63,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DetermineChunking_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_DLLCONFIG_H_
#define MANTID_DATAHANDLING_DLLCONFIG_H_
#pragma once
/*
This file contains the DLLExport/DLLImport linkage configuration for the
......@@ -20,5 +19,3 @@
#else
#define MANTID_DATAHANDLING_DLL DLLImport
#endif /* IN_MANTID_DATAHANDLING*/
#endif // MANTID_DATAHANDLING_DLLCONFIG_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_DOWNLOADFILE_H_
#define MANTID_DATAHANDLING_DOWNLOADFILE_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -44,5 +43,3 @@ private:
} // namespace DataHandling
} // namespace Mantid
#endif /* MANTID_DATAHANDLING_DOWNLOADFILE_H_ */
\ No newline at end of file
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_DOWNLOADINSTRUMENT_H_
#define MANTID_DATAHANDLING_DOWNLOADINSTRUMENT_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/ProxyInfo.h"
......@@ -58,5 +57,3 @@ private:
} // namespace DataHandling
} // 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