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
2ce11f87
Commit
2ce11f87
authored
Mar 05, 2020
by
Harriet Brown
Browse files
Replace header guards in Geometry with pragma once
This PR replaces all header guards in Geometry with #pragma once
parent
5a5a4730
Changes
295
Hide whitespace changes
Inline
Side-by-side
Framework/Geometry/inc/MantidGeometry/ComponentParser.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_COMPONENTPARSER_H_
#define MANTID_GEOMETRY_COMPONENTPARSER_H_
#pragma once
#include
"MantidGeometry/Instrument/Component.h"
#include
"MantidKernel/System.h"
...
...
@@ -66,5 +65,3 @@ private:
};
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_COMPONENTPARSER_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/AngleUnits.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_ANGLEUNITS_H_
#define MANTID_GEOMETRY_ANGLEUNITS_H_
#pragma once
#include
"MantidGeometry/DllConfig.h"
#include
"MantidKernel/PhysicalConstants.h"
...
...
@@ -27,5 +26,3 @@ constexpr double rad2deg = 180. / M_PI;
enum
AngleUnits
{
angDegrees
,
angRadians
};
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_ANGLEUNITS_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/BasicHKLFilters.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_BASICHKLFILTERS_H_
#define MANTID_GEOMETRY_BASICHKLFILTERS_H_
#pragma once
#include
"MantidGeometry/Crystal/HKLFilter.h"
#include
"MantidGeometry/Crystal/ReflectionCondition.h"
...
...
@@ -156,5 +155,3 @@ protected:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_BASICHKLFILTERS_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/BraggScatterer.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_BRAGGSCATTERER_H_
#define MANTID_GEOMETRY_BRAGGSCATTERER_H_
#pragma once
#include
"MantidGeometry/DllConfig.h"
#include
"MantidKernel/V3D.h"
...
...
@@ -87,5 +86,3 @@ private:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_BRAGGSCATTERER_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/BraggScattererFactory.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_BRAGGSCATTERERFACTORY_H_
#define MANTID_GEOMETRY_BRAGGSCATTERERFACTORY_H_
#pragma once
#include
"MantidGeometry/DllConfig.h"
#include
"MantidKernel/DynamicFactory.h"
...
...
@@ -92,5 +91,3 @@ EXTERN_MANTID_GEOMETRY template class MANTID_GEOMETRY_DLL Mantid::Kernel::
.subscribeScatterer<classname>()), \
0)); \
}
#endif
/* MANTID_GEOMETRY_BRAGGSCATTERERFACTORY_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/BraggScattererInCrystalStructure.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_BRAGGSCATTERERINCRYSTALSTRUCTURE_H_
#define MANTID_GEOMETRY_BRAGGSCATTERERINCRYSTALSTRUCTURE_H_
#pragma once
#include
"MantidGeometry/Crystal/BraggScatterer.h"
#include
"MantidGeometry/Crystal/SpaceGroup.h"
...
...
@@ -81,5 +80,3 @@ getTokenizedPositionString(const std::string &position);
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_BRAGGSCATTERERINCRYSTALSTRUCTURE_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/CenteringGroup.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_CENTERINGGROUP_H_
#define MANTID_GEOMETRY_CENTERINGGROUP_H_
#pragma once
#include
"MantidGeometry/Crystal/Group.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -92,5 +91,3 @@ EXTERN_MANTID_GEOMETRY template class MANTID_GEOMETRY_DLL Mantid::Kernel::
SingletonHolder
<
Mantid
::
Geometry
::
CenteringGroupCreatorImpl
>;
}
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_CENTERINGGROUP_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/CompositeBraggScatterer.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_COMPOSITEBRAGGSCATTERER_H_
#define MANTID_GEOMETRY_COMPOSITEBRAGGSCATTERER_H_
#pragma once
#include
"MantidGeometry/Crystal/BraggScatterer.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -85,5 +84,3 @@ protected:
};
}
// namespace Geometry
}
// namespace Mantid
#endif
Framework/Geometry/inc/MantidGeometry/Crystal/ConcretePeakTransformFactory.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_CONCRETEPEAKTRANSFORMFACTORY_H_
#define MANTID_GEOMETRY_CONCRETEPEAKTRANSFORMFACTORY_H_
#pragma once
#include
"MantidGeometry/Crystal/PeakTransformFactory.h"
#include
<boost/make_shared.hpp>
...
...
@@ -40,5 +39,3 @@ public:
};
}
// namespace Geometry
}
// namespace Mantid
#endif
Framework/Geometry/inc/MantidGeometry/Crystal/ConventionalCell.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_CONVENTIONAL_CELL_H_
#define MANTID_GEOMETRY_CONVENTIONAL_CELL_H_
#pragma once
#include
"MantidGeometry/Crystal/ReducedCell.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -82,5 +81,3 @@ private:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_CONVENTIONAL_CELL_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/CrystalStructure.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_CRYSTALSTRUCTURE_H_
#define MANTID_GEOMETRY_CRYSTALSTRUCTURE_H_
#pragma once
#include
"MantidGeometry/Crystal/CompositeBraggScatterer.h"
#include
"MantidGeometry/Crystal/HKLFilter.h"
...
...
@@ -106,5 +105,3 @@ using CrystalStructure_sptr = boost::shared_ptr<CrystalStructure>;
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_CRYSTALSTRUCTURE_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/CyclicGroup.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_CYCLICGROUP_H_
#define MANTID_GEOMETRY_CYCLICGROUP_H_
#pragma once
#include
"MantidGeometry/Crystal/Group.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -80,5 +79,3 @@ using CyclicGroup_const_sptr = boost::shared_ptr<const CyclicGroup>;
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_CYCLICGROUP_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/EdgePixel.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_EDGEPIXEL_H_
#define MANTID_GEOMETRY_EDGEPIXEL_H_
#pragma once
#include
"MantidGeometry/Instrument.h"
...
...
@@ -19,5 +18,3 @@ MANTID_GEOMETRY_DLL bool edgePixel(Geometry::Instrument_const_sptr inst,
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_EDGEPIXEL_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/Group.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_GROUP_H_
#define MANTID_GEOMETRY_GROUP_H_
#pragma once
#include
"MantidGeometry/Crystal/SymmetryOperation.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -212,5 +211,3 @@ MANTID_GEOMETRY_DLL bool operator!=(const Group_const_sptr &lhs,
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_GROUP_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/GroupTransformation.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_GROUPTRANSFORMATION_H_
#define MANTID_GEOMETRY_GROUPTRANSFORMATION_H_
#pragma once
#include
"MantidGeometry/Crystal/Group.h"
#include
"MantidGeometry/Crystal/SymmetryOperation.h"
...
...
@@ -55,5 +54,3 @@ private:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_GROUPTRANSFORMATION_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/HKLFilter.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_HKLFILTER_H_
#define MANTID_GEOMETRY_HKLFILTER_H_
#pragma once
#include
"MantidGeometry/DllConfig.h"
#include
"MantidKernel/V3D.h"
...
...
@@ -156,5 +155,3 @@ operator|(const HKLFilter_const_sptr &lhs, const HKLFilter_const_sptr &rhs);
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_HKLFILTER_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/HKLFilterWavelength.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_HKLFILTERWAVELENGTH_H_
#define MANTID_GEOMETRY_HKLFILTERWAVELENGTH_H_
#pragma once
#include
"MantidGeometry/Crystal/HKLFilter.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -41,5 +40,3 @@ protected:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_HKLFILTERWAVELENGTH_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/HKLGenerator.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_GEOMETRY_HKLGENERATOR_H_
#define MANTID_GEOMETRY_HKLGENERATOR_H_
#pragma once
#include
"MantidGeometry/Crystal/UnitCell.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -167,5 +166,3 @@ private:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_HKLGENERATOR_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/IPeak.h
View file @
2ce11f87
...
...
@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_API_IPEAK_H_
#define MANTID_API_IPEAK_H_
#pragma once
#include
"MantidGeometry/Crystal/PeakShape.h"
#include
"MantidGeometry/DllConfig.h"
...
...
@@ -114,5 +113,3 @@ public:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_API_IPEAK_H_ */
Framework/Geometry/inc/MantidGeometry/Crystal/IndexingUtils.h
View file @
2ce11f87
...
...
@@ -6,8 +6,7 @@
// SPDX - License - Identifier: GPL - 3.0 +
/* File: Indexing_Utils.h */
#ifndef MANTID_GEOMETRY_INDEXING_UTILS_H_
#define MANTID_GEOMETRY_INDEXING_UTILS_H_
#pragma once
//----------------------------------------------------------------------
// Includes
...
...
@@ -266,5 +265,3 @@ private:
}
// namespace Geometry
}
// namespace Mantid
#endif
/* MANTID_GEOMETRY_INDEXING_UTILS_H_ */
Prev
1
2
3
4
5
…
15
Next
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