[App] Expression and Extension: remove unused includes
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "DocumentObjectExtension.h"
|
||||
#include "DocumentObjectExtensionPy.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "ExtensionContainer.h"
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -24,9 +24,12 @@
|
||||
#ifndef APP_DOCUMENTOBJECTEXTENSION_H
|
||||
#define APP_DOCUMENTOBJECTEXTENSION_H
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "Extension.h"
|
||||
#include <Base/Matrix.h>
|
||||
|
||||
namespace App {
|
||||
class DocumentObject;
|
||||
class DocumentObjectExecReturn;
|
||||
|
||||
/**
|
||||
* @brief Extension with special document object calls
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObserverPython.h"
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <cstring>
|
||||
# include <cstdlib>
|
||||
#endif
|
||||
|
||||
#include <Base/Exception.h>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
//#include <App/PropertyStandard.h>
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -31,36 +31,27 @@
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/io/ios_state.hpp>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include "Base/Exception.h"
|
||||
#include <Base/Interpreter.h>
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentPy.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <Base/QuantityPy.h>
|
||||
#include <Base/MatrixPy.h>
|
||||
#include <Base/PlacementPy.h>
|
||||
#include <Base/RotationPy.h>
|
||||
#include <Base/VectorPy.h>
|
||||
#include <QStringList>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stack>
|
||||
#include <deque>
|
||||
#include <algorithm>
|
||||
#include "ExpressionParser.h"
|
||||
#include <Base/Unit.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <App/ObjectIdentifier.h>
|
||||
#include <boost/math/special_functions/round.hpp>
|
||||
#include <boost/math/special_functions/trunc.hpp>
|
||||
|
||||
#include <sstream>
|
||||
#include <stack>
|
||||
#include <string>
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/ObjectIdentifier.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/MatrixPy.h>
|
||||
#include <Base/PlacementPy.h>
|
||||
#include <Base/QuantityPy.h>
|
||||
#include <Base/RotationPy.h>
|
||||
#include <Base/VectorPy.h>
|
||||
|
||||
#include "ExpressionParser.h"
|
||||
|
||||
|
||||
/** \defgroup Expression Expressions framework
|
||||
\ingroup APP
|
||||
\brief The expression system allows users to write expressions and formulas that produce values
|
||||
@@ -69,7 +60,7 @@
|
||||
using namespace Base;
|
||||
using namespace App;
|
||||
|
||||
FC_LOG_LEVEL_INIT("Expression",true,true)
|
||||
FC_LOG_LEVEL_INIT("Expression", true, true)
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
||||
@@ -23,17 +23,17 @@
|
||||
#ifndef EXPRESSION_H
|
||||
#define EXPRESSION_H
|
||||
|
||||
#include <deque>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Unit.h>
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/ObjectIdentifier.h>
|
||||
#include <App/Range.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/BaseClass.h>
|
||||
#include <Base/Quantity.h>
|
||||
#include <set>
|
||||
#include <deque>
|
||||
#include <App/Range.h>
|
||||
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#ifndef EXPRESSION_PARSER_H
|
||||
#define EXPRESSION_PARSER_H
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include "Expression.h"
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#ifndef RENAMEOBJECTIDENTIFIEREXPRESSIONVISITOR_H
|
||||
#define RENAMEOBJECTIDENTIFIEREXPRESSIONVISITOR_H
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include "Expression.h"
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -25,16 +25,15 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <algorithm>
|
||||
#endif
|
||||
|
||||
#include "Extension.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "Base/Exception.h"
|
||||
#include <Base/Console.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
#include "Extension.h"
|
||||
#include "ExtensionContainer.h"
|
||||
#include <ExtensionPy.h>
|
||||
|
||||
|
||||
/* We do not use a standard property macro for type initiation. The reason is that we have the first
|
||||
* PropertyData in the extension chain, there is no parent property data.
|
||||
*/
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
#ifndef APP_EXTENSION_H
|
||||
#define APP_EXTENSION_H
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include "PropertyContainer.h"
|
||||
#include "PropertyPythonObject.h"
|
||||
#include "ExtensionContainer.h"
|
||||
#include "Base/Interpreter.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
|
||||
namespace App {
|
||||
|
||||
|
||||
@@ -23,15 +23,12 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <algorithm>
|
||||
#endif
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
#include "Extension.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "Base/Exception.h"
|
||||
#include <Base/Console.h>
|
||||
#include "ExtensionContainer.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -24,16 +24,15 @@
|
||||
#ifndef APP_EXTENSIONCONTAINER_H
|
||||
#define APP_EXTENSIONCONTAINER_H
|
||||
|
||||
#include "Extension.h"
|
||||
#include "PropertyContainer.h"
|
||||
#include "PropertyPythonObject.h"
|
||||
#include "DynamicProperty.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "PropertyContainer.h"
|
||||
|
||||
|
||||
namespace App {
|
||||
|
||||
class Extension;
|
||||
/**
|
||||
* @brief Container which can hold extensions
|
||||
*
|
||||
|
||||
@@ -28,11 +28,10 @@
|
||||
#endif
|
||||
|
||||
#include "Application.h"
|
||||
#include "DocumentObject.h"
|
||||
|
||||
// inclution of the generated files (generated out of PropertyContainerPy.xml)
|
||||
#include <App/ExtensionContainerPy.h>
|
||||
#include <App/ExtensionContainerPy.cpp>
|
||||
#include <App/Extension.h>
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
#include "Application.h"
|
||||
|
||||
// inclution of the generated files (generated out of PropertyContainerPy.xml)
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <Base/Base64.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Quantity.h>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#endif
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "Action.h"
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "AxisOriginPy.h"
|
||||
#include "AxisOriginPy.cpp"
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
using namespace Gui;
|
||||
|
||||
|
||||
@@ -32,12 +32,14 @@
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/DocumentObserver.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
|
||||
#include "Document.h"
|
||||
#include "View3DInventor.h"
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "Application.h"
|
||||
#include "MainWindow.h"
|
||||
#include "ViewProviderDocumentObject.h"
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
using namespace Gui;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <App/GeoFeature.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "Base/Console.h"
|
||||
#include "Base/Exception.h"
|
||||
#include "Base/FileInfo.h"
|
||||
#include <Base/Interpreter.h>
|
||||
#include "Base/Sequencer.h"
|
||||
#include "Base/Stream.h"
|
||||
#include "Base/Tools.h"
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include "../App/PartFeature.h"
|
||||
#include <Gui/Application.h>
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/Property.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <Mod/Spreadsheet/App/Utils.h>
|
||||
#include "../App/Sheet.h"
|
||||
#include <Gui/Command.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include <boost_bind_bind.hpp>
|
||||
|
||||
Reference in New Issue
Block a user