All: Header Guards ➞ Pragma Once (#27154)
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_ANNOTATION_H
|
||||
#define APP_ANNOTATION_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyGeo.h"
|
||||
@@ -74,6 +73,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_ANNOTATION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SRC_APP_APPLICATION_H_
|
||||
#define SRC_APP_APPLICATION_H_
|
||||
#pragma once
|
||||
|
||||
#include <fastsignals/signal.h>
|
||||
#include <QtCore/qtextstream.h>
|
||||
@@ -1035,6 +1034,3 @@ inline App::Application &GetApplication(){
|
||||
}
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // SRC_APP_APPLICATION_H_
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
* *
|
||||
**************************************************************************************************/
|
||||
|
||||
#ifndef SRC_APP_APPLICATIONDIRECTORIES_H_
|
||||
#define SRC_APP_APPLICATIONDIRECTORIES_H_
|
||||
#pragma once
|
||||
|
||||
#include "FCConfig.h"
|
||||
#include "FCGlobal.h"
|
||||
@@ -257,5 +256,3 @@ namespace App {
|
||||
};
|
||||
|
||||
} // App
|
||||
|
||||
#endif //SRC_APP_APPLICATIONDIRECTORIES_H_
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef APP_AUTOTRANSACTION_H
|
||||
#define APP_AUTOTRANSACTION_H
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <FCGlobal.h>
|
||||
@@ -157,6 +156,4 @@ private:
|
||||
bool active;
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_AUTOTRANSACTION_H
|
||||
} // namespace App
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_BRANDING_H
|
||||
#define APP_BRANDING_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <QDomDocument>
|
||||
@@ -54,5 +53,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_BRANDING_H
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
* *
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef APP_CLEANUPPROCESS_H
|
||||
#define APP_CLEANUPPROCESS_H
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <FCGlobal.h>
|
||||
@@ -52,6 +51,4 @@ public:
|
||||
static void callCleanup();
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_CLEANUPPROCESS_H
|
||||
} // namespace App
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_COLORMODEL_H
|
||||
#define APP_COLORMODEL_H
|
||||
#pragma once
|
||||
|
||||
#include "Material.h"
|
||||
#include <Base/Bitmask.h>
|
||||
@@ -702,6 +701,4 @@ inline const ColorModel& ColorGradient::getColorModel() const
|
||||
return currentModelPack.totalModel;
|
||||
}
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_COLORMODEL_H
|
||||
} // namespace App
|
||||
@@ -25,8 +25,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_COMPLEX_GEO_DATA_H
|
||||
#define APP_COMPLEX_GEO_DATA_H
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <optional>
|
||||
@@ -749,4 +748,3 @@ protected:
|
||||
} // namespace Data
|
||||
|
||||
ENABLE_BITMASK_OPERATORS(Data::SearchOption)
|
||||
#endif
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef DATUMS_H
|
||||
#define DATUMS_H
|
||||
#pragma once
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
@@ -254,5 +253,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif /* end of include guard: DATUMS_H */
|
||||
|
||||
+1
-4
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SRC_APP_DOCUMENT_H_
|
||||
#define SRC_APP_DOCUMENT_H_
|
||||
#pragma once
|
||||
|
||||
#include <CXX/Objects.hxx>
|
||||
#include <Base/Observer.h>
|
||||
@@ -1470,5 +1469,3 @@ T* Document::addObject(const char* pObjectName, bool isNew, const char* viewType
|
||||
}
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_DOCUMENT_H_
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SRC_APP_DOCUMENTOBJECT_H_
|
||||
#define SRC_APP_DOCUMENTOBJECT_H_
|
||||
#pragma once
|
||||
|
||||
#include <App/TransactionalObject.h>
|
||||
#include <App/PropertyExpressionEngine.h>
|
||||
@@ -1365,5 +1364,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_DOCUMENTOBJECT_H_
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_DOCUMENTOBJECTEXTENSION_H
|
||||
#define APP_DOCUMENTOBJECTEXTENSION_H
|
||||
#pragma once
|
||||
|
||||
#include "Extension.h"
|
||||
|
||||
@@ -144,5 +143,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_DOCUMENTOBJECTEXTENSION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_DOCUMENTOBJECTFILEINCLUDED_H
|
||||
#define APP_DOCUMENTOBJECTFILEINCLUDED_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyFile.h"
|
||||
@@ -54,6 +53,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_DOCUMENTOBJECTFILEINCLUDED_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_DOCUMENTOBJECTGROUP_H
|
||||
#define APP_DOCUMENTOBJECTGROUP_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "FeaturePython.h"
|
||||
@@ -57,6 +56,3 @@ using DocumentObjectGroupPython = App::FeaturePythonT<DocumentObjectGroup>;
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_DOCUMENTOBJECTGROUP_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_DOCUMENTOBSERVER_H
|
||||
#define APP_DOCUMENTOBSERVER_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include <Base/Bitmask.h>
|
||||
@@ -628,5 +627,3 @@ struct std::hash<App::DocumentObjectWeakPtrT>
|
||||
};
|
||||
|
||||
ENABLE_BITMASK_OPERATORS(App::SubObjectT::NormalizeOption)
|
||||
|
||||
#endif // APP_DOCUMENTOBSERVER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_DOCUMENTOBSERVERPYTHON_H
|
||||
#define APP_DOCUMENTOBSERVERPYTHON_H
|
||||
#pragma once
|
||||
|
||||
#include <FCGlobal.h>
|
||||
#include <fastsignals/signal.h>
|
||||
@@ -165,5 +164,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_DOCUMENTOBSERVERPYTHON_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SRC_APP_DYNAMICPROPERTY_H_
|
||||
#define SRC_APP_DYNAMICPROPERTY_H_
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
@@ -199,6 +198,4 @@ private:
|
||||
std::unique_ptr<Impl> impl;
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_DYNAMICPROPERTY_H_
|
||||
} // namespace App
|
||||
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef DATA_ELEMENTMAP_H
|
||||
#define DATA_ELEMENTMAP_H
|
||||
#pragma once
|
||||
|
||||
#include "FCGlobal.h"
|
||||
|
||||
@@ -423,5 +422,3 @@ public:
|
||||
|
||||
|
||||
} // namespace Data
|
||||
|
||||
#endif // DATA_ELEMENTMAP_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#ifndef ELEMENT_NAMING_UTILS_H
|
||||
#define ELEMENT_NAMING_UTILS_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
@@ -122,5 +121,3 @@ AppExport const std::string indexSuffix(int index, const char *label=ELEMENT_MAP
|
||||
|
||||
} // namespace Data
|
||||
// clang-format on
|
||||
|
||||
#endif // ELEMENT_NAMING_UTILS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_ENUMERATION_H
|
||||
#define BASE_ENUMERATION_H
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -194,5 +193,3 @@ private:
|
||||
friend class PropertyEnumeration;
|
||||
}; // class Enumeration
|
||||
} // namespace App
|
||||
|
||||
#endif // #ifndef BASE_ENUMERATION_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#ifndef SRC_APP_EXPORTINFO_H_
|
||||
#define SRC_APP_EXPORTINFO_H_
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
|
||||
@@ -23,5 +22,3 @@ struct ExportInfo {
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef EXPRESSION_H
|
||||
#define EXPRESSION_H
|
||||
#pragma once
|
||||
|
||||
#include <deque>
|
||||
#include <set>
|
||||
@@ -580,6 +579,4 @@ public:
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // EXPRESSION_H
|
||||
}
|
||||
@@ -37,8 +37,7 @@
|
||||
especially those whose name start with YY_ or yy_. They are
|
||||
private implementation details that can be changed or removed. */
|
||||
|
||||
#ifndef YY_YY_EXPRESSION_TAB_H_INCLUDED
|
||||
# define YY_YY_EXPRESSION_TAB_H_INCLUDED
|
||||
#pragma once
|
||||
/* Debug traces. */
|
||||
#ifndef YYDEBUG
|
||||
# define YYDEBUG 0
|
||||
@@ -91,6 +90,3 @@ extern YYSTYPE yylval;
|
||||
|
||||
|
||||
int yyparse (void);
|
||||
|
||||
|
||||
#endif /* !YY_YY_EXPRESSION_TAB_H_INCLUDED */
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#ifndef EXPRESSION_PARSER_H
|
||||
#define EXPRESSION_PARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "Expression.h"
|
||||
#include <Base/Matrix.h>
|
||||
@@ -689,6 +688,4 @@ public:
|
||||
#undef YYSTYPE_ISDECLARED
|
||||
} // namespace ExpressionParser
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // EXPRESSION_PARSER_H
|
||||
} // namespace App
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef EXPRESSIONTOKENIZER_H
|
||||
#define EXPRESSIONTOKENIZER_H
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <FCGlobal.h>
|
||||
@@ -53,5 +52,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // EXPRESSIONTOKENIZER_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef RENAMEOBJECTIDENTIFIEREXPRESSIONVISITOR_H
|
||||
#define RENAMEOBJECTIDENTIFIEREXPRESSIONVISITOR_H
|
||||
#pragma once
|
||||
|
||||
#include "Expression.h"
|
||||
|
||||
@@ -146,5 +145,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // RENAMEOBJECTIDENTIFIEREXPRESSIONVISITOR_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SRC_APP_EXTENSION_H_
|
||||
#define SRC_APP_EXTENSION_H_
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
@@ -367,5 +366,3 @@ private:
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_EXTENSION_H_
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SRC_APP_EXTENSIONCONTAINER_H_
|
||||
#define SRC_APP_EXTENSIONCONTAINER_H_
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -352,5 +351,3 @@ private:
|
||||
PROPERTY_SOURCE_ABSTRACT(_class_, _parentclass_)
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_EXTENSIONCONTAINER_H_
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_EXTENSIONPYTHON_H
|
||||
#define APP_EXTENSIONPYTHON_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include "Extension.h"
|
||||
@@ -121,5 +120,3 @@ using ExtensionPython = ExtensionPythonT<App::Extension>;
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_EXTENSIONPYTHON_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_FEATURECUSTOM_H
|
||||
#define APP_FEATURECUSTOM_H
|
||||
#pragma once
|
||||
|
||||
#include <App/PropertyContainer.h>
|
||||
|
||||
@@ -104,5 +103,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_FEATURECUSTOM_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_FEATUREPYTHON_H
|
||||
#define APP_FEATUREPYTHON_H
|
||||
#pragma once
|
||||
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
@@ -460,5 +459,3 @@ using FeaturePython = FeaturePythonT<DocumentObject>;
|
||||
using GeometryPython = FeaturePythonT<GeoFeature>;
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_FEATUREPYTHON_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
// clang-format off
|
||||
#ifndef APP_FEATUREPYTHONPYIMP_H
|
||||
#define APP_FEATUREPYTHONPYIMP_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include <Base/Interpreter.h>
|
||||
@@ -118,5 +117,4 @@ private:
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // APP_FEATUREPYTHONPYIMP_H
|
||||
// clang-format on
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_FEATURETEST_H
|
||||
#define APP_FEATURETEST_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyGeo.h"
|
||||
@@ -222,5 +221,3 @@ public:
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_FEATURETEST_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_GEOFEATURE_H
|
||||
#define APP_GEOFEATURE_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyGeo.h"
|
||||
@@ -216,6 +215,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_GEOFEATURE_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_GeoFeatureGroup_H
|
||||
#define APP_GeoFeatureGroup_H
|
||||
#pragma once
|
||||
|
||||
#include <unordered_set>
|
||||
#include "DocumentObject.h"
|
||||
@@ -159,6 +158,3 @@ using GeoFeatureGroupExtensionPython =
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_GeoFeatureGroup_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_GROUPEXTENSION_H
|
||||
#define APP_GROUPEXTENSION_H
|
||||
#pragma once
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/DocumentObjectExtension.h>
|
||||
@@ -195,6 +194,3 @@ public:
|
||||
using GroupExtensionPython = ExtensionPythonT<GroupExtensionPythonT<GroupExtension>>;
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_GROUPEXTENSION_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef App_ImagePlane_H
|
||||
#define App_ImagePlane_H
|
||||
#pragma once
|
||||
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/PropertyFile.h>
|
||||
@@ -61,6 +60,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace Image
|
||||
|
||||
|
||||
#endif // App_ImagePlane_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_INDEXEDNAME_H
|
||||
#define APP_INDEXEDNAME_H
|
||||
#pragma once
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
@@ -467,5 +466,3 @@ struct ByteArrayHasher
|
||||
};
|
||||
|
||||
} // namespace Data
|
||||
|
||||
#endif // APP_INDEXEDNAME_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_INVENTOROBJECT_H
|
||||
#define APP_INVENTOROBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "PropertyStandard.h"
|
||||
@@ -59,6 +58,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_INVENTOROBJECT_H
|
||||
|
||||
+1
-4
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_LICENSE_H
|
||||
#define APP_LICENSE_H
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstring>
|
||||
@@ -80,5 +79,3 @@ int constexpr findLicense(const char* identifier)
|
||||
return -1;
|
||||
}
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_LICENSE_H
|
||||
|
||||
+1
-4
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef APP_LINK_H
|
||||
#define APP_LINK_H
|
||||
#pragma once
|
||||
|
||||
#include <boost/preprocessor/seq/for_each.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
@@ -1214,5 +1213,3 @@ public:
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // APP_LINK_H
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
* *
|
||||
**************************************************************************************************/
|
||||
|
||||
#ifndef APP_MAPPED_ELEMENT_H
|
||||
#define APP_MAPPED_ELEMENT_H
|
||||
#pragma once
|
||||
|
||||
#include "IndexedName.h"
|
||||
#include "MappedName.h"
|
||||
@@ -149,6 +148,3 @@ struct AppExport ElementNameComparator
|
||||
};
|
||||
|
||||
} // namespace Data
|
||||
|
||||
|
||||
#endif // APP_MAPPED_ELEMENT_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_MAPPED_NAME_H
|
||||
#define APP_MAPPED_NAME_H
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -1246,6 +1245,3 @@ struct MappedNameRef
|
||||
|
||||
|
||||
} // namespace Data
|
||||
|
||||
|
||||
#endif // APP_MAPPED_NAME_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_MATERIAL_H
|
||||
#define APP_MATERIAL_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Color.h>
|
||||
|
||||
@@ -169,5 +168,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_MATERIAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_MaterialObject_H
|
||||
#define APP_MaterialObject_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "FeaturePython.h"
|
||||
@@ -54,7 +53,4 @@ public:
|
||||
using MaterialObjectPython = App::FeaturePythonT<MaterialObject>;
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_MaterialObject_H
|
||||
} // namespace App
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef MEASUREMANAGER_H
|
||||
#define MEASUREMANAGER_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <vector>
|
||||
@@ -128,6 +127,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // MEASUREMANAGER_H
|
||||
} // namespace App
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_MERGEDOCUMENTS_H
|
||||
#define APP_MERGEDOCUMENTS_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Persistence.h>
|
||||
#include <fastsignals/signal.h>
|
||||
@@ -78,5 +77,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_MERGEDOCUMENTS_H
|
||||
|
||||
+1
-4
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef BASE_METADATAREADER_H
|
||||
#define BASE_METADATAREADER_H
|
||||
#pragma once
|
||||
|
||||
#include "FCConfig.h"
|
||||
|
||||
@@ -402,5 +401,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PATH_H
|
||||
#define APP_PATH_H
|
||||
#pragma once
|
||||
|
||||
#include <bitset>
|
||||
#include <climits>
|
||||
@@ -1643,5 +1642,3 @@ struct hash<App::ObjectIdentifier>
|
||||
}
|
||||
};
|
||||
} // namespace std
|
||||
|
||||
#endif
|
||||
|
||||
+2
-5
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_Origin_H
|
||||
#define APP_Origin_H
|
||||
#pragma once
|
||||
|
||||
#include "Datums.h"
|
||||
|
||||
@@ -56,6 +55,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_Origin_H
|
||||
} // namespace App
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef ORIGINGROUP_H_QHTU73IF
|
||||
#define ORIGINGROUP_H_QHTU73IF
|
||||
#pragma once
|
||||
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "QCoreApplication"
|
||||
@@ -96,6 +95,4 @@ private:
|
||||
|
||||
using OriginGroupExtensionPython = ExtensionPythonT<GroupExtensionPythonT<OriginGroupExtension>>;
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif /* end of include guard: ORIGINGROUP_H_QHTU73IF */
|
||||
} // namespace App
|
||||
+1
-5
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_Part_H
|
||||
#define APP_Part_H
|
||||
#pragma once
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
@@ -106,6 +105,3 @@ public:
|
||||
// using PartPython = App::FeaturePythonT<Part>;
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_Part_H
|
||||
|
||||
+1
-5
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_Path_H
|
||||
#define APP_Path_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Persistence.h>
|
||||
#include <FCGlobal.h>
|
||||
@@ -54,6 +53,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_Path_H
|
||||
|
||||
+1
-5
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef _AppPlacement_h_
|
||||
#define _AppPlacement_h_
|
||||
#pragma once
|
||||
|
||||
#include "FeaturePython.h"
|
||||
|
||||
@@ -53,6 +52,3 @@ using PlacementPython = App::FeaturePythonT<App::Placement>;
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_PRECOMPILED_H
|
||||
#define APP_PRECOMPILED_H
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
@@ -92,5 +91,3 @@
|
||||
#include <QProcessEnvironment>
|
||||
#include <QStandardPaths>
|
||||
#include <QString>
|
||||
|
||||
#endif // APP_PRECOMPILED_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef PROGRAMOPTIONSUTILITIES_H
|
||||
#define PROGRAMOPTIONSUTILITIES_H
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
@@ -91,4 +90,3 @@ std::pair<std::string, std::string> customSyntax(std::string_view strIn)
|
||||
}
|
||||
|
||||
} // namespace App::Util
|
||||
#endif // PROGRAMOPTIONSUTILITIES_H
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
* *
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef APP_PROJECTFILE_H
|
||||
#define APP_PROJECTFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Type.h>
|
||||
#include <zipios++/zipfile.h>
|
||||
@@ -206,5 +205,3 @@ private:
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROJECTFILE_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTY_H
|
||||
#define APP_PROPERTY_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Persistence.h>
|
||||
@@ -1134,5 +1133,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROPERTY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SRC_APP_PROPERTYCONTAINER_H_
|
||||
#define SRC_APP_PROPERTYCONTAINER_H_
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
@@ -851,5 +850,3 @@ template<> void _class_::init(void){\
|
||||
// clang-format on
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_PROPERTYCONTAINER_H_
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef EXPRESSIONENGINE_H
|
||||
#define EXPRESSIONENGINE_H
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <set>
|
||||
@@ -375,5 +374,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // EXPRESSIONENGINE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTFILE_H
|
||||
#define APP_PROPERTFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -149,5 +148,3 @@ private:
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROPERTFILE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTYGEO_H
|
||||
#define APP_PROPERTYGEO_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Matrix.h>
|
||||
@@ -579,6 +578,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_PROPERTYGEO_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTYLINKS_H
|
||||
#define APP_PROPERTYLINKS_H
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
@@ -1657,6 +1656,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_PROPERTYLINKS_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef FREECAD_PROPERTYOVERRIDES_H
|
||||
#define FREECAD_PROPERTYOVERRIDES_H
|
||||
#pragma once
|
||||
|
||||
#include <ranges>
|
||||
#include <type_traits>
|
||||
@@ -292,4 +291,3 @@ private:
|
||||
std::vector<std::function<void()>> _guards;
|
||||
};
|
||||
} // namespace App
|
||||
#endif // FREECAD_PROPERTYOVERRIDES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTYPYTHONOBJECT_H
|
||||
#define APP_PROPERTYPYTHONOBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <CXX/Objects.hxx>
|
||||
@@ -83,6 +82,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROPERTYPYTHONOBJECT_H
|
||||
} // namespace App
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PROPERTYSTANDARD_H
|
||||
#define APP_PROPERTYSTANDARD_H
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
#include <memory>
|
||||
@@ -1343,5 +1342,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROPERTYSTANDARD_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_PROPERTYUNITS_H
|
||||
#define APP_PROPERTYUNITS_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Quantity.h>
|
||||
#include <Base/Unit.h>
|
||||
@@ -925,6 +924,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_PROPERTYUNITS_H
|
||||
|
||||
|
||||
+2
-5
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef RANGE_H
|
||||
#define RANGE_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <Base/Bitmask.h>
|
||||
@@ -265,6 +264,4 @@ private:
|
||||
|
||||
} // namespace App
|
||||
|
||||
ENABLE_BITMASK_OPERATORS(App::CellAddress::Cell)
|
||||
|
||||
#endif // RANGE_H
|
||||
ENABLE_BITMASK_OPERATORS(App::CellAddress::Cell)
|
||||
+2
-6
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef APP_SERVICES_H
|
||||
#define APP_SERVICES_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
|
||||
@@ -71,7 +70,4 @@ public:
|
||||
bool supports(DocumentObject* object) const override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif // APP_SERVICES_H
|
||||
}
|
||||
@@ -20,8 +20,7 @@
|
||||
* *
|
||||
**************************************************************************************************/
|
||||
|
||||
#ifndef APP_STRING_ID_H
|
||||
#define APP_STRING_ID_H
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
@@ -829,6 +828,4 @@ inline void StringID::setPersistent(bool enable)
|
||||
{
|
||||
_flags.setFlag(Flag::Persistent, enable);
|
||||
}
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_STRING_ID_H
|
||||
} // namespace App
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SUPPRESSIBLEEXTENSION_H
|
||||
#define SUPPRESSIBLEEXTENSION_H
|
||||
#pragma once
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/DocumentObjectExtension.h>
|
||||
@@ -62,5 +61,3 @@ using SuppressibleExtensionPython =
|
||||
ExtensionPythonT<SuppressibleExtensionPythonT<SuppressibleExtension>>;
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SUPPRESSIBLEEXTENSION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_TEXTDOCUMENT_H
|
||||
#define APP_TEXTDOCUMENT_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyStandard.h"
|
||||
@@ -58,6 +57,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_TRANSACTIONALOBJECT_H
|
||||
#define APP_TRANSACTIONALOBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include <App/ExtensionContainer.h>
|
||||
|
||||
@@ -72,6 +71,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_TRANSACTIONALOBJECT_H
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_TRANSACTION_H
|
||||
#define APP_TRANSACTION_H
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include <Base/Factory.h>
|
||||
@@ -346,5 +345,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // APP_TRANSACTION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_VRMLOROBJECT_H
|
||||
#define APP_VRMLOROBJECT_H
|
||||
#pragma once
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "PropertyFile.h"
|
||||
@@ -81,6 +80,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
|
||||
#endif // APP_INVENTOROBJECT_H
|
||||
|
||||
+1
-3
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef APP_VARSET_H
|
||||
#define APP_VARSET_H
|
||||
#pragma once
|
||||
|
||||
#include "DocumentObject.h"
|
||||
|
||||
@@ -44,4 +43,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
#endif
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SRC_APP_PRIVATE_DOCUMENTP_H_
|
||||
#define SRC_APP_PRIVATE_DOCUMENTP_H_
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4834)
|
||||
@@ -172,5 +171,3 @@ struct DocumentP
|
||||
};
|
||||
|
||||
} // namespace App
|
||||
|
||||
#endif // SRC_APP_PRIVATE_DOCUMENTP_H_
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_AXIS_H
|
||||
#define BASE_AXIS_H
|
||||
#pragma once
|
||||
|
||||
#include <FCGlobal.h>
|
||||
|
||||
@@ -85,5 +84,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_AXIS_H
|
||||
|
||||
+1
-4
@@ -30,8 +30,7 @@ NOTICE: The source code here has been altered from the original to use a provide
|
||||
rather than returning a new string for each call.
|
||||
These modifications are Copyright (c) 2019 Zheng Lei ([email protected])
|
||||
*/
|
||||
#ifndef BASE_BASE64_H
|
||||
#define BASE_BASE64_H
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
@@ -161,5 +160,3 @@ inline std::string base64_decode(std::string const& str)
|
||||
// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
||||
// cppcoreguidelines-pro-bounds-constant-array-index, cppcoreguidelines-avoid-magic-numbers,
|
||||
// readability-magic-numbers)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef FREECAD_BASE_BASE64FILTER_H
|
||||
#define FREECAD_BASE_BASE64FILTER_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "Base64.h"
|
||||
@@ -346,5 +345,3 @@ inline std::unique_ptr<std::istream> create_base64_decoder(
|
||||
// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
||||
// cppcoreguidelines-pro-bounds-constant-array-index, cppcoreguidelines-avoid-magic-numbers,
|
||||
// readability-magic-numbers)
|
||||
|
||||
#endif // FREECAD_BASE_BASE64FILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_BASECLASS_H
|
||||
#define BASE_BASECLASS_H
|
||||
#pragma once
|
||||
|
||||
#include "Type.h"
|
||||
|
||||
@@ -240,5 +239,3 @@ const U* freecad_cast(const Base::BaseClass* type)
|
||||
// of the important freecad_cast. In that case the name is prefixed with freecad so there is no
|
||||
// chance of symbols collision.
|
||||
using Base::freecad_cast;
|
||||
|
||||
#endif // BASE_BASECLASS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_BINDINGMANAGER_H
|
||||
#define BASE_BINDINGMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <FCGlobal.h>
|
||||
@@ -60,5 +59,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_BINDINGMANAGER_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_BITMASK_H
|
||||
#define BASE_BITMASK_H
|
||||
#pragma once
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
@@ -177,5 +176,3 @@ public:
|
||||
}
|
||||
// clang-format on
|
||||
// NOLINTEND
|
||||
|
||||
#endif
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_BOUNDBOX_H
|
||||
#define BASE_BOUNDBOX_H
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <limits>
|
||||
@@ -1173,5 +1172,3 @@ using BoundBox3f = BoundBox3<float>;
|
||||
using BoundBox3d = BoundBox3<double>;
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_BOUNDBOX_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_BUILDER3D_H
|
||||
#define BASE_BUILDER3D_H
|
||||
#pragma once
|
||||
|
||||
// Std. configurations
|
||||
|
||||
@@ -865,5 +864,3 @@ BaseExport Base::Vector3f stringToVector(std::string);
|
||||
BaseExport std::string vectorToString(Vector3f);
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_BUILDER3D_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_COLOR_H
|
||||
#define APP_COLOR_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __GNUC__
|
||||
# include <cstdint>
|
||||
@@ -322,5 +321,3 @@ private:
|
||||
|
||||
} // namespace Base
|
||||
// NOLINTEND(readability-magic-numbers)
|
||||
|
||||
#endif // APP_COLOR_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef BASE_CONSOLE_H
|
||||
#define BASE_CONSOLE_H
|
||||
#pragma once
|
||||
|
||||
// Std. configurations
|
||||
#include <array>
|
||||
@@ -1231,5 +1230,3 @@ void Base::ConsoleSingleton::notify(const std::string& notifiername, const std::
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // BASE_CONSOLE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef BASE_CONSOLEOBSERVER_H
|
||||
#define BASE_CONSOLEOBSERVER_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Stream.h>
|
||||
@@ -192,5 +191,3 @@ private:
|
||||
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_CONSOLEOBSERVER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_CONVERTER_H
|
||||
#define BASE_CONVERTER_H
|
||||
#pragma once
|
||||
|
||||
#include <tuple>
|
||||
#include "Rotation.h"
|
||||
@@ -133,5 +132,3 @@ inline Vec1 convertTo(const Vec2& vec)
|
||||
}
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_CONVERTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_COORDINATESYSTEM_H
|
||||
#define BASE_COORDINATESYSTEM_H
|
||||
#pragma once
|
||||
|
||||
#include "Axis.h"
|
||||
|
||||
@@ -122,5 +121,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_COORDINATESYSTEM_H
|
||||
|
||||
+1
-4
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_DEBUGGER_H
|
||||
#define BASE_DEBUGGER_H
|
||||
#pragma once
|
||||
|
||||
#include <QEventLoop>
|
||||
#include <QObject>
|
||||
@@ -83,5 +82,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_DEBUGGER_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef FREECAD_BASE_DUAL_NUMBER_H
|
||||
#define FREECAD_BASE_DUAL_NUMBER_H
|
||||
#pragma once
|
||||
|
||||
#include <cmath>
|
||||
|
||||
@@ -111,6 +110,3 @@ inline DualNumber pow(DualNumber a, double pw)
|
||||
}
|
||||
} // namespace Base
|
||||
// NOLINTEND(readability-identifier-length)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef FREECAD_BASE_DUAL_QUATERNION_H
|
||||
#define FREECAD_BASE_DUAL_QUATERNION_H
|
||||
#pragma once
|
||||
|
||||
#include "DualNumber.h"
|
||||
#include <FCGlobal.h>
|
||||
@@ -149,5 +148,3 @@ BaseExport DualQuat operator*(DualNumber a, DualQuat b);
|
||||
|
||||
} // namespace Base
|
||||
// NOLINTEND(readability-identifier-length)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef BASE_EXCEPTION_H
|
||||
#define BASE_EXCEPTION_H
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
@@ -567,5 +566,3 @@ private:
|
||||
#endif
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_EXCEPTION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_EXCEPTIONFACTORY_H
|
||||
#define BASE_EXCEPTIONFACTORY_H
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "Factory.h"
|
||||
@@ -113,6 +112,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
+1
-5
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_FACTORY_H
|
||||
#define BASE_FACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
@@ -139,6 +138,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
+1
-5
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_FILEINFO_H
|
||||
#define BASE_FILEINFO_H
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
@@ -178,6 +177,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
|
||||
#endif // BASE_FILEINFO_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_FUTUREWATCHER_H
|
||||
#define BASE_FUTUREWATCHER_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <Base/Sequencer.h>
|
||||
@@ -54,5 +53,3 @@ private:
|
||||
unsigned int steps, current {0};
|
||||
};
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_FUTUREWATCHER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PY_GEOMETRYPY_H
|
||||
#define PY_GEOMETRYPY_H
|
||||
#pragma once
|
||||
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <FCGlobal.h>
|
||||
@@ -290,5 +289,3 @@ using Rotation = GeometryT<Base::Rotation, Base::RotationPy, &Base::RotationPy::
|
||||
using Placement = GeometryT<Base::Placement, Base::PlacementPy, &Base::PlacementPy::getPlacementPtr>;
|
||||
|
||||
} // namespace Py
|
||||
|
||||
#endif // PY_GEOMETRYPY_H
|
||||
|
||||
+1
-4
@@ -24,8 +24,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef BASE_HANDLE_H
|
||||
#define BASE_HANDLE_H
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
@@ -190,5 +189,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace Base
|
||||
|
||||
#endif // BASE_HANDLE_H
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user