From 08984eda3d915d1192517f5dabd204bdbe3b4ff1 Mon Sep 17 00:00:00 2001 From: aml Date: Wed, 16 Feb 2022 12:59:22 +0300 Subject: [PATCH] 0032838: Coding - get rid of unused forward declarations (misc) --- src/Law/Law.hxx | 10 ---------- src/Law/Law_BSpFunc.hxx | 2 -- src/Law/Law_BSpline.hxx | 6 ------ src/Law/Law_BSplineKnotSplitting.hxx | 2 -- src/Law/Law_Composite.hxx | 2 -- src/Law/Law_Constant.hxx | 2 -- src/Law/Law_Function.hxx | 1 - src/Law/Law_Interpolate.hxx | 2 -- src/Law/Law_Linear.hxx | 2 -- src/STEPSelections/STEPSelections_AssemblyExplorer.hxx | 1 - src/STEPSelections/STEPSelections_AssemblyLink.hxx | 1 - src/SWDRAW/SWDRAW.hxx | 8 -------- src/gp/gp_Mat.hxx | 2 -- 13 files changed, 41 deletions(-) diff --git a/src/Law/Law.hxx b/src/Law/Law.hxx index 3cc8ed2129..5f42e46b5c 100644 --- a/src/Law/Law.hxx +++ b/src/Law/Law.hxx @@ -31,16 +31,6 @@ class Law_BSpFunc; class Law_Linear; class Law_BSpline; class Adaptor3d_Curve; -class Law_BSpline; -class Law_Interpolate; -class Law_Function; -class Law_Constant; -class Law_Linear; -class Law_BSpFunc; -class Law_S; -class Law_Interpol; -class Law_Composite; -class Law_BSplineKnotSplitting; //! Multiple services concerning 1d functions. diff --git a/src/Law/Law_BSpFunc.hxx b/src/Law/Law_BSpFunc.hxx index 06967499e8..ae3c410d58 100644 --- a/src/Law/Law_BSpFunc.hxx +++ b/src/Law/Law_BSpFunc.hxx @@ -26,8 +26,6 @@ #include #include class Law_BSpline; -class Standard_OutOfRange; -class Law_Function; class Law_BSpFunc; diff --git a/src/Law/Law_BSpline.hxx b/src/Law/Law_BSpline.hxx index d8548612b4..268da912c6 100644 --- a/src/Law/Law_BSpline.hxx +++ b/src/Law/Law_BSpline.hxx @@ -30,12 +30,6 @@ #include #include #include -class Standard_ConstructionError; -class Standard_DimensionError; -class Standard_DomainError; -class Standard_OutOfRange; -class Standard_RangeError; -class Standard_NoSuchObject; class Law_BSpline; diff --git a/src/Law/Law_BSplineKnotSplitting.hxx b/src/Law/Law_BSplineKnotSplitting.hxx index 8da0998ecc..c1e55bd977 100644 --- a/src/Law/Law_BSplineKnotSplitting.hxx +++ b/src/Law/Law_BSplineKnotSplitting.hxx @@ -24,8 +24,6 @@ #include #include #include -class Standard_DimensionError; -class Standard_RangeError; class Law_BSpline; diff --git a/src/Law/Law_Composite.hxx b/src/Law/Law_Composite.hxx index ed72b6c9b9..2a7d0f0a6d 100644 --- a/src/Law/Law_Composite.hxx +++ b/src/Law/Law_Composite.hxx @@ -27,8 +27,6 @@ #include #include #include -class Law_Function; -class Standard_OutOfRange; class Law_Composite; diff --git a/src/Law/Law_Constant.hxx b/src/Law/Law_Constant.hxx index 42e1776852..4a37fc4ec2 100644 --- a/src/Law/Law_Constant.hxx +++ b/src/Law/Law_Constant.hxx @@ -25,8 +25,6 @@ #include #include #include -class Standard_OutOfRange; -class Law_Function; class Law_Constant; diff --git a/src/Law/Law_Function.hxx b/src/Law/Law_Function.hxx index c5305d8b25..58dd86cd91 100644 --- a/src/Law/Law_Function.hxx +++ b/src/Law/Law_Function.hxx @@ -25,7 +25,6 @@ #include #include #include -class Standard_OutOfRange; class Law_Function; diff --git a/src/Law/Law_Interpolate.hxx b/src/Law/Law_Interpolate.hxx index 68147a8a5f..26de82850d 100644 --- a/src/Law/Law_Interpolate.hxx +++ b/src/Law/Law_Interpolate.hxx @@ -27,8 +27,6 @@ #include #include class Law_BSpline; -class StdFail_NotDone; -class Standard_ConstructionError; //! This class is used to interpolate a BsplineCurve diff --git a/src/Law/Law_Linear.hxx b/src/Law/Law_Linear.hxx index 45d930448d..f86535d4aa 100644 --- a/src/Law/Law_Linear.hxx +++ b/src/Law/Law_Linear.hxx @@ -25,8 +25,6 @@ #include #include #include -class Standard_OutOfRange; -class Law_Function; class Law_Linear; diff --git a/src/STEPSelections/STEPSelections_AssemblyExplorer.hxx b/src/STEPSelections/STEPSelections_AssemblyExplorer.hxx index 7780aa67bf..5d1142bb4d 100644 --- a/src/STEPSelections/STEPSelections_AssemblyExplorer.hxx +++ b/src/STEPSelections/STEPSelections_AssemblyExplorer.hxx @@ -26,7 +26,6 @@ #include #include #include -class Interface_Graph; class StepShape_ShapeDefinitionRepresentation; class StepBasic_ProductDefinition; class STEPSelections_AssemblyComponent; diff --git a/src/STEPSelections/STEPSelections_AssemblyLink.hxx b/src/STEPSelections/STEPSelections_AssemblyLink.hxx index 570ac6d4b7..72c54a35ff 100644 --- a/src/STEPSelections/STEPSelections_AssemblyLink.hxx +++ b/src/STEPSelections/STEPSelections_AssemblyLink.hxx @@ -22,7 +22,6 @@ #include class StepRepr_NextAssemblyUsageOccurrence; -class Standard_Transient; class STEPSelections_AssemblyComponent; diff --git a/src/SWDRAW/SWDRAW.hxx b/src/SWDRAW/SWDRAW.hxx index 4ea68bdb3f..5a9134bc55 100644 --- a/src/SWDRAW/SWDRAW.hxx +++ b/src/SWDRAW/SWDRAW.hxx @@ -23,14 +23,6 @@ #include #include -class SWDRAW_ShapeTool; -class SWDRAW_ShapeAnalysis; -class SWDRAW_ShapeCustom; -class SWDRAW_ShapeExtend; -class SWDRAW_ShapeFix; -class SWDRAW_ShapeUpgrade; -class SWDRAW_ShapeProcess; -class SWDRAW_ShapeProcessAPI; //! Provides DRAW interface to the functionalities of Shape Healing diff --git a/src/gp/gp_Mat.hxx b/src/gp/gp_Mat.hxx index 1f89cb789b..cb662288db 100644 --- a/src/gp/gp_Mat.hxx +++ b/src/gp/gp_Mat.hxx @@ -21,8 +21,6 @@ #include class gp_XYZ; -class gp_Trsf; -class gp_GTrsf; //! Describes a three column, three row matrix. //! This sort of object is used in various vectorial or matrix computations.