Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
2af76618
Commit
2af76618
authored
Mar 05, 2020
by
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
Changes
395
Hide whitespace changes
Inline
Side-by-side
Framework/DataHandling/inc/MantidDataHandling/AppendGeometryToSNSNexus.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/AsciiPointBase.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/BankPulseTimes.h
View file @
2af76618
...
...
@@ -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
Framework/DataHandling/inc/MantidDataHandling/CheckMantidVersion.h
View file @
2af76618
...
...
@@ -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
Framework/DataHandling/inc/MantidDataHandling/CompressEvents.h
View file @
2af76618
...
...
@@ -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_*/
Framework/DataHandling/inc/MantidDataHandling/CreateChunkingFromInstrument.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/CreatePolarizationEfficiencies.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/CreatePolarizationEfficienciesBase.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/CreateSampleShape.h
View file @
2af76618
...
...
@@ -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_*/
Framework/DataHandling/inc/MantidDataHandling/CreateSimulationWorkspace.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/DataBlock.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/DataBlockComposite.h
View file @
2af76618
...
...
@@ -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
Framework/DataHandling/inc/MantidDataHandling/DataBlockGenerator.h
View file @
2af76618
...
...
@@ -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
Framework/DataHandling/inc/MantidDataHandling/DefaultEventLoader.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/DefineGaugeVolume.h
View file @
2af76618
...
...
@@ -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_*/
Framework/DataHandling/inc/MantidDataHandling/DeleteTableRows.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/DetermineChunking.h
View file @
2af76618
...
...
@@ -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_ */
Framework/DataHandling/inc/MantidDataHandling/DllConfig.h
View file @
2af76618
...
...
@@ -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_
Framework/DataHandling/inc/MantidDataHandling/DownloadFile.h
View file @
2af76618
...
...
@@ -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
Framework/DataHandling/inc/MantidDataHandling/DownloadInstrument.h
View file @
2af76618
...
...
@@ -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_ */
Prev
1
2
3
4
5
…
20
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment