Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
123d8782
Commit
123d8782
authored
Mar 05, 2020
by
Harriet Brown
Browse files
Repalce header guards in API with pragma once
This commit replaces all header guards in API with #pragma once
parent
f6def76b
Changes
319
Hide whitespace changes
Inline
Side-by-side
Framework/API/inc/MantidAPI/ADSValidator.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ADSVALIDATOR_H_
#define MANTID_API_ADSVALIDATOR_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -59,4 +58,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/* MANTID_API_ADSVALIDATOR_H_ */
\ No newline at end of file
Framework/API/inc/MantidAPI/AlgoTimeRegister.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGOTIMEREGISTER_H_
#define MANTID_API_ALGOTIMEREGISTER_H_
#pragma once
#include
<mutex>
#include
<thread>
...
...
@@ -59,4 +58,3 @@ private:
}
// namespace Instrumentation
}
// namespace Mantid
#endif
/* MANTID_API_ALGOTIMEREGISTER_H_ */
\ No newline at end of file
Framework/API/inc/MantidAPI/Algorithm.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHM_H_
#define MANTID_API_ALGORITHM_H_
#pragma once
#include
<atomic>
...
...
@@ -522,4 +521,3 @@ using Algorithm_sptr = boost::shared_ptr<Algorithm>;
(Mantid::API::AlgorithmFactory::Instance().subscribe<classname>()), 0)); \
}
#endif
/*MANTID_API_ALGORITHM_H_*/
Framework/API/inc/MantidAPI/AlgorithmFactory.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMFACTORY_H_
#define MANTID_API_ALGORITHMFACTORY_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -171,4 +170,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
}
}
// namespace Mantid
#endif
/*MANTID_API_ALGORITHMFACTORY_H_*/
Framework/API/inc/MantidAPI/AlgorithmFactoryObserver.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_KERNEL_ALGORITHMFACTORYOBSERVER_H_
#define MANTID_KERNEL_ALGORITHMFACTORYOBSERVER_H_
#pragma once
#include
"MantidAPI/AlgorithmFactory.h"
#include
<Poco/NObserver.h>
...
...
@@ -53,4 +52,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_KERNEL_ALGORITHMFACTORYOBSERVER_H_*/
\ No newline at end of file
Framework/API/inc/MantidAPI/AlgorithmHasProperty.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMHASPROPERTY_H_
#define MANTID_API_ALGORITHMHASPROPERTY_H_
#pragma once
#include
"MantidAPI/DllConfig.h"
#include
"MantidKernel/TypedValidator.h"
...
...
@@ -41,4 +40,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/* MANTID_API_ALGORITHMHASPROPERTY_H_ */
Framework/API/inc/MantidAPI/AlgorithmHistory.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMHISTORY_H_
#define MANTID_API_ALGORITHMHISTORY_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -152,4 +151,3 @@ MANTID_API_DLL std::ostream &operator<<(std::ostream &,
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_API_ALGORITHMHISTORY_H_*/
Framework/API/inc/MantidAPI/AlgorithmManager.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMMANAGER_H_
#define MANTID_API_ALGORITHMMANAGER_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -101,4 +100,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
}
}
// namespace Mantid
#endif
/* MANTID_API_ALGORITHMMANAGER_H_ */
Framework/API/inc/MantidAPI/AlgorithmObserver.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMOBSERVER_H_
#define MANTID_API_ALGORITHMOBSERVER_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -76,4 +75,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_API_ALGORITHMOBSERVER_H_*/
Framework/API/inc/MantidAPI/AlgorithmProperty.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMPROPERTY_H_
#define MANTID_API_ALGORITHMPROPERTY_H_
#pragma once
#include
"MantidAPI/DllConfig.h"
#include
"MantidKernel/NullValidator.h"
...
...
@@ -85,5 +84,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/* MANTID_API_ALGORITHMPROPERTY_H_ */
Framework/API/inc/MantidAPI/AlgorithmProxy.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ALGORITHMPROXY_H_
#define MANTID_API_ALGORITHMPROXY_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -198,5 +197,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_API_ALGORITHMPROXY_H_*/
Framework/API/inc/MantidAPI/AnalysisDataService.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_KERNEL_ANALYSISDATASERVICE_H_
#define MANTID_KERNEL_ANALYSISDATASERVICE_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -231,4 +230,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
}
}
// namespace Mantid
#endif
/*MANTID_KERNEL_ANALYSISDATASERVICE_H_*/
Framework/API/inc/MantidAPI/AnalysisDataServiceObserver.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_KERNEL_ANALYSISDATASERVICEOBSERVER_H_
#define MANTID_KERNEL_ANALYSISDATASERVICEOBSERVER_H_
#pragma once
#include
"MantidAPI/AnalysisDataService.h"
#include
"MantidAPI/DllConfig.h"
...
...
@@ -137,4 +136,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_KERNEL_ANALYSISDATASERVICEOBSERVER_H_*/
\ No newline at end of file
Framework/API/inc/MantidAPI/ArchiveSearchFactory.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_ARCHIVESEARCHFACTORY_H_
#define MANTID_API_ARCHIVESEARCHFACTORY_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -53,4 +52,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
}
}
// namespace Mantid
#endif // MANTID_API_ARCHIVESEARCHFACTORY_H_
Framework/API/inc/MantidAPI/Axis.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_AXIS_H_
#define MANTID_API_AXIS_H_
#pragma once
#include
"MantidAPI/DllConfig.h"
#include
"MantidGeometry/IDTypes.h"
...
...
@@ -105,4 +104,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/*MANTID_API_AXIS_H_*/
Framework/API/inc/MantidAPI/BinEdgeAxis.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_BINEDGEAXIS_H_
#define MANTID_API_BINEDGEAXIS_H_
#pragma once
#include
"MantidAPI/NumericAxis.h"
...
...
@@ -39,4 +38,3 @@ private:
}
// namespace API
}
// namespace Mantid
#endif
/* MANTID_API_BINEDGEAXIS_H_ */
Framework/API/inc/MantidAPI/BoostOptionalToAlgorithmProperty.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_BOOSTOPTIONALTOALGORITHMPROPERTY_H_
#define MANTID_API_BOOSTOPTIONALTOALGORITHMPROPERTY_H_
#pragma once
#include
"MantidAPI/Algorithm.h"
#include
"MantidAPI/DllConfig.h"
...
...
@@ -101,4 +100,3 @@ DLLExport boost::optional<std::string> checkForOptionalInstrumentDefault(
}
// namespace API
}
// namespace Mantid
#endif // MANTID_API_BOOSTOPTIONALTOALGORITHMPROPERTY_H_
Framework/API/inc/MantidAPI/BoxController.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef BOXCONTROLLER_H_
#define BOXCONTROLLER_H_
#pragma once
#include
"MantidAPI/IBoxControllerIO.h"
#include
"MantidKernel/DiskBuffer.h"
...
...
@@ -547,4 +546,3 @@ using BoxController_const_sptr = boost::shared_ptr<const BoxController>;
}
// namespace Mantid
#endif
/* SPLITCONTROLLER_H_ */
Framework/API/inc/MantidAPI/CatalogFactory.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_CATALOGFACTORYIMPL_H_
#define MANTID_API_CATALOGFACTORYIMPL_H_
#pragma once
/* Used to register Catalog classes into the factory. creates a global object in
*an
...
...
@@ -76,4 +75,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
}
}
// namespace Mantid
#endif
/*MANTID_API_CATALOGFACTORYIMPL_H_*/
Framework/API/inc/MantidAPI/CatalogManager.h
View file @
123d8782
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_ICAT_CATALOGMANAGERIMPL_H_
#define MANTID_ICAT_CATALOGMANAGERIMPL_H_
#pragma once
#include
"MantidAPI/ICatalog.h"
#include
"MantidKernel/SingletonHolder.h"
...
...
@@ -63,4 +62,3 @@ EXTERN_MANTID_API template class MANTID_API_DLL
Kernel
::
SingletonHolder
<
Mantid
::
API
::
CatalogManagerImpl
>;
}
}
// namespace Mantid
#endif
/* MANTID_ICAT_CATALOGMANAGERIMPL_H_ */
Prev
1
2
3
4
5
…
16
Next
Whitfield, Ross
@rwp
mentioned in commit
5d34f7bf
·
Mar 05, 2020
mentioned in commit
5d34f7bf
mentioned in commit 5d34f7bf653a2ed480fe65e7e74bccc0c4c8e97c
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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