From ce7fe22d97cc4d8813ab062e875ba1500916cb8d Mon Sep 17 00:00:00 2001 From: kgv Date: Sun, 19 Dec 2021 11:29:36 +0300 Subject: [PATCH] 0032743: Coding Rules - remove unused class friends of Package classes --- src/AppParCurves/AppParCurves.hxx | 39 ---------- src/BOPTest/BOPTest.hxx | 7 -- src/BRepBuilderAPI/BRepBuilderAPI.cxx | 2 +- src/BRepBuilderAPI/BRepBuilderAPI.hxx | 39 ---------- src/BRepCheck/BRepCheck.cxx | 2 +- src/BRepCheck/BRepCheck.hxx | 28 ------- src/BRepClass3d/BRepClass3d.cxx | 6 +- src/BRepClass3d/BRepClass3d.hxx | 26 ------- src/BRepFeat/BRepFeat.cxx | 2 +- src/BRepFeat/BRepFeat.hxx | 33 --------- src/BRepFill/BRepFill.cxx | 3 +- src/BRepFill/BRepFill.hxx | 47 +----------- src/BRepGProp/BRepGProp.hxx | 28 ------- src/BRepLProp/BRepLProp.cxx | 2 +- src/BRepLProp/BRepLProp.hxx | 25 ------- src/BRepLib/BRepLib.hxx | 32 -------- src/BRepTools/BRepTools.cxx | 2 +- src/BRepTools/BRepTools.hxx | 22 ------ src/BinMDF/BinMDF.hxx | 27 ------- src/BinMDataStd/BinMDataStd.hxx | 41 ---------- src/BinMDataXtd/BinMDataXtd.hxx | 25 ------- src/BinMDocStd/BinMDocStd.cxx | 2 +- src/BinMDocStd/BinMDocStd.hxx | 22 ------ src/BinMFunction/BinMFunction.cxx | 2 +- src/BinMFunction/BinMFunction.hxx | 24 ------ src/BinMNaming/BinMNaming.cxx | 2 +- src/BinMNaming/BinMNaming.hxx | 20 ----- src/BinMXCAFDoc/BinMXCAFDoc.cxx | 2 +- src/BinMXCAFDoc/BinMXCAFDoc.hxx | 29 -------- src/BinTools/BinTools.hxx | 23 ------ src/Bisector/Bisector.hxx | 31 -------- src/BlendFunc/BlendFunc.cxx | 3 +- src/BlendFunc/BlendFunc.hxx | 35 --------- src/BndLib/BndLib.cxx | 2 +- src/BndLib/BndLib.hxx | 24 ------ src/CSLib/CSLib.hxx | 23 ------ src/ChFi2d/ChFi2d.hxx | 23 ------ src/ChFi3d/ChFi3d.cxx | 2 +- src/ChFi3d/ChFi3d.hxx | 25 ------- src/DDF/DDF.hxx | 24 ------ src/DDataStd/DDataStd.hxx | 24 ------ src/DDocStd/DDocStd.cxx | 3 +- src/DDocStd/DDocStd.hxx | 20 ----- src/DNaming/DNaming.cxx | 2 +- src/DNaming/DNaming.hxx | 32 -------- src/Draft/Draft.cxx | 2 +- src/Draft/Draft.hxx | 25 ------- src/DrawDim/DrawDim.cxx | 2 +- src/DrawDim/DrawDim.hxx | 30 -------- src/Expr/Expr.hxx | 72 ------------------ src/ExprIntrp/ExprIntrp.hxx | 27 +------ src/GProp/GProp.cxx | 2 +- src/GProp/GProp.hxx | 28 ------- src/GccEnt/GccEnt.hxx | 23 ------ src/Geom2dConvert/Geom2dConvert.cxx | 4 +- src/Geom2dConvert/Geom2dConvert.hxx | 25 ------- src/Geom2dGcc/Geom2dGcc.cxx | 6 +- src/Geom2dGcc/Geom2dGcc.hxx | 46 ------------ src/GeomAPI/GeomAPI.cxx | 2 +- src/GeomAPI/GeomAPI.hxx | 31 -------- src/GeomConvert/GeomConvert.cxx | 5 +- src/GeomConvert/GeomConvert.hxx | 29 -------- src/GeomConvert/GeomConvert_1.cxx | 5 +- src/GeomFill/GeomFill.cxx | 2 +- src/GeomFill/GeomFill.hxx | 75 ------------------- src/GeomInt/GeomInt.hxx | 49 ------------ src/GeomLProp/GeomLProp.cxx | 2 +- src/GeomLProp/GeomLProp.hxx | 25 ------- src/GeomLib/GeomLib.hxx | 24 ------ src/GeomTools/GeomTools.cxx | 2 +- src/GeomTools/GeomTools.hxx | 25 ------- src/HLRBRep/HLRBRep.cxx | 2 +- src/HLRBRep/HLRBRep.hxx | 76 ------------------- src/HLRTest/HLRTest.cxx | 2 +- src/HLRTest/HLRTest.hxx | 26 ------- src/HeaderSection/HeaderSection.hxx | 26 ------- src/IFSelect/IFSelect.hxx | 99 ------------------------- src/IGESAppli/IGESAppli.hxx | 63 ---------------- src/IGESBasic/IGESBasic.hxx | 62 ---------------- src/IGESCAFControl/IGESCAFControl.hxx | 23 ------ src/IGESConvGeom/IGESConvGeom.cxx | 7 +- src/IGESConvGeom/IGESConvGeom.hxx | 22 ------ src/IGESData/IGESData.hxx | 60 --------------- src/IGESDefs/IGESDefs.cxx | 2 +- src/IGESDefs/IGESDefs.hxx | 40 ---------- src/IGESDimen/IGESDimen.cxx | 2 +- src/IGESDimen/IGESDimen.hxx | 71 ------------------ src/IGESDraw/IGESDraw.cxx | 2 +- src/IGESDraw/IGESDraw.hxx | 53 ------------- src/IGESGeom/IGESGeom.cxx | 2 +- src/IGESGeom/IGESGeom.hxx | 71 ------------------ src/IGESGraph/IGESGraph.cxx | 2 +- src/IGESGraph/IGESGraph.hxx | 53 ------------- src/IGESSelect/IGESSelect.cxx | 2 +- src/IGESSelect/IGESSelect.hxx | 67 ----------------- src/IGESSolid/IGESSolid.cxx | 2 +- src/IGESSolid/IGESSolid.hxx | 74 ------------------ src/IGESToBRep/IGESToBRep.cxx | 6 +- src/IntImpParGen/IntImpParGen.cxx | 11 +-- src/IntImpParGen/IntImpParGen.hxx | 25 ------- src/IntSurf/IntSurf.hxx | 30 -------- src/Intf/Intf.cxx | 2 +- src/Intf/Intf.hxx | 29 -------- src/Law/Law.cxx | 2 +- src/Law/Law.hxx | 31 -------- src/LocOpe/LocOpe.hxx | 42 ----------- src/LocalAnalysis/LocalAnalysis.hxx | 5 -- src/PLib/PLib.cxx | 5 +- src/PLib/PLib.hxx | 19 ----- src/Poly/Poly.hxx | 9 --- src/QABugs/QABugs.hxx | 21 ------ src/RWHeaderSection/RWHeaderSection.cxx | 2 +- src/RWHeaderSection/RWHeaderSection.hxx | 26 ------- src/RWStepAP214/RWStepAP214.cxx | 2 +- src/RWStepAP214/RWStepAP214.hxx | 49 ------------ src/STEPConstruct/STEPConstruct.cxx | 2 +- src/STEPConstruct/STEPConstruct.hxx | 31 -------- src/STEPEdit/STEPEdit.cxx | 2 +- src/STEPEdit/STEPEdit.hxx | 23 ------ src/SWDRAW/SWDRAW.cxx | 7 +- src/SWDRAW/SWDRAW.hxx | 30 -------- src/ShapeAlgo/ShapeAlgo.hxx | 23 ------ src/ShapeAnalysis/ShapeAnalysis.cxx | 8 +- src/ShapeAnalysis/ShapeAnalysis.hxx | 37 --------- src/ShapeBuild/ShapeBuild.cxx | 3 +- src/ShapeBuild/ShapeBuild.hxx | 24 ------ src/ShapeCustom/ShapeCustom.hxx | 32 -------- src/ShapeExtend/ShapeExtend.hxx | 27 ------- src/ShapeFix/ShapeFix.hxx | 42 ----------- src/ShapeProcess/ShapeProcess.cxx | 3 +- src/ShapeProcess/ShapeProcess.hxx | 26 ------- src/ShapeUpgrade/ShapeUpgrade.cxx | 3 +- src/ShapeUpgrade/ShapeUpgrade.hxx | 35 --------- src/StepAP214/StepAP214.cxx | 3 +- src/StepAP214/StepAP214.hxx | 66 ----------------- src/StepData/StepData.cxx | 4 +- src/StepData/StepData.hxx | 60 --------------- src/StepToTopoDS/StepToTopoDS.hxx | 39 ---------- src/Storage/Storage.cxx | 4 +- src/Storage/Storage.hxx | 33 --------- src/TDF/TDF.cxx | 6 +- src/TDF/TDF.hxx | 48 ------------ src/TDataStd/TDataStd.hxx | 60 --------------- src/TDocStd/TDocStd.hxx | 34 --------- src/TNaming/TNaming.cxx | 2 +- src/TNaming/TNaming.hxx | 44 ----------- src/TopExp/TopExp.hxx | 22 ------ src/TopOpeBRep/TopOpeBRep.hxx | 46 ------------ src/TopOpeBRepBuild/FILES | 1 - src/TopOpeBRepBuild/TopOpeBRepBuild.cxx | 15 ---- src/TopOpeBRepDS/TopOpeBRepDS.cxx | 2 +- src/TopOpeBRepDS/TopOpeBRepDS.hxx | 67 ----------------- src/TopOpeBRepTool/TopOpeBRepTool.hxx | 42 ----------- src/TopTools/TopTools.cxx | 2 +- src/TopTools/TopTools.hxx | 25 ------- src/TopoDS/TopoDS.hxx | 41 ---------- src/TopoDSToStep/TopoDSToStep.cxx | 2 +- src/TopoDSToStep/TopoDSToStep.hxx | 36 --------- src/TransferBRep/TransferBRep.cxx | 2 +- src/TransferBRep/TransferBRep.hxx | 29 -------- src/Units/Units.cxx | 12 +-- src/Units/Units.hxx | 36 --------- src/Vrml/Vrml.cxx | 2 +- src/Vrml/Vrml.hxx | 60 --------------- src/VrmlAPI/VrmlAPI.cxx | 2 +- src/VrmlAPI/VrmlAPI.hxx | 22 ------ src/XCAFPrs/XCAFPrs.hxx | 23 ------ src/XDEDRAW/XDEDRAW.cxx | 2 +- src/XDEDRAW/XDEDRAW.hxx | 26 ------- src/XSAlgo/XSAlgo.cxx | 2 +- src/XSAlgo/XSAlgo.hxx | 23 ------ src/XSControl/XSControl.cxx | 2 +- src/XSControl/XSControl.hxx | 34 --------- src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx | 2 +- src/XSDRAWSTLVRML/XSDRAWSTLVRML.hxx | 25 ------- src/XmlMDataStd/XmlMDataStd.cxx | 3 +- src/XmlMDataStd/XmlMDataStd.hxx | 43 ----------- src/XmlMDataXtd/XmlMDataXtd.cxx | 3 +- src/XmlMDataXtd/XmlMDataXtd.hxx | 25 ------- src/XmlMDocStd/XmlMDocStd.cxx | 2 +- src/XmlMDocStd/XmlMDocStd.hxx | 22 ------ src/XmlMFunction/XmlMFunction.cxx | 2 +- src/XmlMFunction/XmlMFunction.hxx | 25 ------- src/XmlMNaming/XmlMNaming.cxx | 2 +- src/XmlMNaming/XmlMNaming.hxx | 23 ------ src/XmlMXCAFDoc/XmlMXCAFDoc.cxx | 2 +- src/XmlMXCAFDoc/XmlMXCAFDoc.hxx | 30 -------- src/XmlObjMgt/XmlObjMgt.cxx | 3 +- src/XmlObjMgt/XmlObjMgt.hxx | 24 ------ src/math/math.hxx | 61 --------------- 190 files changed, 87 insertions(+), 4181 deletions(-) delete mode 100644 src/TopOpeBRepBuild/TopOpeBRepBuild.cxx diff --git a/src/AppParCurves/AppParCurves.hxx b/src/AppParCurves/AppParCurves.hxx index e7ae86624b..3902ecb321 100644 --- a/src/AppParCurves/AppParCurves.hxx +++ b/src/AppParCurves/AppParCurves.hxx @@ -27,7 +27,6 @@ #include class math_Matrix; - //! Parallel Approximation in n curves. //! This package gives all the algorithms used to approximate a MultiLine //! described by the tool MLineTool. @@ -47,44 +46,6 @@ public: Standard_EXPORT static void SplineFunction (const Standard_Integer NbPoles, const Standard_Integer Degree, const math_Vector& Parameters, const math_Vector& FlatKnots, math_Matrix& A, math_Matrix& DA, math_IntegerVector& Index); - - - -protected: - - - - - -private: - - - - -friend class AppParCurves_MultiPoint; -friend class AppParCurves_MultiCurve; -friend class AppParCurves_MultiBSpCurve; -friend class AppParCurves_ConstraintCouple; -friend class AppParCurves_LeastSquare; -friend class AppParCurves_ResolConstraint; -friend class AppParCurves_Function; -friend class AppParCurves_BSpFunction; -friend class AppParCurves_Gradient; -friend class AppParCurves_Gradient_BFGS; -friend class AppParCurves_ParLeastSquare; -friend class AppParCurves_ResConstraint; -friend class AppParCurves_ParFunction; -friend class AppParCurves_BSpGradient; -friend class AppParCurves_BSpGradient_BFGS; -friend class AppParCurves_BSpParLeastSquare; -friend class AppParCurves_BSpParFunction; - }; - - - - - - #endif // _AppParCurves_HeaderFile diff --git a/src/BOPTest/BOPTest.hxx b/src/BOPTest/BOPTest.hxx index 4d385f6030..d23fb2405e 100644 --- a/src/BOPTest/BOPTest.hxx +++ b/src/BOPTest/BOPTest.hxx @@ -71,13 +71,6 @@ public: //! For numeric values, the number correspond to the order in enum. Standard_EXPORT static BOPAlgo_Operation GetOperationType(const Standard_CString theOp); -protected: - -private: - -friend class BOPTest_Objects; -friend class BOPTest_DrawableShape; - }; #endif // _BOPTest_HeaderFile diff --git a/src/BRepBuilderAPI/BRepBuilderAPI.cxx b/src/BRepBuilderAPI/BRepBuilderAPI.cxx index e5e8b587b1..e0d9c60e4e 100644 --- a/src/BRepBuilderAPI/BRepBuilderAPI.cxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI.cxx @@ -14,10 +14,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/BRepBuilderAPI/BRepBuilderAPI.hxx b/src/BRepBuilderAPI/BRepBuilderAPI.hxx index 2bc47ce761..91092301bf 100644 --- a/src/BRepBuilderAPI/BRepBuilderAPI.hxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI.hxx @@ -103,45 +103,6 @@ public: //! Returns the default precision. Standard_EXPORT static Standard_Real Precision(); - - - -protected: - - - - - -private: - - - - -friend class BRepBuilderAPI_Command; -friend class BRepBuilderAPI_MakeShape; -friend class BRepBuilderAPI_MakeVertex; -friend class BRepBuilderAPI_MakeEdge; -friend class BRepBuilderAPI_MakeEdge2d; -friend class BRepBuilderAPI_MakePolygon; -friend class BRepBuilderAPI_MakeFace; -friend class BRepBuilderAPI_FindPlane; -friend class BRepBuilderAPI_Sewing; -friend class BRepBuilderAPI_MakeWire; -friend class BRepBuilderAPI_MakeShell; -friend class BRepBuilderAPI_MakeSolid; -friend class BRepBuilderAPI_ModifyShape; -friend class BRepBuilderAPI_Transform; -friend class BRepBuilderAPI_NurbsConvert; -friend class BRepBuilderAPI_GTransform; -friend class BRepBuilderAPI_Copy; -friend class BRepBuilderAPI_Collect; - }; - - - - - - #endif // _BRepBuilderAPI_HeaderFile diff --git a/src/BRepCheck/BRepCheck.cxx b/src/BRepCheck/BRepCheck.cxx index e057a54588..2f587ffd24 100644 --- a/src/BRepCheck/BRepCheck.cxx +++ b/src/BRepCheck/BRepCheck.cxx @@ -14,9 +14,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include #include diff --git a/src/BRepCheck/BRepCheck.hxx b/src/BRepCheck/BRepCheck.hxx index 2ceb463556..aec962a191 100644 --- a/src/BRepCheck/BRepCheck.hxx +++ b/src/BRepCheck/BRepCheck.hxx @@ -49,34 +49,6 @@ public: //! Returns the resolution on the surface Standard_EXPORT static Standard_Real PrecSurface(const Handle(Adaptor3d_Surface)& aAHSurf); - - -protected: - - - - - -private: - - - - -friend class BRepCheck_Result; -friend class BRepCheck_Vertex; -friend class BRepCheck_Edge; -friend class BRepCheck_Wire; -friend class BRepCheck_Face; -friend class BRepCheck_Shell; -friend class BRepCheck_Solid; -friend class BRepCheck_Analyzer; - }; - - - - - - #endif // _BRepCheck_HeaderFile diff --git a/src/BRepClass3d/BRepClass3d.cxx b/src/BRepClass3d/BRepClass3d.cxx index 29ab06ef0f..4385164b1e 100644 --- a/src/BRepClass3d/BRepClass3d.cxx +++ b/src/BRepClass3d/BRepClass3d.cxx @@ -14,13 +14,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// File: BRepClass3d.cxx -// Created: Thu Sep 20 10:05:46 2012 -// Author: -// +#include #include -#include #include #include #include diff --git a/src/BRepClass3d/BRepClass3d.hxx b/src/BRepClass3d/BRepClass3d.hxx index 333eea514f..2fb50307e8 100644 --- a/src/BRepClass3d/BRepClass3d.hxx +++ b/src/BRepClass3d/BRepClass3d.hxx @@ -38,32 +38,6 @@ public: //! If has only one shell, then it will return, without checking orientation. Standard_EXPORT static TopoDS_Shell OuterShell (const TopoDS_Solid& S); - - - -protected: - - - - - -private: - - - - -friend class BRepClass3d_Intersector3d; -friend class BRepClass3d_SolidExplorer; -friend class BRepClass3d_SolidPassiveClassifier; -friend class BRepClass3d_SClassifier; -friend class BRepClass3d_SolidClassifier; - }; - - - - - - #endif // _BRepClass3d_HeaderFile diff --git a/src/BRepFeat/BRepFeat.cxx b/src/BRepFeat/BRepFeat.cxx index 7f3d843b0f..4118757b34 100644 --- a/src/BRepFeat/BRepFeat.cxx +++ b/src/BRepFeat/BRepFeat.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -21,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/src/BRepFeat/BRepFeat.hxx b/src/BRepFeat/BRepFeat.hxx index ad14560bf5..d4441dc105 100644 --- a/src/BRepFeat/BRepFeat.hxx +++ b/src/BRepFeat/BRepFeat.hxx @@ -107,39 +107,6 @@ public: //! the Stream and returns . Standard_EXPORT static Standard_OStream& Print (const BRepFeat_StatusError SE, Standard_OStream& S); - - - -protected: - - - - - -private: - - - - -friend class BRepFeat_Builder; -friend class BRepFeat_MakeCylindricalHole; -friend class BRepFeat_SplitShape; -friend class BRepFeat_Form; -friend class BRepFeat_RibSlot; -friend class BRepFeat_MakePrism; -friend class BRepFeat_MakeRevol; -friend class BRepFeat_MakePipe; -friend class BRepFeat_Gluer; -friend class BRepFeat_MakeDPrism; -friend class BRepFeat_MakeLinearForm; -friend class BRepFeat_MakeRevolutionForm; - }; - - - - - - #endif // _BRepFeat_HeaderFile diff --git a/src/BRepFill/BRepFill.cxx b/src/BRepFill/BRepFill.cxx index 7f02bf8449..e40eb199f7 100644 --- a/src/BRepFill/BRepFill.cxx +++ b/src/BRepFill/BRepFill.cxx @@ -34,12 +34,13 @@ // Modified: Mon Oct 12 09:42:33 1998 // number of edges in EdgesFromVertex (CTS21570) +#include + #include #include #include #include #include -#include #include #include #include diff --git a/src/BRepFill/BRepFill.hxx b/src/BRepFill/BRepFill.hxx index ad592c45e9..d8c8d085c9 100644 --- a/src/BRepFill/BRepFill.hxx +++ b/src/BRepFill/BRepFill.hxx @@ -63,58 +63,15 @@ public: //! Insert ACR on a wire Standard_EXPORT static TopoDS_Wire InsertACR (const TopoDS_Wire& wire, const TColStd_Array1OfReal& ACRcuts, const Standard_Real prec); - - - -protected: - - - - - private: - //! Computes origins and orientation on a closed wire Standard_EXPORT static void SearchOrigin (TopoDS_Wire& W, const gp_Pnt& P, const gp_Vec& V, const Standard_Real Tol); +private: - -friend class BRepFill_Generator; -friend class BRepFill_SectionLaw; -friend class BRepFill_ShapeLaw; -friend class BRepFill_NSections; -friend class BRepFill_Draft; -friend class BRepFill_LocationLaw; -friend class BRepFill_DraftLaw; -friend class BRepFill_Edge3DLaw; -friend class BRepFill_EdgeOnSurfLaw; -friend class BRepFill_ACRLaw; -friend class BRepFill_Pipe; -friend class BRepFill_PipeShell; -friend class BRepFill_Evolved; -friend class BRepFill_Sweep; -friend class BRepFill_CompatibleWires; -friend class BRepFill_OffsetWire; -friend class BRepFill_OffsetAncestors; -friend class BRepFill_ApproxSeewing; -friend class BRepFill_ComputeCLine; -friend class BRepFill_TrimSurfaceTool; -friend class BRepFill_TrimEdgeTool; -friend class BRepFill_SectionPlacement; -friend class BRepFill_Section; -friend class BRepFill_TrimShellCorner; -friend class BRepFill_CurveConstraint; -friend class BRepFill_Filling; -friend class BRepFill_FaceAndOrder; -friend class BRepFill_EdgeFaceAndOrder; + friend class BRepFill_PipeShell; }; - - - - - - #endif // _BRepFill_HeaderFile diff --git a/src/BRepGProp/BRepGProp.hxx b/src/BRepGProp/BRepGProp.hxx index ea9f2cbf94..0f0acebc7c 100644 --- a/src/BRepGProp/BRepGProp.hxx +++ b/src/BRepGProp/BRepGProp.hxx @@ -248,34 +248,6 @@ public: const Standard_Boolean IFlag = Standard_False, const Standard_Boolean SkipShared = Standard_False); - -protected: - - - - - -private: - - - - -friend class BRepGProp_EdgeTool; -friend class BRepGProp_Face; -friend class BRepGProp_Domain; -friend class BRepGProp_Cinert; -friend class BRepGProp_Sinert; -friend class BRepGProp_Vinert; -friend class BRepGProp_VinertGK; -friend class BRepGProp_UFunction; -friend class BRepGProp_TFunction; - }; - - - - - - #endif // _BRepGProp_HeaderFile diff --git a/src/BRepLProp/BRepLProp.cxx b/src/BRepLProp/BRepLProp.cxx index cbbb7dc768..f6f48c9859 100644 --- a/src/BRepLProp/BRepLProp.cxx +++ b/src/BRepLProp/BRepLProp.cxx @@ -14,9 +14,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include #include diff --git a/src/BRepLProp/BRepLProp.hxx b/src/BRepLProp/BRepLProp.hxx index 7d96d8e85b..63e04a5ef5 100644 --- a/src/BRepLProp/BRepLProp.hxx +++ b/src/BRepLProp/BRepLProp.hxx @@ -45,31 +45,6 @@ public: //! The same as preceding but using the standard tolerances from package Precision. Standard_EXPORT static GeomAbs_Shape Continuity (const BRepAdaptor_Curve& C1, const BRepAdaptor_Curve& C2, const Standard_Real u1, const Standard_Real u2); - - - -protected: - - - - - -private: - - - - -friend class BRepLProp_CurveTool; -friend class BRepLProp_SurfaceTool; -friend class BRepLProp_CLProps; -friend class BRepLProp_SLProps; - }; - - - - - - #endif // _BRepLProp_HeaderFile diff --git a/src/BRepLib/BRepLib.hxx b/src/BRepLib/BRepLib.hxx index 8a95ae2cc1..85d8c6d267 100644 --- a/src/BRepLib/BRepLib.hxx +++ b/src/BRepLib/BRepLib.hxx @@ -282,38 +282,6 @@ public: const Standard_Boolean theExtVMax, TopoDS_Face& theFExtended); - -protected: - - - - - -private: - - - - -friend class BRepLib_Command; -friend class BRepLib_MakeShape; -friend class BRepLib_MakeVertex; -friend class BRepLib_MakeEdge; -friend class BRepLib_MakeEdge2d; -friend class BRepLib_MakePolygon; -friend class BRepLib_MakeFace; -friend class BRepLib_MakeWire; -friend class BRepLib_MakeShell; -friend class BRepLib_MakeSolid; -friend class BRepLib_FindSurface; -friend class BRepLib_FuseEdges; -friend class BRepLib_CheckCurveOnSurface; - }; - - - - - - #endif // _BRepLib_HeaderFile diff --git a/src/BRepTools/BRepTools.cxx b/src/BRepTools/BRepTools.cxx index a6ad77c8f8..90ea3e49a5 100644 --- a/src/BRepTools/BRepTools.cxx +++ b/src/BRepTools/BRepTools.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -24,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/BRepTools/BRepTools.hxx b/src/BRepTools/BRepTools.hxx index 9e50dd3fb8..d187da66d5 100644 --- a/src/BRepTools/BRepTools.hxx +++ b/src/BRepTools/BRepTools.hxx @@ -358,28 +358,6 @@ public: Standard_EXPORT static void CheckLocations(const TopoDS_Shape& theS, TopTools_ListOfShape& theProblemShapes); -protected: - - - - - -private: - - - - -friend class BRepTools_WireExplorer; -friend class BRepTools_Modification; -friend class BRepTools_Modifier; -friend class BRepTools_TrsfModification; -friend class BRepTools_NurbsConvertModification; -friend class BRepTools_GTrsfModification; -friend class BRepTools_Substitution; -friend class BRepTools_Quilt; -friend class BRepTools_ShapeSet; -friend class BRepTools_ReShape; - }; #endif // _BRepTools_HeaderFile diff --git a/src/BinMDF/BinMDF.hxx b/src/BinMDF/BinMDF.hxx index 0259876417..cd80374baa 100644 --- a/src/BinMDF/BinMDF.hxx +++ b/src/BinMDF/BinMDF.hxx @@ -23,7 +23,6 @@ class BinMDF_ADriverTable; class Message_Messenger; - //! This package provides classes and methods to //! translate a transient DF into a persistent one and //! vice versa. @@ -49,32 +48,6 @@ public: //! Adds the attribute storage drivers to . Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& aMsgDrv); - - - - -protected: - - - - - -private: - - - - -friend class BinMDF_ADriver; -friend class BinMDF_ReferenceDriver; -friend class BinMDF_TagSourceDriver; -friend class BinMDF_ADriverTable; - }; - - - - - - #endif // _BinMDF_HeaderFile diff --git a/src/BinMDataStd/BinMDataStd.hxx b/src/BinMDataStd/BinMDataStd.hxx index 5257638135..765eb2f912 100644 --- a/src/BinMDataStd/BinMDataStd.hxx +++ b/src/BinMDataStd/BinMDataStd.hxx @@ -57,47 +57,6 @@ static void SetAttributeID(const BinObjMgt_Persistent& theSource, const Handle(T anAtt->SetID(T::GetID()); } - -protected: - - - - - -private: - - - - -friend class BinMDataStd_GenericExtStringDriver; -friend class BinMDataStd_IntegerDriver; -friend class BinMDataStd_RealDriver; -friend class BinMDataStd_IntegerArrayDriver; -friend class BinMDataStd_RealArrayDriver; -friend class BinMDataStd_UAttributeDriver; -friend class BinMDataStd_VariableDriver; -friend class BinMDataStd_ExpressionDriver; -friend class BinMDataStd_TreeNodeDriver; -friend class BinMDataStd_ExtStringArrayDriver; -friend class BinMDataStd_GenericEmptyDriver; -friend class BinMDataStd_AsciiStringDriver; -friend class BinMDataStd_IntPackedMapDriver; -friend class BinMDataStd_IntegerListDriver; -friend class BinMDataStd_RealListDriver; -friend class BinMDataStd_ExtStringListDriver; -friend class BinMDataStd_BooleanListDriver; -friend class BinMDataStd_ReferenceListDriver; -friend class BinMDataStd_BooleanArrayDriver; -friend class BinMDataStd_ReferenceArrayDriver; -friend class BinMDataStd_ByteArrayDriver; -friend class BinMDataStd_NamedDataDriver; - }; - - - - - - #endif // _BinMDataStd_HeaderFile diff --git a/src/BinMDataXtd/BinMDataXtd.hxx b/src/BinMDataXtd/BinMDataXtd.hxx index f6ad616c46..afbe249205 100644 --- a/src/BinMDataXtd/BinMDataXtd.hxx +++ b/src/BinMDataXtd/BinMDataXtd.hxx @@ -39,31 +39,6 @@ public: Standard_EXPORT static Standard_Integer DocumentVersion(); - - - -protected: - - - - - -private: - - - - -friend class BinMDataXtd_GeometryDriver; -friend class BinMDataXtd_ConstraintDriver; -friend class BinMDataXtd_PatternStdDriver; -friend class BinMDataXtd_TriangulationDriver; - }; - - - - - - #endif // _BinMDataXtd_HeaderFile diff --git a/src/BinMDocStd/BinMDocStd.cxx b/src/BinMDocStd/BinMDocStd.cxx index 72d28027ae..105d8213dc 100644 --- a/src/BinMDocStd/BinMDocStd.cxx +++ b/src/BinMDocStd/BinMDocStd.cxx @@ -13,9 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include diff --git a/src/BinMDocStd/BinMDocStd.hxx b/src/BinMDocStd/BinMDocStd.hxx index f802f6f36f..9f3838b668 100644 --- a/src/BinMDocStd/BinMDocStd.hxx +++ b/src/BinMDocStd/BinMDocStd.hxx @@ -35,28 +35,6 @@ public: //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv); - - - -protected: - - - - - -private: - - - - -friend class BinMDocStd_XLinkDriver; - }; - - - - - - #endif // _BinMDocStd_HeaderFile diff --git a/src/BinMFunction/BinMFunction.cxx b/src/BinMFunction/BinMFunction.cxx index 4e0324daf9..0f2603272e 100644 --- a/src/BinMFunction/BinMFunction.cxx +++ b/src/BinMFunction/BinMFunction.cxx @@ -13,9 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include #include diff --git a/src/BinMFunction/BinMFunction.hxx b/src/BinMFunction/BinMFunction.hxx index 1b28d69326..046415cb98 100644 --- a/src/BinMFunction/BinMFunction.hxx +++ b/src/BinMFunction/BinMFunction.hxx @@ -35,30 +35,6 @@ public: //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv); - - - -protected: - - - - - -private: - - - - -friend class BinMFunction_FunctionDriver; -friend class BinMFunction_GraphNodeDriver; -friend class BinMFunction_ScopeDriver; - }; - - - - - - #endif // _BinMFunction_HeaderFile diff --git a/src/BinMNaming/BinMNaming.cxx b/src/BinMNaming/BinMNaming.cxx index 40f47baf3c..49df7dfa5f 100644 --- a/src/BinMNaming/BinMNaming.cxx +++ b/src/BinMNaming/BinMNaming.cxx @@ -13,9 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include #include diff --git a/src/BinMNaming/BinMNaming.hxx b/src/BinMNaming/BinMNaming.hxx index e3c8ab5be3..66a05f9c1f 100644 --- a/src/BinMNaming/BinMNaming.hxx +++ b/src/BinMNaming/BinMNaming.hxx @@ -36,26 +36,6 @@ public: //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv); -protected: - - - - - -private: - - - - -friend class BinMNaming_NamedShapeDriver; -friend class BinMNaming_NamingDriver; - }; - - - - - - #endif // _BinMNaming_HeaderFile diff --git a/src/BinMXCAFDoc/BinMXCAFDoc.cxx b/src/BinMXCAFDoc/BinMXCAFDoc.cxx index df49106583..846d5c67f2 100644 --- a/src/BinMXCAFDoc/BinMXCAFDoc.cxx +++ b/src/BinMXCAFDoc/BinMXCAFDoc.cxx @@ -13,10 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/BinMXCAFDoc/BinMXCAFDoc.hxx b/src/BinMXCAFDoc/BinMXCAFDoc.hxx index 45652b2b8f..df5945db61 100644 --- a/src/BinMXCAFDoc/BinMXCAFDoc.hxx +++ b/src/BinMXCAFDoc/BinMXCAFDoc.hxx @@ -35,35 +35,6 @@ public: //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& theMsgDrv); - - - -protected: - - - - - -private: - - - - -friend class BinMXCAFDoc_CentroidDriver; -friend class BinMXCAFDoc_ColorDriver; -friend class BinMXCAFDoc_GraphNodeDriver; -friend class BinMXCAFDoc_LengthUnitDriver; -friend class BinMXCAFDoc_LocationDriver; -friend class BinMXCAFDoc_DatumDriver; -friend class BinMXCAFDoc_DimTolDriver; -friend class BinMXCAFDoc_MaterialDriver; - }; - - - - - - #endif // _BinMXCAFDoc_HeaderFile diff --git a/src/BinTools/BinTools.hxx b/src/BinTools/BinTools.hxx index 2f58ac6d16..c70728e003 100644 --- a/src/BinTools/BinTools.hxx +++ b/src/BinTools/BinTools.hxx @@ -124,29 +124,6 @@ public: (TopoDS_Shape& theShape, const Standard_CString theFile, const Message_ProgressRange& theRange = Message_ProgressRange()); -protected: - - - - - -private: - - - - -friend class BinTools_ShapeSet; -friend class BinTools_Curve2dSet; -friend class BinTools_CurveSet; -friend class BinTools_SurfaceSet; -friend class BinTools_LocationSet; - }; - - - - - - #endif // _BinTools_HeaderFile diff --git a/src/Bisector/Bisector.hxx b/src/Bisector/Bisector.hxx index 6794613350..8f502c914c 100644 --- a/src/Bisector/Bisector.hxx +++ b/src/Bisector/Bisector.hxx @@ -37,37 +37,6 @@ public: Standard_EXPORT static Standard_Boolean IsConvex (const Handle(Geom2d_Curve)& Cu, const Standard_Real Sign); - - - -protected: - - - - - -private: - - - - -friend class Bisector_Curve; -friend class Bisector_BisecAna; -friend class Bisector_BisecPC; -friend class Bisector_BisecCC; -friend class Bisector_Bisec; -friend class Bisector_Inter; -friend class Bisector_PointOnBis; -friend class Bisector_PolyBis; -friend class Bisector_FunctionH; -friend class Bisector_FunctionInter; - }; - - - - - - #endif // _Bisector_HeaderFile diff --git a/src/BlendFunc/BlendFunc.cxx b/src/BlendFunc/BlendFunc.cxx index d6cfb7ff9d..230de2a927 100644 --- a/src/BlendFunc/BlendFunc.cxx +++ b/src/BlendFunc/BlendFunc.cxx @@ -18,8 +18,9 @@ // 30/12/1996 PMN Ajout de GetMinimalWeight // 23/09/1997 PMN Supprimme GetCircle et GetTol (passe dans GeomFill) -#include #include + +#include #include #include #include diff --git a/src/BlendFunc/BlendFunc.hxx b/src/BlendFunc/BlendFunc.hxx index a4f32032f1..3d38856383 100644 --- a/src/BlendFunc/BlendFunc.hxx +++ b/src/BlendFunc/BlendFunc.hxx @@ -53,41 +53,6 @@ public: Standard_EXPORT static Standard_Boolean ComputeDNormal (const Handle(Adaptor3d_Surface)& Surf, const gp_Pnt2d& p2d, gp_Vec& Normal, gp_Vec& DNu, gp_Vec& DNv); - - - -protected: - - - - - -private: - - - - -friend class BlendFunc_ConstRad; -friend class BlendFunc_ConstRadInv; -friend class BlendFunc_Ruled; -friend class BlendFunc_RuledInv; -friend class BlendFunc_EvolRad; -friend class BlendFunc_EvolRadInv; -friend class BlendFunc_CSConstRad; -friend class BlendFunc_CSCircular; -friend class BlendFunc_Corde; -friend class BlendFunc_Chamfer; -friend class BlendFunc_ChamfInv; -friend class BlendFunc_ChAsym; -friend class BlendFunc_ChAsymInv; -friend class BlendFunc_Tensor; - }; - - - - - - #endif // _BlendFunc_HeaderFile diff --git a/src/BndLib/BndLib.cxx b/src/BndLib/BndLib.cxx index 18e1b39a9d..fc742cab2b 100644 --- a/src/BndLib/BndLib.cxx +++ b/src/BndLib/BndLib.cxx @@ -12,10 +12,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/BndLib/BndLib.hxx b/src/BndLib/BndLib.hxx index 3ea0494d4d..d81f1271ae 100644 --- a/src/BndLib/BndLib.hxx +++ b/src/BndLib/BndLib.hxx @@ -181,30 +181,6 @@ public: //! VMin,VMax can be [-pi/2,pi/2] Standard_EXPORT static void Add (const gp_Torus& P, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax, const Standard_Real Tol, Bnd_Box& B); - - - -protected: - - - - - -private: - - - - -friend class BndLib_Add3dCurve; -friend class BndLib_Add2dCurve; -friend class BndLib_AddSurface; - }; - - - - - - #endif // _BndLib_HeaderFile diff --git a/src/CSLib/CSLib.hxx b/src/CSLib/CSLib.hxx index 1832609bd4..3021a9d971 100644 --- a/src/CSLib/CSLib.hxx +++ b/src/CSLib/CSLib.hxx @@ -122,29 +122,6 @@ public: //! In the regular cases , Iduref=Idvref=0. Standard_EXPORT static gp_Vec DNNormal (const Standard_Integer Nu, const Standard_Integer Nv, const TColgp_Array2OfVec& DerNUV, const Standard_Integer Iduref = 0, const Standard_Integer Idvref = 0); - - - -protected: - - - - - -private: - - - - -friend class CSLib_Class2d; -friend class CSLib_NormalPolyDef; - }; - - - - - - #endif // _CSLib_HeaderFile diff --git a/src/ChFi2d/ChFi2d.hxx b/src/ChFi2d/ChFi2d.hxx index 7eb7156e4f..a48fea1966 100644 --- a/src/ChFi2d/ChFi2d.hxx +++ b/src/ChFi2d/ChFi2d.hxx @@ -53,33 +53,10 @@ public: DEFINE_STANDARD_ALLOC - - - - -protected: - - - - - -private: - - Standard_EXPORT static Standard_Boolean CommonVertex (const TopoDS_Edge& E1, const TopoDS_Edge& E2, TopoDS_Vertex& V); Standard_EXPORT static ChFi2d_ConstructionError FindConnectedEdges (const TopoDS_Face& F, const TopoDS_Vertex& V, TopoDS_Edge& E1, TopoDS_Edge& E2); - - -friend class ChFi2d_Builder; - }; - - - - - - #endif // _ChFi2d_HeaderFile diff --git a/src/ChFi3d/ChFi3d.cxx b/src/ChFi3d/ChFi3d.cxx index 3397f9012d..9c792365f3 100644 --- a/src/ChFi3d/ChFi3d.cxx +++ b/src/ChFi3d/ChFi3d.cxx @@ -14,12 +14,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include #include -#include #include #include #include diff --git a/src/ChFi3d/ChFi3d.hxx b/src/ChFi3d/ChFi3d.hxx index eb218fba2a..b36266ee1c 100644 --- a/src/ChFi3d/ChFi3d.hxx +++ b/src/ChFi3d/ChFi3d.hxx @@ -77,31 +77,6 @@ public: //! identic or opposed concave edges. Standard_EXPORT static Standard_Boolean SameSide (const TopAbs_Orientation Or, const TopAbs_Orientation OrSave1, const TopAbs_Orientation OrSave2, const TopAbs_Orientation OrFace1, const TopAbs_Orientation OrFace2); - - - -protected: - - - - - -private: - - - - -friend class ChFi3d_Builder; -friend class ChFi3d_ChBuilder; -friend class ChFi3d_FilBuilder; -friend class ChFi3d_SearchSing; - }; - - - - - - #endif // _ChFi3d_HeaderFile diff --git a/src/DDF/DDF.hxx b/src/DDF/DDF.hxx index 8ac9f0b9cb..993f02760c 100644 --- a/src/DDF/DDF.hxx +++ b/src/DDF/DDF.hxx @@ -84,30 +84,6 @@ public: //! Browser commands . Standard_EXPORT static void BrowserCommands (Draw_Interpretor& theCommands); - - - -protected: - - - - - -private: - - - - -friend class DDF_Data; -friend class DDF_Browser; -friend class DDF_Transaction; - }; - - - - - - #endif // _DDF_HeaderFile diff --git a/src/DDataStd/DDataStd.hxx b/src/DDataStd/DDataStd.hxx index 0d9d5158d6..8e73bf4998 100644 --- a/src/DDataStd/DDataStd.hxx +++ b/src/DDataStd/DDataStd.hxx @@ -69,30 +69,6 @@ public: Standard_EXPORT static void DumpConstraint (const Handle(TDataXtd_Constraint)& C, Standard_OStream& S); - - - -protected: - - - - - -private: - - - - -friend class DDataStd_DrawPresentation; -friend class DDataStd_DrawDriver; -friend class DDataStd_TreeBrowser; - }; - - - - - - #endif // _DDataStd_HeaderFile diff --git a/src/DDocStd/DDocStd.cxx b/src/DDocStd/DDocStd.cxx index 1de7275b99..d517dc716c 100644 --- a/src/DDocStd/DDocStd.cxx +++ b/src/DDocStd/DDocStd.cxx @@ -13,8 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#include #include + +#include #include #include #include diff --git a/src/DDocStd/DDocStd.hxx b/src/DDocStd/DDocStd.hxx index aed7cb9d07..b10d783136 100644 --- a/src/DDocStd/DDocStd.hxx +++ b/src/DDocStd/DDocStd.hxx @@ -85,26 +85,6 @@ public: //! ShapeSchema_Read Standard_EXPORT static void ShapeSchemaCommands(Draw_Interpretor& theCommands); - -protected: - - - - - -private: - - - - -friend class DDocStd_DrawDocument; - }; - - - - - - #endif // _DDocStd_HeaderFile diff --git a/src/DNaming/DNaming.cxx b/src/DNaming/DNaming.cxx index 63b66a71c4..bdfecc94b3 100644 --- a/src/DNaming/DNaming.cxx +++ b/src/DNaming/DNaming.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -22,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/src/DNaming/DNaming.hxx b/src/DNaming/DNaming.hxx index cb02766df0..2cf2f22fac 100644 --- a/src/DNaming/DNaming.hxx +++ b/src/DNaming/DNaming.hxx @@ -118,38 +118,6 @@ public: //! commands for testing Naming Standard_EXPORT static void ModelingCommands (Draw_Interpretor& DI); - - - -protected: - - - - - -private: - - - - -friend class DNaming_BoxDriver; -friend class DNaming_CylinderDriver; -friend class DNaming_SphereDriver; -friend class DNaming_SelectionDriver; -friend class DNaming_BooleanOperationDriver; -friend class DNaming_FilletDriver; -friend class DNaming_TransformationDriver; -friend class DNaming_PrismDriver; -friend class DNaming_RevolutionDriver; -friend class DNaming_PointDriver; -friend class DNaming_Line3DDriver; - }; - - - - - - #endif // _DNaming_HeaderFile diff --git a/src/Draft/Draft.cxx b/src/Draft/Draft.cxx index 9f8bf522ae..512a4dd4c8 100644 --- a/src/Draft/Draft.cxx +++ b/src/Draft/Draft.cxx @@ -14,10 +14,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/Draft/Draft.hxx b/src/Draft/Draft.hxx index daf5279317..b18dbc7a0f 100644 --- a/src/Draft/Draft.hxx +++ b/src/Draft/Draft.hxx @@ -43,31 +43,6 @@ public: //! Otherwise, the exception DomainError is raised. Standard_EXPORT static Standard_Real Angle (const TopoDS_Face& F, const gp_Dir& Direction); - - - -protected: - - - - - -private: - - - - -friend class Draft_Modification; -friend class Draft_FaceInfo; -friend class Draft_EdgeInfo; -friend class Draft_VertexInfo; - }; - - - - - - #endif // _Draft_HeaderFile diff --git a/src/DrawDim/DrawDim.cxx b/src/DrawDim/DrawDim.cxx index 2100a354d9..2a426a3595 100644 --- a/src/DrawDim/DrawDim.cxx +++ b/src/DrawDim/DrawDim.cxx @@ -14,12 +14,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include #include -#include #include #include #include diff --git a/src/DrawDim/DrawDim.hxx b/src/DrawDim/DrawDim.hxx index 8c98265060..b4179db1a1 100644 --- a/src/DrawDim/DrawDim.hxx +++ b/src/DrawDim/DrawDim.hxx @@ -71,36 +71,6 @@ public: //! false if is not a planar face Standard_EXPORT static Standard_Boolean Pln (const TopoDS_Face& f, gp_Pln& p); - - - -protected: - - - - - -private: - - - - -friend class DrawDim_Dimension; -friend class DrawDim_Angle; -friend class DrawDim_Distance; -friend class DrawDim_Radius; -friend class DrawDim_PlanarDimension; -friend class DrawDim_PlanarAngle; -friend class DrawDim_PlanarDistance; -friend class DrawDim_PlanarRadius; -friend class DrawDim_PlanarDiameter; - }; - - - - - - #endif // _DrawDim_HeaderFile diff --git a/src/Expr/Expr.hxx b/src/Expr/Expr.hxx index 6b5eb68778..fddc2f94f2 100644 --- a/src/Expr/Expr.hxx +++ b/src/Expr/Expr.hxx @@ -47,78 +47,6 @@ public: Standard_EXPORT static Standard_Real Sign (const Standard_Real val); - - - -protected: - - - - - -private: - - - - -friend class Expr_GeneralExpression; -friend class Expr_NumericValue; -friend class Expr_NamedExpression; -friend class Expr_NamedConstant; -friend class Expr_NamedUnknown; -friend class Expr_UnaryExpression; -friend class Expr_Absolute; -friend class Expr_ArcCosine; -friend class Expr_ArcSine; -friend class Expr_ArcTangent; -friend class Expr_ArgCosh; -friend class Expr_ArgSinh; -friend class Expr_ArgTanh; -friend class Expr_Cosh; -friend class Expr_Cosine; -friend class Expr_Exponential; -friend class Expr_LogOf10; -friend class Expr_LogOfe; -friend class Expr_Sign; -friend class Expr_Sine; -friend class Expr_Sinh; -friend class Expr_Square; -friend class Expr_SquareRoot; -friend class Expr_Tangent; -friend class Expr_Tanh; -friend class Expr_UnaryFunction; -friend class Expr_UnaryMinus; -friend class Expr_BinaryExpression; -friend class Expr_BinaryFunction; -friend class Expr_Difference; -friend class Expr_Division; -friend class Expr_Exponentiate; -friend class Expr_PolyExpression; -friend class Expr_PolyFunction; -friend class Expr_Product; -friend class Expr_Sum; -friend class Expr_UnknownIterator; -friend class Expr_GeneralRelation; -friend class Expr_SingleRelation; -friend class Expr_Different; -friend class Expr_Equal; -friend class Expr_GreaterThan; -friend class Expr_GreaterThanOrEqual; -friend class Expr_LessThan; -friend class Expr_LessThanOrEqual; -friend class Expr_SystemRelation; -friend class Expr_RelationIterator; -friend class Expr_RUIterator; -friend class Expr_GeneralFunction; -friend class Expr_NamedFunction; -friend class Expr_FunctionDerivative; - }; - - - - - - #endif // _Expr_HeaderFile diff --git a/src/ExprIntrp/ExprIntrp.hxx b/src/ExprIntrp/ExprIntrp.hxx index f5244142f7..f3dda9e19c 100644 --- a/src/ExprIntrp/ExprIntrp.hxx +++ b/src/ExprIntrp/ExprIntrp.hxx @@ -35,35 +35,16 @@ public: DEFINE_STANDARD_ALLOC - - - - -protected: - - - - - private: - Standard_EXPORT static Standard_Boolean Parse (const Handle(ExprIntrp_Generator)& gen, const TCollection_AsciiString& str); +private: - -friend class ExprIntrp_Generator; -friend class ExprIntrp_GenExp; -friend class ExprIntrp_GenFct; -friend class ExprIntrp_GenRel; -friend class ExprIntrp_Analysis; + friend class ExprIntrp_GenExp; + friend class ExprIntrp_GenFct; + friend class ExprIntrp_GenRel; }; - - - - - - #endif // _ExprIntrp_HeaderFile diff --git a/src/GProp/GProp.cxx b/src/GProp/GProp.cxx index 3dc2cf854e..29869b049b 100644 --- a/src/GProp/GProp.cxx +++ b/src/GProp/GProp.cxx @@ -12,12 +12,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include #include -#include #include void GProp::HOperator ( diff --git a/src/GProp/GProp.hxx b/src/GProp/GProp.hxx index d3f62243bd..be5f97656f 100644 --- a/src/GProp/GProp.hxx +++ b/src/GProp/GProp.hxx @@ -64,34 +64,6 @@ public: //! the function MatrixOfInertia on any GProp_GProps object. Standard_EXPORT static void HOperator (const gp_Pnt& G, const gp_Pnt& Q, const Standard_Real Mass, gp_Mat& Operator); - - - -protected: - - - - - -private: - - - - -friend class GProp_GProps; -friend class GProp_PGProps; -friend class GProp_CelGProps; -friend class GProp_SelGProps; -friend class GProp_VelGProps; -friend class GProp_PrincipalProps; -friend class GProp_PEquation; - }; - - - - - - #endif // _GProp_HeaderFile diff --git a/src/GccEnt/GccEnt.hxx b/src/GccEnt/GccEnt.hxx index 8e8e574d99..3c9084a684 100644 --- a/src/GccEnt/GccEnt.hxx +++ b/src/GccEnt/GccEnt.hxx @@ -124,29 +124,6 @@ public: //! or line are external to one another. Standard_EXPORT static GccEnt_QualifiedCirc Outside (const gp_Circ2d& Obj); - - - -protected: - - - - - -private: - - - - -friend class GccEnt_QualifiedLin; -friend class GccEnt_QualifiedCirc; - }; - - - - - - #endif // _GccEnt_HeaderFile diff --git a/src/Geom2dConvert/Geom2dConvert.cxx b/src/Geom2dConvert/Geom2dConvert.cxx index 59894043c3..e796882e15 100644 --- a/src/Geom2dConvert/Geom2dConvert.cxx +++ b/src/Geom2dConvert/Geom2dConvert.cxx @@ -12,8 +12,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -//Jean-Claude Vauthier Novembre 1991 -//Passage sur C1 Aout 1992 et ajout transformation Bezier->BSpline +#include #include #include @@ -33,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/src/Geom2dConvert/Geom2dConvert.hxx b/src/Geom2dConvert/Geom2dConvert.hxx index 3141832898..f6450ef3ae 100644 --- a/src/Geom2dConvert/Geom2dConvert.hxx +++ b/src/Geom2dConvert/Geom2dConvert.hxx @@ -254,31 +254,6 @@ public: const Standard_Real AngularTolerance, const Standard_Real Tolerance); - - - -protected: - - - - - -private: - - - - -friend class Geom2dConvert_BSplineCurveKnotSplitting; -friend class Geom2dConvert_BSplineCurveToBezierCurve; -friend class Geom2dConvert_CompCurveToBSplineCurve; -friend class Geom2dConvert_ApproxCurve; - }; - - - - - - #endif // _Geom2dConvert_HeaderFile diff --git a/src/Geom2dGcc/Geom2dGcc.cxx b/src/Geom2dGcc/Geom2dGcc.cxx index 1ee4937814..38151e7e9f 100644 --- a/src/Geom2dGcc/Geom2dGcc.cxx +++ b/src/Geom2dGcc/Geom2dGcc.cxx @@ -12,13 +12,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -//========================================================================= -// Methodes de package permettant de qualifier les objets. + -// + -//========================================================================= +#include #include -#include #include Geom2dGcc_QualifiedCurve diff --git a/src/Geom2dGcc/Geom2dGcc.hxx b/src/Geom2dGcc/Geom2dGcc.hxx index 3062f8df6b..4c994cca37 100644 --- a/src/Geom2dGcc/Geom2dGcc.hxx +++ b/src/Geom2dGcc/Geom2dGcc.hxx @@ -114,52 +114,6 @@ public: //! myQCurve = Geom2dGcc::Outside(Obj); Standard_EXPORT static Geom2dGcc_QualifiedCurve Outside (const Geom2dAdaptor_Curve& Obj); - - - -protected: - - - - - -private: - - - - -friend class Geom2dGcc_CurveTool; -friend class Geom2dGcc_QualifiedCurve; -friend class Geom2dGcc_Circ2d3Tan; -friend class Geom2dGcc_Circ2d2TanRad; -friend class Geom2dGcc_Circ2d2TanOn; -friend class Geom2dGcc_Circ2dTanOnRad; -friend class Geom2dGcc_Circ2dTanCen; -friend class Geom2dGcc_Lin2d2Tan; -friend class Geom2dGcc_Lin2dTanObl; -friend class Geom2dGcc_QCurve; -friend class Geom2dGcc_CurveToolGeo; -friend class Geom2dGcc_Circ2d2TanOnGeo; -friend class Geom2dGcc_Circ2d2TanRadGeo; -friend class Geom2dGcc_Circ2dTanCenGeo; -friend class Geom2dGcc_Circ2dTanOnRadGeo; -friend class Geom2dGcc_Circ2d3TanIter; -friend class Geom2dGcc_FunctionTanCuCuCu; -friend class Geom2dGcc_Circ2d2TanOnIter; -friend class Geom2dGcc_FunctionTanCuCuOnCu; -friend class Geom2dGcc_Lin2dTanOblIter; -friend class Geom2dGcc_FunctionTanObl; -friend class Geom2dGcc_Lin2d2TanIter; -friend class Geom2dGcc_FunctionTanCuCu; -friend class Geom2dGcc_FunctionTanCuPnt; -friend class Geom2dGcc_FunctionTanCirCu; - }; - - - - - - #endif // _Geom2dGcc_HeaderFile diff --git a/src/GeomAPI/GeomAPI.cxx b/src/GeomAPI/GeomAPI.cxx index 0a9c72be9f..8d97fc0e57 100644 --- a/src/GeomAPI/GeomAPI.cxx +++ b/src/GeomAPI/GeomAPI.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -34,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/src/GeomAPI/GeomAPI.hxx b/src/GeomAPI/GeomAPI.hxx index 341dce5e0a..c63455d2ab 100644 --- a/src/GeomAPI/GeomAPI.hxx +++ b/src/GeomAPI/GeomAPI.hxx @@ -89,37 +89,6 @@ public: //! The resulting 3D curve is of the same nature as that of the curve C. Standard_EXPORT static Handle(Geom_Curve) To3d (const Handle(Geom2d_Curve)& C, const gp_Pln& P); - - - -protected: - - - - - -private: - - - - -friend class GeomAPI_ProjectPointOnCurve; -friend class GeomAPI_ProjectPointOnSurf; -friend class GeomAPI_ExtremaCurveCurve; -friend class GeomAPI_ExtremaCurveSurface; -friend class GeomAPI_ExtremaSurfaceSurface; -friend class GeomAPI_PointsToBSpline; -friend class GeomAPI_PointsToBSplineSurface; -friend class GeomAPI_Interpolate; -friend class GeomAPI_IntSS; -friend class GeomAPI_IntCS; - }; - - - - - - #endif // _GeomAPI_HeaderFile diff --git a/src/GeomConvert/GeomConvert.cxx b/src/GeomConvert/GeomConvert.cxx index 386dff8ef9..c288f02b47 100644 --- a/src/GeomConvert/GeomConvert.cxx +++ b/src/GeomConvert/GeomConvert.cxx @@ -12,9 +12,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// Jean-Claude Vauthier Novembre 1991 -// Passage sur C1 Aout 1992 et ajout transformation Bezier->BSpline + Debug -// Modif JCV correction bug le 2/08/1993 +#include #include #include @@ -38,7 +36,6 @@ #include #include #include -#include #include #include #include diff --git a/src/GeomConvert/GeomConvert.hxx b/src/GeomConvert/GeomConvert.hxx index b0bc0ea726..be3623c2f6 100644 --- a/src/GeomConvert/GeomConvert.hxx +++ b/src/GeomConvert/GeomConvert.hxx @@ -371,35 +371,6 @@ public: const Standard_Real AngularTolerance, const Standard_Real tolerance); - - - -protected: - - - - - -private: - - - - -friend class GeomConvert_BSplineCurveKnotSplitting; -friend class GeomConvert_BSplineSurfaceKnotSplitting; -friend class GeomConvert_BSplineCurveToBezierCurve; -friend class GeomConvert_CompCurveToBSplineCurve; -friend class GeomConvert_BSplineSurfaceToBezierSurface; -friend class GeomConvert_CompBezierSurfacesToBSplineSurface; -friend class GeomConvert_ApproxSurface; -friend class GeomConvert_ApproxCurve; - }; - - - - - - #endif // _GeomConvert_HeaderFile diff --git a/src/GeomConvert/GeomConvert_1.cxx b/src/GeomConvert/GeomConvert_1.cxx index 0f619b5534..ec702460b2 100644 --- a/src/GeomConvert/GeomConvert_1.cxx +++ b/src/GeomConvert/GeomConvert_1.cxx @@ -12,9 +12,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -//Jean-Claude Vauthier Novembre 1991 -//Passage sur C1 Aout 1992 et ajout transformation Bezier->BSpline -//Modif JCV correction bug le 02/08/1993 +#include #include #include @@ -39,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/src/GeomFill/GeomFill.cxx b/src/GeomFill/GeomFill.cxx index d4c9b7a46f..cd0f04fa9f 100644 --- a/src/GeomFill/GeomFill.cxx +++ b/src/GeomFill/GeomFill.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -26,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/src/GeomFill/GeomFill.hxx b/src/GeomFill/GeomFill.hxx index d0d7bd4836..f55d0c36c6 100644 --- a/src/GeomFill/GeomFill.hxx +++ b/src/GeomFill/GeomFill.hxx @@ -65,81 +65,6 @@ public: //! Tolerance for approximation Standard_EXPORT static Standard_Real GetTolerance (const Convert_ParameterisationType TConv, const Standard_Real AngleMin, const Standard_Real Radius, const Standard_Real AngularTol, const Standard_Real SpatialTol); - - - -protected: - - - - - -private: - - - - -friend class GeomFill_Filling; -friend class GeomFill_Stretch; -friend class GeomFill_Coons; -friend class GeomFill_Curved; -friend class GeomFill_BezierCurves; -friend class GeomFill_BSplineCurves; -friend class GeomFill_Profiler; -friend class GeomFill_SectionGenerator; -friend class GeomFill_Line; -friend class GeomFill_AppSurf; -friend class GeomFill_SweepSectionGenerator; -friend class GeomFill_AppSweep; -friend class GeomFill_Generator; -friend class GeomFill_Pipe; -friend class GeomFill_Tensor; -friend class GeomFill_ConstrainedFilling; -friend class GeomFill_Boundary; -friend class GeomFill_DegeneratedBound; -friend class GeomFill_SimpleBound; -friend class GeomFill_BoundWithSurf; -friend class GeomFill_CoonsAlgPatch; -friend class GeomFill_TgtField; -friend class GeomFill_TgtOnCoons; -friend class GeomFill_CornerState; -friend class GeomFill_CircularBlendFunc; -friend class GeomFill_SweepFunction; -friend class GeomFill_LocFunction; -friend class GeomFill_PolynomialConvertor; -friend class GeomFill_QuasiAngularConvertor; -friend class GeomFill_SnglrFunc; -friend class GeomFill_FunctionDraft; -friend class GeomFill_PlanFunc; -friend class GeomFill_FunctionGuide; -friend class GeomFill_SectionLaw; -friend class GeomFill_UniformSection; -friend class GeomFill_EvolvedSection; -friend class GeomFill_NSections; -friend class GeomFill_LocationLaw; -friend class GeomFill_CurveAndTrihedron; -friend class GeomFill_LocationDraft; -friend class GeomFill_LocationGuide; -friend class GeomFill_TrihedronLaw; -friend class GeomFill_Fixed; -friend class GeomFill_Frenet; -friend class GeomFill_CorrectedFrenet; -friend class GeomFill_DiscreteTrihedron; -friend class GeomFill_ConstantBiNormal; -friend class GeomFill_Darboux; -friend class GeomFill_DraftTrihedron; -friend class GeomFill_TrihedronWithGuide; -friend class GeomFill_GuideTrihedronAC; -friend class GeomFill_GuideTrihedronPlan; -friend class GeomFill_Sweep; -friend class GeomFill_SectionPlacement; - }; - - - - - - #endif // _GeomFill_HeaderFile diff --git a/src/GeomInt/GeomInt.hxx b/src/GeomInt/GeomInt.hxx index d8654d3884..9bb26355b5 100644 --- a/src/GeomInt/GeomInt.hxx +++ b/src/GeomInt/GeomInt.hxx @@ -37,55 +37,6 @@ public: //! Adjusts the parameter to the range [theParMin, theParMax] Standard_EXPORT static Standard_Boolean AdjustPeriodic (const Standard_Real thePar, const Standard_Real theParMin, const Standard_Real theParMax, const Standard_Real thePeriod, Standard_Real& theNewPar, Standard_Real& theOffset, const Standard_Real theEps = 0.0); - - - -protected: - - - - - -private: - - - - -friend class GeomInt_IntSS; -friend class GeomInt_LineConstructor; -friend class GeomInt_LineTool; -friend class GeomInt_WLApprox; -friend class GeomInt_ParameterAndOrientation; -friend class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox; -friend class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox; -friend class GeomInt_ThePrmPrmSvSurfacesOfWLApprox; -friend class GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox; -friend class GeomInt_TheImpPrmSvSurfacesOfWLApprox; -friend class GeomInt_TheMultiLineOfWLApprox; -friend class GeomInt_TheMultiLineToolOfWLApprox; -friend class GeomInt_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfWLApprox; -friend class GeomInt_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfWLApprox; -friend class GeomInt_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfWLApprox; -friend class GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox; -friend class GeomInt_ParLeastSquareOfMyGradientbisOfTheComputeLineOfWLApprox; -friend class GeomInt_ResConstraintOfMyGradientbisOfTheComputeLineOfWLApprox; -friend class GeomInt_ParFunctionOfMyGradientbisOfTheComputeLineOfWLApprox; -friend class GeomInt_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfWLApprox; -friend class GeomInt_MyGradientbisOfTheComputeLineOfWLApprox; -friend class GeomInt_TheComputeLineOfWLApprox; -friend class GeomInt_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfWLApprox; -friend class GeomInt_ResConstraintOfMyGradientOfTheComputeLineBezierOfWLApprox; -friend class GeomInt_ParFunctionOfMyGradientOfTheComputeLineBezierOfWLApprox; -friend class GeomInt_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfWLApprox; -friend class GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox; -friend class GeomInt_TheComputeLineBezierOfWLApprox; - }; - - - - - - #endif // _GeomInt_HeaderFile diff --git a/src/GeomLProp/GeomLProp.cxx b/src/GeomLProp/GeomLProp.cxx index 2a4157674f..3d48a5ae7d 100644 --- a/src/GeomLProp/GeomLProp.cxx +++ b/src/GeomLProp/GeomLProp.cxx @@ -14,12 +14,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include #include -#include #include #include #include diff --git a/src/GeomLProp/GeomLProp.hxx b/src/GeomLProp/GeomLProp.hxx index aa1e1d3147..19279e329b 100644 --- a/src/GeomLProp/GeomLProp.hxx +++ b/src/GeomLProp/GeomLProp.hxx @@ -49,31 +49,6 @@ public: //! tolerances from package Precision. Standard_EXPORT static GeomAbs_Shape Continuity (const Handle(Geom_Curve)& C1, const Handle(Geom_Curve)& C2, const Standard_Real u1, const Standard_Real u2, const Standard_Boolean r1, const Standard_Boolean r2); - - - -protected: - - - - - -private: - - - - -friend class GeomLProp_CurveTool; -friend class GeomLProp_SurfaceTool; -friend class GeomLProp_CLProps; -friend class GeomLProp_SLProps; - }; - - - - - - #endif // _GeomLProp_HeaderFile diff --git a/src/GeomLib/GeomLib.hxx b/src/GeomLib/GeomLib.hxx index e14506695f..97c3ee446e 100644 --- a/src/GeomLib/GeomLib.hxx +++ b/src/GeomLib/GeomLib.hxx @@ -249,30 +249,6 @@ public: const Standard_Real theParam, const Standard_Boolean theIsForward); -protected: - - -private: - - - - -friend class GeomLib_MakeCurvefromApprox; -friend class GeomLib_Interpolate; -friend class GeomLib_DenominatorMultiplier; -friend class GeomLib_CheckBSplineCurve; -friend class GeomLib_Check2dBSplineCurve; -friend class GeomLib_IsPlanarSurface; -friend class GeomLib_Tool; -friend class GeomLib_PolyFunc; -friend class GeomLib_LogSample; - }; - - - - - - #endif // _GeomLib_HeaderFile diff --git a/src/GeomTools/GeomTools.cxx b/src/GeomTools/GeomTools.cxx index a488cd7500..01215f875e 100644 --- a/src/GeomTools/GeomTools.cxx +++ b/src/GeomTools/GeomTools.cxx @@ -14,11 +14,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/GeomTools/GeomTools.hxx b/src/GeomTools/GeomTools.hxx index 1acc4b41ec..dd08849a15 100644 --- a/src/GeomTools/GeomTools.hxx +++ b/src/GeomTools/GeomTools.hxx @@ -79,31 +79,6 @@ public: //! in case of error Standard_EXPORT static void GetReal (Standard_IStream& IS, Standard_Real& theValue); - - - -protected: - - - - - -private: - - - - -friend class GeomTools_UndefinedTypeHandler; -friend class GeomTools_SurfaceSet; -friend class GeomTools_CurveSet; -friend class GeomTools_Curve2dSet; - }; - - - - - - #endif // _GeomTools_HeaderFile diff --git a/src/HLRBRep/HLRBRep.cxx b/src/HLRBRep/HLRBRep.cxx index bf0ab798d7..6f5fc6356d 100644 --- a/src/HLRBRep/HLRBRep.cxx +++ b/src/HLRBRep/HLRBRep.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -23,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/src/HLRBRep/HLRBRep.hxx b/src/HLRBRep/HLRBRep.hxx index 1c3473f32a..a177c36c4a 100644 --- a/src/HLRBRep/HLRBRep.hxx +++ b/src/HLRBRep/HLRBRep.hxx @@ -44,82 +44,6 @@ public: Standard_EXPORT static void PolyHLRAngleAndDeflection (const Standard_Real InAngl, Standard_Real& OutAngl, Standard_Real& OutDefl); - - - -protected: - - - - - -private: - - - - -friend class HLRBRep_CurveTool; -friend class HLRBRep_BCurveTool; -friend class HLRBRep_Curve; -friend class HLRBRep_SurfaceTool; -friend class HLRBRep_BSurfaceTool; -friend class HLRBRep_Surface; -friend class HLRBRep_CLPropsATool; -friend class HLRBRep_CLProps; -friend class HLRBRep_SLPropsATool; -friend class HLRBRep_SLProps; -friend class HLRBRep_CInter; -friend class HLRBRep_LineTool; -friend class HLRBRep_InterCSurf; -friend class HLRBRep_EdgeFaceTool; -friend class HLRBRep_Intersector; -friend class HLRBRep_EdgeData; -friend class HLRBRep_FaceData; -friend class HLRBRep_FaceIterator; -friend class HLRBRep_Data; -friend class HLRBRep_ShapeToHLR; -friend class HLRBRep_HLRToShape; -friend class HLRBRep_ShapeBounds; -friend class HLRBRep_EdgeInterferenceTool; -friend class HLRBRep_VertexList; -friend class HLRBRep_EdgeIList; -friend class HLRBRep_AreaLimit; -friend class HLRBRep_EdgeBuilder; -friend class HLRBRep_Hider; -friend class HLRBRep_InternalAlgo; -friend class HLRBRep_Algo; -friend class HLRBRep_PolyAlgo; -friend class HLRBRep_BiPoint; -friend class HLRBRep_BiPnt2D; -friend class HLRBRep_PolyHLRToShape; -friend class HLRBRep_TheCurveLocatorOfTheProjPCurOfCInter; -friend class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter; -friend class HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter; -friend class HLRBRep_TheProjPCurOfCInter; -friend class HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter; -friend class HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter; -friend class HLRBRep_TheIntConicCurveOfCInter; -friend class HLRBRep_IntConicCurveOfCInter; -friend class HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter; -friend class HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter; -friend class HLRBRep_ExactIntersectionPointOfTheIntPCurvePCurveOfCInter; -friend class HLRBRep_TheIntPCurvePCurveOfCInter; -friend class HLRBRep_ThePolygonOfInterCSurf; -friend class HLRBRep_ThePolygonToolOfInterCSurf; -friend class HLRBRep_ThePolyhedronOfInterCSurf; -friend class HLRBRep_ThePolyhedronToolOfInterCSurf; -friend class HLRBRep_TheInterferenceOfInterCSurf; -friend class HLRBRep_TheCSFunctionOfInterCSurf; -friend class HLRBRep_TheExactInterCSurf; -friend class HLRBRep_TheQuadCurvFuncOfTheQuadCurvExactInterCSurf; -friend class HLRBRep_TheQuadCurvExactInterCSurf; - }; - - - - - - #endif // _HLRBRep_HeaderFile diff --git a/src/HLRTest/HLRTest.cxx b/src/HLRTest/HLRTest.cxx index 1d10e90b5f..f44e722cc5 100644 --- a/src/HLRTest/HLRTest.cxx +++ b/src/HLRTest/HLRTest.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -23,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/src/HLRTest/HLRTest.hxx b/src/HLRTest/HLRTest.hxx index b12bdcd865..030ec0a670 100644 --- a/src/HLRTest/HLRTest.hxx +++ b/src/HLRTest/HLRTest.hxx @@ -57,32 +57,6 @@ public: //! Defines commands to test the Hidden Line Removal Standard_EXPORT static void Commands (Draw_Interpretor& I); - - - -protected: - - - - - -private: - - - - -friend class HLRTest_ShapeData; -friend class HLRTest_DrawableEdgeTool; -friend class HLRTest_DrawablePolyEdgeTool; -friend class HLRTest_Projector; -friend class HLRTest_OutLiner; - }; - - - - - - #endif // _HLRTest_HeaderFile diff --git a/src/HeaderSection/HeaderSection.hxx b/src/HeaderSection/HeaderSection.hxx index 2fbf112d7c..a113cec9d1 100644 --- a/src/HeaderSection/HeaderSection.hxx +++ b/src/HeaderSection/HeaderSection.hxx @@ -35,32 +35,6 @@ public: //! creates a Protocol Standard_EXPORT static Handle(HeaderSection_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class HeaderSection_Protocol; -friend class HeaderSection_FileName; -friend class HeaderSection_FileDescription; -friend class HeaderSection_FileSchema; -friend class HeaderSection_HeaderRecognizer; - }; - - - - - - #endif // _HeaderSection_HeaderFile diff --git a/src/IFSelect/IFSelect.hxx b/src/IFSelect/IFSelect.hxx index 3bdcf76690..2d88cfbae3 100644 --- a/src/IFSelect/IFSelect.hxx +++ b/src/IFSelect/IFSelect.hxx @@ -56,105 +56,6 @@ public: //! to be used (this avoids to export the class SessionFile). Standard_EXPORT static Standard_Boolean RestoreSession (const Handle(IFSelect_WorkSession)& WS, const Standard_CString file); - - - -protected: - - - - - -private: - - - - -friend class IFSelect_Signature; -friend class IFSelect_SignMultiple; -friend class IFSelect_SignType; -friend class IFSelect_SignCategory; -friend class IFSelect_SignValidity; -friend class IFSelect_SignAncestor; -friend class IFSelect_ShareOut; -friend class IFSelect_AppliedModifiers; -friend class IFSelect_ShareOutResult; -friend class IFSelect_PacketList; -friend class IFSelect_Dispatch; -friend class IFSelect_DispGlobal; -friend class IFSelect_DispPerOne; -friend class IFSelect_DispPerCount; -friend class IFSelect_DispPerSignature; -friend class IFSelect_DispPerFiles; -friend class IFSelect_SelectionIterator; -friend class IFSelect_Selection; -friend class IFSelect_SelectBase; -friend class IFSelect_SelectModelRoots; -friend class IFSelect_SelectModelEntities; -friend class IFSelect_SelectEntityNumber; -friend class IFSelect_SelectPointed; -friend class IFSelect_SelectCombine; -friend class IFSelect_SelectUnion; -friend class IFSelect_SelectIntersection; -friend class IFSelect_SelectControl; -friend class IFSelect_SelectDiff; -friend class IFSelect_SelectDeduct; -friend class IFSelect_SelectShared; -friend class IFSelect_SelectSharing; -friend class IFSelect_SelectAnyList; -friend class IFSelect_SelectInList; -friend class IFSelect_SelectSuite; -friend class IFSelect_SelectExtract; -friend class IFSelect_SelectUnknownEntities; -friend class IFSelect_SelectErrorEntities; -friend class IFSelect_SelectIncorrectEntities; -friend class IFSelect_SelectRoots; -friend class IFSelect_SelectRootComps; -friend class IFSelect_SelectRange; -friend class IFSelect_SelectAnyType; -friend class IFSelect_SelectType; -friend class IFSelect_SelectSignature; -friend class IFSelect_SelectFlag; -friend class IFSelect_SelectSent; -friend class IFSelect_SelectExplore; -friend class IFSelect_SelectSignedShared; -friend class IFSelect_SelectSignedSharing; -friend class IFSelect_IntParam; -friend class IFSelect_SignatureList; -friend class IFSelect_CheckCounter; -friend class IFSelect_SignCounter; -friend class IFSelect_GraphCounter; -friend class IFSelect_Editor; -friend class IFSelect_ParamEditor; -friend class IFSelect_EditForm; -friend class IFSelect_ListEditor; -friend class IFSelect_ContextModif; -friend class IFSelect_ContextWrite; -friend class IFSelect_Transformer; -friend class IFSelect_TransformStandard; -friend class IFSelect_ModelCopier; -friend class IFSelect_GeneralModifier; -friend class IFSelect_Modifier; -friend class IFSelect_ModifReorder; -friend class IFSelect_ModifEditForm; -friend class IFSelect_FileModifier; -friend class IFSelect_ModelModifier; -friend class IFSelect_WorkSession; -friend class IFSelect_WorkLibrary; -friend class IFSelect_SessionFile; -friend class IFSelect_SessionDumper; -friend class IFSelect_BasicDumper; -friend class IFSelect_Activator; -friend class IFSelect_SessionPilot; -friend class IFSelect_Act; -friend class IFSelect_Functions; - }; - - - - - - #endif // _IFSelect_HeaderFile diff --git a/src/IGESAppli/IGESAppli.hxx b/src/IGESAppli/IGESAppli.hxx index a908a0b797..ede062db7d 100644 --- a/src/IGESAppli/IGESAppli.hxx +++ b/src/IGESAppli/IGESAppli.hxx @@ -39,69 +39,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESAppli_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESAppli_Node; -friend class IGESAppli_FiniteElement; -friend class IGESAppli_NodalDisplAndRot; -friend class IGESAppli_NodalResults; -friend class IGESAppli_ElementResults; -friend class IGESAppli_Flow; -friend class IGESAppli_PipingFlow; -friend class IGESAppli_RegionRestriction; -friend class IGESAppli_LevelFunction; -friend class IGESAppli_LineWidening; -friend class IGESAppli_DrilledHole; -friend class IGESAppli_ReferenceDesignator; -friend class IGESAppli_PinNumber; -friend class IGESAppli_PartNumber; -friend class IGESAppli_FlowLineSpec; -friend class IGESAppli_LevelToPWBLayerMap; -friend class IGESAppli_PWBArtworkStackup; -friend class IGESAppli_PWBDrilledHole; -friend class IGESAppli_NodalConstraint; -friend class IGESAppli_ToolNode; -friend class IGESAppli_ToolFiniteElement; -friend class IGESAppli_ToolNodalDisplAndRot; -friend class IGESAppli_ToolNodalResults; -friend class IGESAppli_ToolElementResults; -friend class IGESAppli_ToolFlow; -friend class IGESAppli_ToolPipingFlow; -friend class IGESAppli_ToolRegionRestriction; -friend class IGESAppli_ToolLevelFunction; -friend class IGESAppli_ToolLineWidening; -friend class IGESAppli_ToolDrilledHole; -friend class IGESAppli_ToolReferenceDesignator; -friend class IGESAppli_ToolPinNumber; -friend class IGESAppli_ToolPartNumber; -friend class IGESAppli_ToolFlowLineSpec; -friend class IGESAppli_ToolLevelToPWBLayerMap; -friend class IGESAppli_ToolPWBArtworkStackup; -friend class IGESAppli_ToolPWBDrilledHole; -friend class IGESAppli_ToolNodalConstraint; -friend class IGESAppli_Protocol; -friend class IGESAppli_ReadWriteModule; -friend class IGESAppli_GeneralModule; -friend class IGESAppli_SpecificModule; - }; - - - - - - #endif // _IGESAppli_HeaderFile diff --git a/src/IGESBasic/IGESBasic.hxx b/src/IGESBasic/IGESBasic.hxx index b510441f10..f3cc50f1f1 100644 --- a/src/IGESBasic/IGESBasic.hxx +++ b/src/IGESBasic/IGESBasic.hxx @@ -38,68 +38,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESBasic_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESBasic_SubfigureDef; -friend class IGESBasic_Group; -friend class IGESBasic_GroupWithoutBackP; -friend class IGESBasic_SingleParent; -friend class IGESBasic_ExternalRefFileIndex; -friend class IGESBasic_OrderedGroup; -friend class IGESBasic_OrderedGroupWithoutBackP; -friend class IGESBasic_Hierarchy; -friend class IGESBasic_ExternalReferenceFile; -friend class IGESBasic_Name; -friend class IGESBasic_AssocGroupType; -friend class IGESBasic_SingularSubfigure; -friend class IGESBasic_ExternalRefFileName; -friend class IGESBasic_ExternalRefFile; -friend class IGESBasic_ExternalRefName; -friend class IGESBasic_ExternalRefLibName; -friend class IGESBasic_ToolSubfigureDef; -friend class IGESBasic_ToolGroup; -friend class IGESBasic_ToolGroupWithoutBackP; -friend class IGESBasic_ToolSingleParent; -friend class IGESBasic_ToolExternalRefFileIndex; -friend class IGESBasic_ToolOrderedGroup; -friend class IGESBasic_ToolOrderedGroupWithoutBackP; -friend class IGESBasic_ToolHierarchy; -friend class IGESBasic_ToolExternalReferenceFile; -friend class IGESBasic_ToolName; -friend class IGESBasic_ToolAssocGroupType; -friend class IGESBasic_ToolSingularSubfigure; -friend class IGESBasic_ToolExternalRefFileName; -friend class IGESBasic_ToolExternalRefFile; -friend class IGESBasic_ToolExternalRefName; -friend class IGESBasic_ToolExternalRefLibName; -friend class IGESBasic_Protocol; -friend class IGESBasic_ReadWriteModule; -friend class IGESBasic_GeneralModule; -friend class IGESBasic_SpecificModule; -friend class IGESBasic_HArray1OfHArray1OfInteger; -friend class IGESBasic_HArray1OfHArray1OfReal; -friend class IGESBasic_HArray1OfHArray1OfXY; -friend class IGESBasic_HArray1OfHArray1OfXYZ; -friend class IGESBasic_HArray1OfHArray1OfIGESEntity; - }; - - - - - - #endif // _IGESBasic_HeaderFile diff --git a/src/IGESCAFControl/IGESCAFControl.hxx b/src/IGESCAFControl/IGESCAFControl.hxx index a4f2ba1537..8641ed15a3 100644 --- a/src/IGESCAFControl/IGESCAFControl.hxx +++ b/src/IGESCAFControl/IGESCAFControl.hxx @@ -41,29 +41,6 @@ public: //! If no corresponding color defined in IGES, returns 0 Standard_EXPORT static Standard_Integer EncodeColor (const Quantity_Color& col); - - - -protected: - - - - - -private: - - - - -friend class IGESCAFControl_Reader; -friend class IGESCAFControl_Writer; - }; - - - - - - #endif // _IGESCAFControl_HeaderFile diff --git a/src/IGESConvGeom/IGESConvGeom.cxx b/src/IGESConvGeom/IGESConvGeom.cxx index 09fd548996..5b6cae001f 100644 --- a/src/IGESConvGeom/IGESConvGeom.cxx +++ b/src/IGESConvGeom/IGESConvGeom.cxx @@ -14,11 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// modif du 31/01/97 : mjm -// on commence par les SplineCurves. -// modif du 17/03/97 : mjm -// SplineSurfaces. -//%13 pdn 12.02.99: USA60293 avoid applying transformation twice +#include #include #include @@ -28,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/src/IGESConvGeom/IGESConvGeom.hxx b/src/IGESConvGeom/IGESConvGeom.hxx index 1aaf695398..d29fd7c9e7 100644 --- a/src/IGESConvGeom/IGESConvGeom.hxx +++ b/src/IGESConvGeom/IGESConvGeom.hxx @@ -90,28 +90,6 @@ public: //! all the knots can be passed to C2, all knots which can be are. Standard_EXPORT static Standard_Integer IncreaseSurfaceContinuity (const Handle(Geom_BSplineSurface)& surface, const Standard_Real epsgeom, const Standard_Integer continuity = 2); - - - -protected: - - - - - -private: - - - - -friend class IGESConvGeom_GeomBuilder; - }; - - - - - - #endif // _IGESConvGeom_HeaderFile diff --git a/src/IGESData/IGESData.hxx b/src/IGESData/IGESData.hxx index a8bc86e407..257f5e12ae 100644 --- a/src/IGESData/IGESData.hxx +++ b/src/IGESData/IGESData.hxx @@ -39,66 +39,6 @@ public: //! Returns a Protocol from IGESData (avoids to create it) Standard_EXPORT static Handle(IGESData_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESData_Protocol; -friend class IGESData_IGESModel; -friend class IGESData_IGESEntity; -friend class IGESData_LineFontEntity; -friend class IGESData_LevelListEntity; -friend class IGESData_TransfEntity; -friend class IGESData_ViewKindEntity; -friend class IGESData_LabelDisplayEntity; -friend class IGESData_ColorEntity; -friend class IGESData_NameEntity; -friend class IGESData_SingleParentEntity; -friend class IGESData_UndefinedEntity; -friend class IGESData_FreeFormatEntity; -friend class IGESData_GlobalSection; -friend class IGESData_DefSwitch; -friend class IGESData_DirChecker; -friend class IGESData_IGESReaderData; -friend class IGESData_IGESReaderTool; -friend class IGESData_ParamReader; -friend class IGESData_ParamCursor; -friend class IGESData_DirPart; -friend class IGESData_IGESType; -friend class IGESData_FileRecognizer; -friend class IGESData_IGESWriter; -friend class IGESData_IGESDumper; -friend class IGESData_BasicEditor; -friend class IGESData_ToolLocation; -friend class IGESData_GeneralModule; -friend class IGESData_DefaultGeneral; -friend class IGESData_ReadWriteModule; -friend class IGESData_SpecificModule; -friend class IGESData_DefaultSpecific; -friend class IGESData_FileProtocol; -friend class IGESData_WriterLib; -friend class IGESData_SpecificLib; -friend class IGESData_GlobalNodeOfWriterLib; -friend class IGESData_NodeOfWriterLib; -friend class IGESData_GlobalNodeOfSpecificLib; -friend class IGESData_NodeOfSpecificLib; - }; - - - - - - #endif // _IGESData_HeaderFile diff --git a/src/IGESDefs/IGESDefs.cxx b/src/IGESDefs/IGESDefs.cxx index f065366ea0..70642abeae 100644 --- a/src/IGESDefs/IGESDefs.cxx +++ b/src/IGESDefs/IGESDefs.cxx @@ -11,10 +11,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/IGESDefs/IGESDefs.hxx b/src/IGESDefs/IGESDefs.hxx index 1e648f9e0d..fa821bc7f8 100644 --- a/src/IGESDefs/IGESDefs.hxx +++ b/src/IGESDefs/IGESDefs.hxx @@ -39,46 +39,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESDefs_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESDefs_AssociativityDef; -friend class IGESDefs_MacroDef; -friend class IGESDefs_UnitsData; -friend class IGESDefs_AttributeDef; -friend class IGESDefs_TabularData; -friend class IGESDefs_GenericData; -friend class IGESDefs_AttributeTable; -friend class IGESDefs_ToolAssociativityDef; -friend class IGESDefs_ToolMacroDef; -friend class IGESDefs_ToolUnitsData; -friend class IGESDefs_ToolAttributeDef; -friend class IGESDefs_ToolTabularData; -friend class IGESDefs_ToolGenericData; -friend class IGESDefs_ToolAttributeTable; -friend class IGESDefs_Protocol; -friend class IGESDefs_ReadWriteModule; -friend class IGESDefs_GeneralModule; -friend class IGESDefs_SpecificModule; -friend class IGESDefs_HArray1OfHArray1OfTextDisplayTemplate; - }; - - - - - - #endif // _IGESDefs_HeaderFile diff --git a/src/IGESDimen/IGESDimen.cxx b/src/IGESDimen/IGESDimen.cxx index 5227c96910..53531b0d02 100644 --- a/src/IGESDimen/IGESDimen.cxx +++ b/src/IGESDimen/IGESDimen.cxx @@ -11,10 +11,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/IGESDimen/IGESDimen.hxx b/src/IGESDimen/IGESDimen.hxx index 6dfc7787b1..663b090fcb 100644 --- a/src/IGESDimen/IGESDimen.hxx +++ b/src/IGESDimen/IGESDimen.hxx @@ -40,77 +40,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESDimen_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESDimen_CenterLine; -friend class IGESDimen_Section; -friend class IGESDimen_WitnessLine; -friend class IGESDimen_AngularDimension; -friend class IGESDimen_CurveDimension; -friend class IGESDimen_DiameterDimension; -friend class IGESDimen_FlagNote; -friend class IGESDimen_GeneralLabel; -friend class IGESDimen_GeneralNote; -friend class IGESDimen_NewGeneralNote; -friend class IGESDimen_LeaderArrow; -friend class IGESDimen_LinearDimension; -friend class IGESDimen_OrdinateDimension; -friend class IGESDimen_PointDimension; -friend class IGESDimen_RadiusDimension; -friend class IGESDimen_GeneralSymbol; -friend class IGESDimen_SectionedArea; -friend class IGESDimen_DimensionedGeometry; -friend class IGESDimen_NewDimensionedGeometry; -friend class IGESDimen_DimensionUnits; -friend class IGESDimen_DimensionTolerance; -friend class IGESDimen_DimensionDisplayData; -friend class IGESDimen_BasicDimension; -friend class IGESDimen_ToolCenterLine; -friend class IGESDimen_ToolSection; -friend class IGESDimen_ToolWitnessLine; -friend class IGESDimen_ToolAngularDimension; -friend class IGESDimen_ToolCurveDimension; -friend class IGESDimen_ToolDiameterDimension; -friend class IGESDimen_ToolFlagNote; -friend class IGESDimen_ToolGeneralLabel; -friend class IGESDimen_ToolGeneralNote; -friend class IGESDimen_ToolNewGeneralNote; -friend class IGESDimen_ToolLeaderArrow; -friend class IGESDimen_ToolLinearDimension; -friend class IGESDimen_ToolOrdinateDimension; -friend class IGESDimen_ToolPointDimension; -friend class IGESDimen_ToolRadiusDimension; -friend class IGESDimen_ToolGeneralSymbol; -friend class IGESDimen_ToolSectionedArea; -friend class IGESDimen_ToolDimensionedGeometry; -friend class IGESDimen_ToolNewDimensionedGeometry; -friend class IGESDimen_ToolDimensionUnits; -friend class IGESDimen_ToolDimensionTolerance; -friend class IGESDimen_ToolDimensionDisplayData; -friend class IGESDimen_ToolBasicDimension; -friend class IGESDimen_Protocol; -friend class IGESDimen_ReadWriteModule; -friend class IGESDimen_GeneralModule; -friend class IGESDimen_SpecificModule; - }; - - - - - - #endif // _IGESDimen_HeaderFile diff --git a/src/IGESDraw/IGESDraw.cxx b/src/IGESDraw/IGESDraw.cxx index bc64534ece..da2f051a9f 100644 --- a/src/IGESDraw/IGESDraw.cxx +++ b/src/IGESDraw/IGESDraw.cxx @@ -11,11 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/IGESDraw/IGESDraw.hxx b/src/IGESDraw/IGESDraw.hxx index 273a9763e9..d3f38b3df7 100644 --- a/src/IGESDraw/IGESDraw.hxx +++ b/src/IGESDraw/IGESDraw.hxx @@ -40,59 +40,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESDraw_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESDraw_ConnectPoint; -friend class IGESDraw_NetworkSubfigureDef; -friend class IGESDraw_ViewsVisible; -friend class IGESDraw_ViewsVisibleWithAttr; -friend class IGESDraw_LabelDisplay; -friend class IGESDraw_Planar; -friend class IGESDraw_SegmentedViewsVisible; -friend class IGESDraw_Drawing; -friend class IGESDraw_DrawingWithRotation; -friend class IGESDraw_View; -friend class IGESDraw_RectArraySubfigure; -friend class IGESDraw_CircArraySubfigure; -friend class IGESDraw_NetworkSubfigure; -friend class IGESDraw_PerspectiveView; -friend class IGESDraw_ToolConnectPoint; -friend class IGESDraw_ToolNetworkSubfigureDef; -friend class IGESDraw_ToolViewsVisible; -friend class IGESDraw_ToolViewsVisibleWithAttr; -friend class IGESDraw_ToolLabelDisplay; -friend class IGESDraw_ToolPlanar; -friend class IGESDraw_ToolSegmentedViewsVisible; -friend class IGESDraw_ToolDrawing; -friend class IGESDraw_ToolDrawingWithRotation; -friend class IGESDraw_ToolView; -friend class IGESDraw_ToolRectArraySubfigure; -friend class IGESDraw_ToolCircArraySubfigure; -friend class IGESDraw_ToolNetworkSubfigure; -friend class IGESDraw_ToolPerspectiveView; -friend class IGESDraw_Protocol; -friend class IGESDraw_ReadWriteModule; -friend class IGESDraw_GeneralModule; -friend class IGESDraw_SpecificModule; - }; - - - - - - #endif // _IGESDraw_HeaderFile diff --git a/src/IGESGeom/IGESGeom.cxx b/src/IGESGeom/IGESGeom.cxx index 7624bb6e54..3da2ab75ae 100644 --- a/src/IGESGeom/IGESGeom.cxx +++ b/src/IGESGeom/IGESGeom.cxx @@ -11,11 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/IGESGeom/IGESGeom.hxx b/src/IGESGeom/IGESGeom.hxx index 86340551cf..494b151690 100644 --- a/src/IGESGeom/IGESGeom.hxx +++ b/src/IGESGeom/IGESGeom.hxx @@ -38,77 +38,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESGeom_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESGeom_CircularArc; -friend class IGESGeom_CompositeCurve; -friend class IGESGeom_ConicArc; -friend class IGESGeom_CopiousData; -friend class IGESGeom_Plane; -friend class IGESGeom_Line; -friend class IGESGeom_SplineCurve; -friend class IGESGeom_SplineSurface; -friend class IGESGeom_Point; -friend class IGESGeom_RuledSurface; -friend class IGESGeom_SurfaceOfRevolution; -friend class IGESGeom_TabulatedCylinder; -friend class IGESGeom_Direction; -friend class IGESGeom_TransformationMatrix; -friend class IGESGeom_Flash; -friend class IGESGeom_BSplineCurve; -friend class IGESGeom_BSplineSurface; -friend class IGESGeom_OffsetCurve; -friend class IGESGeom_OffsetSurface; -friend class IGESGeom_Boundary; -friend class IGESGeom_CurveOnSurface; -friend class IGESGeom_BoundedSurface; -friend class IGESGeom_TrimmedSurface; -friend class IGESGeom_ToolCircularArc; -friend class IGESGeom_ToolCompositeCurve; -friend class IGESGeom_ToolConicArc; -friend class IGESGeom_ToolCopiousData; -friend class IGESGeom_ToolPlane; -friend class IGESGeom_ToolLine; -friend class IGESGeom_ToolSplineCurve; -friend class IGESGeom_ToolSplineSurface; -friend class IGESGeom_ToolPoint; -friend class IGESGeom_ToolRuledSurface; -friend class IGESGeom_ToolSurfaceOfRevolution; -friend class IGESGeom_ToolTabulatedCylinder; -friend class IGESGeom_ToolDirection; -friend class IGESGeom_ToolTransformationMatrix; -friend class IGESGeom_ToolFlash; -friend class IGESGeom_ToolBSplineCurve; -friend class IGESGeom_ToolBSplineSurface; -friend class IGESGeom_ToolOffsetCurve; -friend class IGESGeom_ToolOffsetSurface; -friend class IGESGeom_ToolBoundary; -friend class IGESGeom_ToolCurveOnSurface; -friend class IGESGeom_ToolBoundedSurface; -friend class IGESGeom_ToolTrimmedSurface; -friend class IGESGeom_Protocol; -friend class IGESGeom_ReadWriteModule; -friend class IGESGeom_GeneralModule; -friend class IGESGeom_SpecificModule; - }; - - - - - - #endif // _IGESGeom_HeaderFile diff --git a/src/IGESGraph/IGESGraph.cxx b/src/IGESGraph/IGESGraph.cxx index 0654205a9d..e8bf483955 100644 --- a/src/IGESGraph/IGESGraph.cxx +++ b/src/IGESGraph/IGESGraph.cxx @@ -11,11 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/IGESGraph/IGESGraph.hxx b/src/IGESGraph/IGESGraph.hxx index 50971606cd..0d13100020 100644 --- a/src/IGESGraph/IGESGraph.hxx +++ b/src/IGESGraph/IGESGraph.hxx @@ -40,59 +40,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESGraph_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESGraph_LineFontDefTemplate; -friend class IGESGraph_LineFontDefPattern; -friend class IGESGraph_TextFontDef; -friend class IGESGraph_TextDisplayTemplate; -friend class IGESGraph_Color; -friend class IGESGraph_DefinitionLevel; -friend class IGESGraph_NominalSize; -friend class IGESGraph_DrawingSize; -friend class IGESGraph_DrawingUnits; -friend class IGESGraph_IntercharacterSpacing; -friend class IGESGraph_LineFontPredefined; -friend class IGESGraph_HighLight; -friend class IGESGraph_Pick; -friend class IGESGraph_UniformRectGrid; -friend class IGESGraph_ToolLineFontDefTemplate; -friend class IGESGraph_ToolLineFontDefPattern; -friend class IGESGraph_ToolTextFontDef; -friend class IGESGraph_ToolTextDisplayTemplate; -friend class IGESGraph_ToolColor; -friend class IGESGraph_ToolDefinitionLevel; -friend class IGESGraph_ToolNominalSize; -friend class IGESGraph_ToolDrawingSize; -friend class IGESGraph_ToolDrawingUnits; -friend class IGESGraph_ToolIntercharacterSpacing; -friend class IGESGraph_ToolLineFontPredefined; -friend class IGESGraph_ToolHighLight; -friend class IGESGraph_ToolPick; -friend class IGESGraph_ToolUniformRectGrid; -friend class IGESGraph_Protocol; -friend class IGESGraph_ReadWriteModule; -friend class IGESGraph_GeneralModule; -friend class IGESGraph_SpecificModule; - }; - - - - - - #endif // _IGESGraph_HeaderFile diff --git a/src/IGESSelect/IGESSelect.cxx b/src/IGESSelect/IGESSelect.cxx index 6ce03026bf..fa1a76ba7c 100644 --- a/src/IGESSelect/IGESSelect.cxx +++ b/src/IGESSelect/IGESSelect.cxx @@ -11,6 +11,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -18,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/IGESSelect/IGESSelect.hxx b/src/IGESSelect/IGESSelect.hxx index 1752b12ecc..4f042ad496 100644 --- a/src/IGESSelect/IGESSelect.hxx +++ b/src/IGESSelect/IGESSelect.hxx @@ -51,73 +51,6 @@ public: //! known the case) Standard_EXPORT static Standard_Integer WhatIges (const Handle(IGESData_IGESEntity)& ent, const Interface_Graph& G, Handle(IGESData_IGESEntity)& sup, Standard_Integer& index); - - - -protected: - - - - - -private: - - - - -friend class IGESSelect_EditHeader; -friend class IGESSelect_EditDirPart; -friend class IGESSelect_IGESTypeForm; -friend class IGESSelect_IGESName; -friend class IGESSelect_SignStatus; -friend class IGESSelect_SignLevelNumber; -friend class IGESSelect_SignColor; -friend class IGESSelect_CounterOfLevelNumber; -friend class IGESSelect_ViewSorter; -friend class IGESSelect_DispPerSingleView; -friend class IGESSelect_DispPerDrawing; -friend class IGESSelect_SelectVisibleStatus; -friend class IGESSelect_SelectSubordinate; -friend class IGESSelect_SelectLevelNumber; -friend class IGESSelect_SelectName; -friend class IGESSelect_SelectFromSingleView; -friend class IGESSelect_SelectFromDrawing; -friend class IGESSelect_SelectSingleViewFrom; -friend class IGESSelect_SelectDrawingFrom; -friend class IGESSelect_SelectBypassGroup; -friend class IGESSelect_SelectBypassSubfigure; -friend class IGESSelect_SelectBasicGeom; -friend class IGESSelect_SelectFaces; -friend class IGESSelect_SelectPCurves; -friend class IGESSelect_ModelModifier; -friend class IGESSelect_FileModifier; -friend class IGESSelect_FloatFormat; -friend class IGESSelect_AddFileComment; -friend class IGESSelect_UpdateFileName; -friend class IGESSelect_UpdateCreationDate; -friend class IGESSelect_UpdateLastChange; -friend class IGESSelect_SetVersion5; -friend class IGESSelect_SetGlobalParameter; -friend class IGESSelect_AutoCorrect; -friend class IGESSelect_ComputeStatus; -friend class IGESSelect_RebuildDrawings; -friend class IGESSelect_RebuildGroups; -friend class IGESSelect_AddGroup; -friend class IGESSelect_ChangeLevelNumber; -friend class IGESSelect_ChangeLevelList; -friend class IGESSelect_SplineToBSpline; -friend class IGESSelect_RemoveCurves; -friend class IGESSelect_SetLabel; -friend class IGESSelect_WorkLibrary; -friend class IGESSelect_Activator; -friend class IGESSelect_Dumper; - }; - - - - - - #endif // _IGESSelect_HeaderFile diff --git a/src/IGESSolid/IGESSolid.cxx b/src/IGESSolid/IGESSolid.cxx index ed5395c1b6..f808f9b2e1 100644 --- a/src/IGESSolid/IGESSolid.cxx +++ b/src/IGESSolid/IGESSolid.cxx @@ -11,11 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/IGESSolid/IGESSolid.hxx b/src/IGESSolid/IGESSolid.hxx index bea960eeac..177ad2a7a6 100644 --- a/src/IGESSolid/IGESSolid.hxx +++ b/src/IGESSolid/IGESSolid.hxx @@ -38,80 +38,6 @@ public: //! Returns the Protocol for this Package Standard_EXPORT static Handle(IGESSolid_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class IGESSolid_Block; -friend class IGESSolid_RightAngularWedge; -friend class IGESSolid_Cylinder; -friend class IGESSolid_ConeFrustum; -friend class IGESSolid_Sphere; -friend class IGESSolid_Torus; -friend class IGESSolid_SolidOfRevolution; -friend class IGESSolid_SolidOfLinearExtrusion; -friend class IGESSolid_Ellipsoid; -friend class IGESSolid_BooleanTree; -friend class IGESSolid_SelectedComponent; -friend class IGESSolid_SolidAssembly; -friend class IGESSolid_ManifoldSolid; -friend class IGESSolid_PlaneSurface; -friend class IGESSolid_CylindricalSurface; -friend class IGESSolid_ConicalSurface; -friend class IGESSolid_SphericalSurface; -friend class IGESSolid_ToroidalSurface; -friend class IGESSolid_SolidInstance; -friend class IGESSolid_VertexList; -friend class IGESSolid_EdgeList; -friend class IGESSolid_Loop; -friend class IGESSolid_Face; -friend class IGESSolid_Shell; -friend class IGESSolid_ToolBlock; -friend class IGESSolid_ToolRightAngularWedge; -friend class IGESSolid_ToolCylinder; -friend class IGESSolid_ToolConeFrustum; -friend class IGESSolid_ToolSphere; -friend class IGESSolid_ToolTorus; -friend class IGESSolid_ToolSolidOfRevolution; -friend class IGESSolid_ToolSolidOfLinearExtrusion; -friend class IGESSolid_ToolEllipsoid; -friend class IGESSolid_ToolBooleanTree; -friend class IGESSolid_ToolSelectedComponent; -friend class IGESSolid_ToolSolidAssembly; -friend class IGESSolid_ToolManifoldSolid; -friend class IGESSolid_ToolPlaneSurface; -friend class IGESSolid_ToolCylindricalSurface; -friend class IGESSolid_ToolConicalSurface; -friend class IGESSolid_ToolSphericalSurface; -friend class IGESSolid_ToolToroidalSurface; -friend class IGESSolid_ToolSolidInstance; -friend class IGESSolid_ToolVertexList; -friend class IGESSolid_ToolEdgeList; -friend class IGESSolid_ToolLoop; -friend class IGESSolid_ToolFace; -friend class IGESSolid_ToolShell; -friend class IGESSolid_Protocol; -friend class IGESSolid_ReadWriteModule; -friend class IGESSolid_GeneralModule; -friend class IGESSolid_SpecificModule; -friend class IGESSolid_TopoBuilder; - }; - - - - - - #endif // _IGESSolid_HeaderFile diff --git a/src/IGESToBRep/IGESToBRep.cxx b/src/IGESToBRep/IGESToBRep.cxx index 423c67ec10..59c6e88e4f 100644 --- a/src/IGESToBRep/IGESToBRep.cxx +++ b/src/IGESToBRep/IGESToBRep.cxx @@ -14,10 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// 21.12.98 rln, gka S4054 -// 06.01.99 pdn transmission from ShapeTool_MakeWire back to BRepAPI_MakeWire -// 19.03.99 abv //:q5: code improvement, unnecessary includes removed -//S4181 pdn 15.04.99 Recognition of elementary surfaces as basic. +#include #include #include @@ -60,7 +57,6 @@ #include #include #include -#include #include #include #include diff --git a/src/IntImpParGen/IntImpParGen.cxx b/src/IntImpParGen/IntImpParGen.cxx index b62b3f95be..0bf0008123 100644 --- a/src/IntImpParGen/IntImpParGen.cxx +++ b/src/IntImpParGen/IntImpParGen.cxx @@ -14,11 +14,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include @@ -213,12 +213,3 @@ Standard_Boolean IntImpParGen::DetermineTransition(const IntRes2d_Position P } return(Standard_True); } - - - - - - - - - diff --git a/src/IntImpParGen/IntImpParGen.hxx b/src/IntImpParGen/IntImpParGen.hxx index d36b28b0e9..f132cca6b6 100644 --- a/src/IntImpParGen/IntImpParGen.hxx +++ b/src/IntImpParGen/IntImpParGen.hxx @@ -54,31 +54,6 @@ public: Standard_EXPORT static Standard_Real NormalizeOnDomain (Standard_Real& Par1, const IntRes2d_Domain& Dom1); - - - -protected: - - - - - -private: - - - - -friend class IntImpParGen_ImpTool; -friend class IntImpParGen_ImpParTool; -friend class IntImpParGen_Intersector; -friend class IntImpParGen_MyImpParTool; - }; - - - - - - #endif // _IntImpParGen_HeaderFile diff --git a/src/IntSurf/IntSurf.hxx b/src/IntSurf/IntSurf.hxx index bbda383d8b..26afc55520 100644 --- a/src/IntSurf/IntSurf.hxx +++ b/src/IntSurf/IntSurf.hxx @@ -55,36 +55,6 @@ public: const Handle(Adaptor3d_Surface)& theSecondSurf, Standard_Real theArrOfPeriod[4]); - - -protected: - - - - - -private: - - - - -friend class IntSurf_PntOn2S; -friend class IntSurf_Couple; -friend class IntSurf_LineOn2S; -friend class IntSurf_Quadric; -friend class IntSurf_QuadricTool; -friend class IntSurf_PathPoint; -friend class IntSurf_PathPointTool; -friend class IntSurf_InteriorPoint; -friend class IntSurf_InteriorPointTool; -friend class IntSurf_Transition; - }; - - - - - - #endif // _IntSurf_HeaderFile diff --git a/src/Intf/Intf.cxx b/src/Intf/Intf.cxx index 23c104e61c..f8fe98fd87 100644 --- a/src/Intf/Intf.cxx +++ b/src/Intf/Intf.cxx @@ -14,10 +14,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include //======================================================================= //function : PlaneEquation diff --git a/src/Intf/Intf.hxx b/src/Intf/Intf.hxx index f52e7db24d..72dccb0d09 100644 --- a/src/Intf/Intf.hxx +++ b/src/Intf/Intf.hxx @@ -49,35 +49,6 @@ public: //! Compute if the triangle contain . Standard_EXPORT static Standard_Boolean Contain (const gp_Pnt& P1, const gp_Pnt& P2, const gp_Pnt& P3, const gp_Pnt& ThePnt); - - - -protected: - - - - - -private: - - - - -friend class Intf_Polygon2d; -friend class Intf_SectionPoint; -friend class Intf_SectionLine; -friend class Intf_TangentZone; -friend class Intf_Interference; -friend class Intf_Tool; -friend class Intf_InterferencePolygon2d; -friend class Intf_InterferencePolygonPolyhedron; - }; - - - - - - #endif // _Intf_HeaderFile diff --git a/src/Law/Law.cxx b/src/Law/Law.cxx index 563457ee44..b3d2b231cb 100644 --- a/src/Law/Law.cxx +++ b/src/Law/Law.cxx @@ -14,11 +14,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/Law/Law.hxx b/src/Law/Law.hxx index b23b1c24ff..3cc8ed2129 100644 --- a/src/Law/Law.hxx +++ b/src/Law/Law.hxx @@ -96,37 +96,6 @@ public: Standard_EXPORT static Handle(Law_BSpline) ScaleCub (const Standard_Real First, const Standard_Real Last, const Standard_Boolean HasF, const Standard_Boolean HasL, const Standard_Real VFirst, const Standard_Real VLast); - - - -protected: - - - - - -private: - - - - -friend class Law_BSpline; -friend class Law_Interpolate; -friend class Law_Function; -friend class Law_Constant; -friend class Law_Linear; -friend class Law_BSpFunc; -friend class Law_S; -friend class Law_Interpol; -friend class Law_Composite; -friend class Law_BSplineKnotSplitting; - }; - - - - - - #endif // _Law_HeaderFile diff --git a/src/LocOpe/LocOpe.hxx b/src/LocOpe/LocOpe.hxx index 904757df86..5aea7f1bdc 100644 --- a/src/LocOpe/LocOpe.hxx +++ b/src/LocOpe/LocOpe.hxx @@ -51,48 +51,6 @@ public: Standard_EXPORT static void SampleEdges (const TopoDS_Shape& S, TColgp_SequenceOfPnt& Pt); - - - -protected: - - - - - -private: - - - - -friend class LocOpe_SplitShape; -friend class LocOpe_WiresOnShape; -friend class LocOpe_Spliter; -friend class LocOpe_Generator; -friend class LocOpe_GeneratedShape; -friend class LocOpe_GluedShape; -friend class LocOpe_Prism; -friend class LocOpe_Revol; -friend class LocOpe_Pipe; -friend class LocOpe_DPrism; -friend class LocOpe_LinearForm; -friend class LocOpe_RevolutionForm; -friend class LocOpe_Gluer; -friend class LocOpe_FindEdges; -friend class LocOpe_FindEdgesInFace; -friend class LocOpe_PntFace; -friend class LocOpe_CurveShapeIntersector; -friend class LocOpe_CSIntersector; -friend class LocOpe_BuildShape; -friend class LocOpe_SplitDrafts; -friend class LocOpe_BuildWires; - }; - - - - - - #endif // _LocOpe_HeaderFile diff --git a/src/LocalAnalysis/LocalAnalysis.hxx b/src/LocalAnalysis/LocalAnalysis.hxx index 1bdcf1ef42..0bcce7d6f3 100644 --- a/src/LocalAnalysis/LocalAnalysis.hxx +++ b/src/LocalAnalysis/LocalAnalysis.hxx @@ -43,11 +43,6 @@ public: //! This function gives information about a variable SurfaceContinuity Standard_EXPORT static void Dump (const LocalAnalysis_CurveContinuity& curvconti, Standard_OStream& o); -private: - -friend class LocalAnalysis_SurfaceContinuity; -friend class LocalAnalysis_CurveContinuity; - }; #endif // _LocalAnalysis_HeaderFile diff --git a/src/PLib/PLib.cxx b/src/PLib/PLib.cxx index c867542e47..521a339a2a 100644 --- a/src/PLib/PLib.cxx +++ b/src/PLib/PLib.cxx @@ -14,16 +14,13 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// Modified: 28/02/1996 by PMN : HermiteCoefficients added -// Modified: 18/06/1996 by PMN : NULL reference. -// Modified: 19/02/1997 by JCT : EvalPoly2Var added +#include #include #include #include #include #include -#include #include // To convert points array into Real .. diff --git a/src/PLib/PLib.hxx b/src/PLib/PLib.hxx index 4f2a27a08d..96c28b72d0 100644 --- a/src/PLib/PLib.hxx +++ b/src/PLib/PLib.hxx @@ -346,25 +346,6 @@ public: Standard_EXPORT static void EvalLength (const Standard_Integer Degree, const Standard_Integer Dimension, Standard_Real& PolynomialCoeff, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol, Standard_Real& Length, Standard_Real& Error); - - - -protected: - - - - - -private: - - - - -friend class PLib_Base; -friend class PLib_JacobiPolynomial; -friend class PLib_HermitJacobi; -friend class PLib_DoubleJacobiPolynomial; - }; #endif // _PLib_HeaderFile diff --git a/src/Poly/Poly.hxx b/src/Poly/Poly.hxx index 9c9b95cd7b..78a8788415 100644 --- a/src/Poly/Poly.hxx +++ b/src/Poly/Poly.hxx @@ -190,15 +190,6 @@ public: return Standard_True; } -private: - -friend class Poly_Triangle; -friend class Poly_Triangulation; -friend class Poly_Polygon3D; -friend class Poly_Polygon2D; -friend class Poly_PolygonOnTriangulation; -friend class Poly_Connect; - }; #endif // _Poly_HeaderFile diff --git a/src/QABugs/QABugs.hxx b/src/QABugs/QABugs.hxx index d4439d63ae..0ddac6deb0 100644 --- a/src/QABugs/QABugs.hxx +++ b/src/QABugs/QABugs.hxx @@ -73,27 +73,6 @@ public: Standard_EXPORT static void Commands_BVH (Draw_Interpretor& DI); - -protected: - - - - - -private: - - - - -friend class QABugs_MyText; -friend class QABugs_PresentableObject; - }; - - - - - - #endif // _QABugs_HeaderFile diff --git a/src/RWHeaderSection/RWHeaderSection.cxx b/src/RWHeaderSection/RWHeaderSection.cxx index b1d2f27262..62f917e641 100644 --- a/src/RWHeaderSection/RWHeaderSection.cxx +++ b/src/RWHeaderSection/RWHeaderSection.cxx @@ -11,10 +11,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/RWHeaderSection/RWHeaderSection.hxx b/src/RWHeaderSection/RWHeaderSection.hxx index 5d8204cc11..55197b20d8 100644 --- a/src/RWHeaderSection/RWHeaderSection.hxx +++ b/src/RWHeaderSection/RWHeaderSection.hxx @@ -34,32 +34,6 @@ public: //! enforced the initialisation of the libraries Standard_EXPORT static void Init(); - - - -protected: - - - - - -private: - - - - -friend class RWHeaderSection_ReadWriteModule; -friend class RWHeaderSection_GeneralModule; -friend class RWHeaderSection_RWFileName; -friend class RWHeaderSection_RWFileDescription; -friend class RWHeaderSection_RWFileSchema; - }; - - - - - - #endif // _RWHeaderSection_HeaderFile diff --git a/src/RWStepAP214/RWStepAP214.cxx b/src/RWStepAP214/RWStepAP214.cxx index 6693363283..b1608e0442 100644 --- a/src/RWStepAP214/RWStepAP214.cxx +++ b/src/RWStepAP214/RWStepAP214.cxx @@ -11,11 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include #include #include diff --git a/src/RWStepAP214/RWStepAP214.hxx b/src/RWStepAP214/RWStepAP214.hxx index 9ad95d3db8..0d6af9fedc 100644 --- a/src/RWStepAP214/RWStepAP214.hxx +++ b/src/RWStepAP214/RWStepAP214.hxx @@ -34,55 +34,6 @@ public: //! enforced the initialisation of the libraries Standard_EXPORT static void Init(); - - - -protected: - - - - - -private: - - - - -friend class RWStepAP214_ReadWriteModule; -friend class RWStepAP214_GeneralModule; -friend class RWStepAP214_RWAutoDesignActualDateAndTimeAssignment; -friend class RWStepAP214_RWAutoDesignActualDateAssignment; -friend class RWStepAP214_RWAutoDesignApprovalAssignment; -friend class RWStepAP214_RWAutoDesignDateAndPersonAssignment; -friend class RWStepAP214_RWAutoDesignGroupAssignment; -friend class RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment; -friend class RWStepAP214_RWAutoDesignNominalDateAssignment; -friend class RWStepAP214_RWAutoDesignOrganizationAssignment; -friend class RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment; -friend class RWStepAP214_RWAutoDesignPresentedItem; -friend class RWStepAP214_RWAutoDesignSecurityClassificationAssignment; -friend class RWStepAP214_RWAutoDesignDocumentReference; -friend class RWStepAP214_RWAppliedDateAndTimeAssignment; -friend class RWStepAP214_RWAppliedDateAssignment; -friend class RWStepAP214_RWAppliedApprovalAssignment; -friend class RWStepAP214_RWAppliedGroupAssignment; -friend class RWStepAP214_RWAppliedOrganizationAssignment; -friend class RWStepAP214_RWAppliedPersonAndOrganizationAssignment; -friend class RWStepAP214_RWAppliedPresentedItem; -friend class RWStepAP214_RWAppliedSecurityClassificationAssignment; -friend class RWStepAP214_RWAppliedDocumentReference; -friend class RWStepAP214_RWAppliedExternalIdentificationAssignment; -friend class RWStepAP214_RWClass; -friend class RWStepAP214_RWExternallyDefinedClass; -friend class RWStepAP214_RWExternallyDefinedGeneralProperty; -friend class RWStepAP214_RWRepItemGroup; - }; - - - - - - #endif // _RWStepAP214_HeaderFile diff --git a/src/STEPConstruct/STEPConstruct.cxx b/src/STEPConstruct/STEPConstruct.cxx index dd704c7e4b..da9eaaf169 100644 --- a/src/STEPConstruct/STEPConstruct.cxx +++ b/src/STEPConstruct/STEPConstruct.cxx @@ -13,10 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/STEPConstruct/STEPConstruct.hxx b/src/STEPConstruct/STEPConstruct.hxx index a178a3985b..d7219f72ef 100644 --- a/src/STEPConstruct/STEPConstruct.hxx +++ b/src/STEPConstruct/STEPConstruct.hxx @@ -62,37 +62,6 @@ public: //! Find CDSR correcponding to the component in the specified assembly Standard_EXPORT static Standard_Boolean FindCDSR (const Handle(Transfer_Binder)& ComponentBinder, const Handle(StepShape_ShapeDefinitionRepresentation)& AssemblySDR, Handle(StepShape_ContextDependentShapeRepresentation)& ComponentCDSR); - - - -protected: - - - - - -private: - - - - -friend class STEPConstruct_Tool; -friend class STEPConstruct_UnitContext; -friend class STEPConstruct_Part; -friend class STEPConstruct_Assembly; -friend class STEPConstruct_Styles; -friend class STEPConstruct_ValidationProps; -friend class STEPConstruct_ExternRefs; -friend class STEPConstruct_AP203Context; -friend class STEPConstruct_ContextTool; -friend class STEPConstruct_PointHasher; - }; - - - - - - #endif // _STEPConstruct_HeaderFile diff --git a/src/STEPEdit/STEPEdit.cxx b/src/STEPEdit/STEPEdit.cxx index 42e1295cf6..094df77a51 100644 --- a/src/STEPEdit/STEPEdit.cxx +++ b/src/STEPEdit/STEPEdit.cxx @@ -11,6 +11,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -21,7 +22,6 @@ #include #include #include -#include #include Handle(Interface_Protocol) STEPEdit::Protocol () diff --git a/src/STEPEdit/STEPEdit.hxx b/src/STEPEdit/STEPEdit.hxx index 89e7b09830..166fd33d6a 100644 --- a/src/STEPEdit/STEPEdit.hxx +++ b/src/STEPEdit/STEPEdit.hxx @@ -63,29 +63,6 @@ public: //! By default in the whole StepModel Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectShapeRepr(); - - - -protected: - - - - - -private: - - - - -friend class STEPEdit_EditContext; -friend class STEPEdit_EditSDR; - }; - - - - - - #endif // _STEPEdit_HeaderFile diff --git a/src/SWDRAW/SWDRAW.cxx b/src/SWDRAW/SWDRAW.cxx index 29221fa30e..e428fa46cd 100644 --- a/src/SWDRAW/SWDRAW.cxx +++ b/src/SWDRAW/SWDRAW.cxx @@ -11,6 +11,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -20,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -118,11 +118,6 @@ void SWDRAW::Init (Draw_Interpretor& theCommands) { if (!dejadraw) { dejadraw = 1; -// DBRep::BasicCommands(theCommands); -// CKY 4-AOUT-1998 : pb avec GeomFill -// GeometryTest::AllCommands(theCommands); -// BRepTest::AllCommands(theCommands); -// MeshTest::Commands(theCommands); } SWDRAW_ShapeTool::InitCommands (theCommands); diff --git a/src/SWDRAW/SWDRAW.hxx b/src/SWDRAW/SWDRAW.hxx index 02a34da95f..4ea68bdb3f 100644 --- a/src/SWDRAW/SWDRAW.hxx +++ b/src/SWDRAW/SWDRAW.hxx @@ -44,44 +44,14 @@ public: DEFINE_STANDARD_ALLOC - //! Loads commands defined in SWDRAW Standard_EXPORT static void Init (Draw_Interpretor& theCommands); - - - -protected: - - - - - -private: - - //! Returns the name of the DRAW group accumulating the //! commands from the classes prefixed with Shape*. //! Returns "Shape Healing". Standard_EXPORT static Standard_CString GroupName(); - - -friend class SWDRAW_ShapeTool; -friend class SWDRAW_ShapeAnalysis; -friend class SWDRAW_ShapeCustom; -friend class SWDRAW_ShapeExtend; -friend class SWDRAW_ShapeFix; -friend class SWDRAW_ShapeUpgrade; -friend class SWDRAW_ShapeProcess; -friend class SWDRAW_ShapeProcessAPI; - }; - - - - - - #endif // _SWDRAW_HeaderFile diff --git a/src/ShapeAlgo/ShapeAlgo.hxx b/src/ShapeAlgo/ShapeAlgo.hxx index 8369162e89..ef4d5fda5d 100644 --- a/src/ShapeAlgo/ShapeAlgo.hxx +++ b/src/ShapeAlgo/ShapeAlgo.hxx @@ -41,29 +41,6 @@ public: //! Returns default AlgoContainer Standard_EXPORT static Handle(ShapeAlgo_AlgoContainer) AlgoContainer(); - - - -protected: - - - - - -private: - - - - -friend class ShapeAlgo_ToolContainer; -friend class ShapeAlgo_AlgoContainer; - }; - - - - - - #endif // _ShapeAlgo_HeaderFile diff --git a/src/ShapeAnalysis/ShapeAnalysis.cxx b/src/ShapeAnalysis/ShapeAnalysis.cxx index acc8a75be6..995466e29f 100644 --- a/src/ShapeAnalysis/ShapeAnalysis.cxx +++ b/src/ShapeAnalysis/ShapeAnalysis.cxx @@ -13,12 +13,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// pdn 15.11.98 new methods -//:n3 abv 08.02.99: PRO17820: ShapeAnalysis::OuterWire instead of BRepTools::OuterWire() -// szv #1 05.03.99: PRO15686: compute UV points for Plane surfaces in case of same vertices -//#4 szv S4163: optimizations -//:s5 abv 22.04.99 Adding debug printouts in catch {} blocks -//%21 pdn 15.04.99 CTS22655 +#include #include #include @@ -34,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/src/ShapeAnalysis/ShapeAnalysis.hxx b/src/ShapeAnalysis/ShapeAnalysis.hxx index 1ac0e19f31..be6f228ab5 100644 --- a/src/ShapeAnalysis/ShapeAnalysis.hxx +++ b/src/ShapeAnalysis/ShapeAnalysis.hxx @@ -94,43 +94,6 @@ public: //! Computes exact UV bounds of all wires on the face Standard_EXPORT static void GetFaceUVBounds (const TopoDS_Face& F, Standard_Real& Umin, Standard_Real& Umax, Standard_Real& Vmin, Standard_Real& Vmax); - - - -protected: - - - - - -private: - - - - -friend class ShapeAnalysis_Geom; -friend class ShapeAnalysis_Curve; -friend class ShapeAnalysis_Surface; -friend class ShapeAnalysis_Edge; -friend class ShapeAnalysis_Wire; -friend class ShapeAnalysis_WireOrder; -friend class ShapeAnalysis_WireVertex; -friend class ShapeAnalysis_CheckSmallFace; -friend class ShapeAnalysis_Shell; -friend class ShapeAnalysis_ShapeTolerance; -friend class ShapeAnalysis_ShapeContents; -friend class ShapeAnalysis_FreeBounds; -friend class ShapeAnalysis_FreeBoundData; -friend class ShapeAnalysis_FreeBoundsProperties; -friend class ShapeAnalysis_TransferParameters; -friend class ShapeAnalysis_TransferParametersProj; - }; - - - - - - #endif // _ShapeAnalysis_HeaderFile diff --git a/src/ShapeBuild/ShapeBuild.cxx b/src/ShapeBuild/ShapeBuild.cxx index 1e809c5c47..96787ed966 100644 --- a/src/ShapeBuild/ShapeBuild.cxx +++ b/src/ShapeBuild/ShapeBuild.cxx @@ -14,9 +14,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include //======================================================================= //function : PlaneXOY @@ -28,4 +28,3 @@ Handle(Geom_Plane) ShapeBuild::PlaneXOY() if (xoy.IsNull()) xoy = new Geom_Plane (0,0,1,0); return xoy; } - diff --git a/src/ShapeBuild/ShapeBuild.hxx b/src/ShapeBuild/ShapeBuild.hxx index 31e7decef4..1b452f601e 100644 --- a/src/ShapeBuild/ShapeBuild.hxx +++ b/src/ShapeBuild/ShapeBuild.hxx @@ -39,30 +39,6 @@ public: //! with this support surface Standard_EXPORT static Handle(Geom_Plane) PlaneXOY(); - - - -protected: - - - - - -private: - - - - -friend class ShapeBuild_Vertex; -friend class ShapeBuild_Edge; -friend class ShapeBuild_ReShape; - }; - - - - - - #endif // _ShapeBuild_HeaderFile diff --git a/src/ShapeCustom/ShapeCustom.hxx b/src/ShapeCustom/ShapeCustom.hxx index b5fdd9a91d..1fcfe0ce11 100644 --- a/src/ShapeCustom/ShapeCustom.hxx +++ b/src/ShapeCustom/ShapeCustom.hxx @@ -99,38 +99,6 @@ public: //! Geom_BSplineSurface (with same parameterisation). Standard_EXPORT static TopoDS_Shape ConvertToBSpline (const TopoDS_Shape& S, const Standard_Boolean extrMode, const Standard_Boolean revolMode, const Standard_Boolean offsetMode, const Standard_Boolean planeMode = Standard_False); - - - -protected: - - - - - -private: - - - - -friend class ShapeCustom_Surface; -friend class ShapeCustom_Curve; -friend class ShapeCustom_Curve2d; -friend class ShapeCustom_RestrictionParameters; -friend class ShapeCustom_Modification; -friend class ShapeCustom_DirectModification; -friend class ShapeCustom_TrsfModification; -friend class ShapeCustom_BSplineRestriction; -friend class ShapeCustom_ConvertToRevolution; -friend class ShapeCustom_SweptToElementary; -friend class ShapeCustom_ConvertToBSpline; - }; - - - - - - #endif // _ShapeCustom_HeaderFile diff --git a/src/ShapeExtend/ShapeExtend.hxx b/src/ShapeExtend/ShapeExtend.hxx index acb9e4bc63..7414f34331 100644 --- a/src/ShapeExtend/ShapeExtend.hxx +++ b/src/ShapeExtend/ShapeExtend.hxx @@ -58,33 +58,6 @@ public: //! Tells if a bit flag contains bit corresponding to enumerated status Standard_EXPORT static Standard_Boolean DecodeStatus (const Standard_Integer flag, const ShapeExtend_Status status); - - - -protected: - - - - - -private: - - - - -friend class ShapeExtend_ComplexCurve; -friend class ShapeExtend_CompositeSurface; -friend class ShapeExtend_WireData; -friend class ShapeExtend_BasicMsgRegistrator; -friend class ShapeExtend_MsgRegistrator; -friend class ShapeExtend_Explorer; - }; - - - - - - #endif // _ShapeExtend_HeaderFile diff --git a/src/ShapeFix/ShapeFix.hxx b/src/ShapeFix/ShapeFix.hxx index a1e30c6396..fb6a1f5ccf 100644 --- a/src/ShapeFix/ShapeFix.hxx +++ b/src/ShapeFix/ShapeFix.hxx @@ -77,48 +77,6 @@ public: //! Calculate size of least edge; Standard_EXPORT static Standard_Real LeastEdgeSize (TopoDS_Shape& theshape); - - - -protected: - - - - - -private: - - - - -friend class ShapeFix_Root; -friend class ShapeFix_EdgeProjAux; -friend class ShapeFix_Edge; -friend class ShapeFix_Wire; -friend class ShapeFix_Face; -friend class ShapeFix_FixSmallFace; -friend class ShapeFix_FixSmallSolid; -friend class ShapeFix_WireVertex; -friend class ShapeFix_Wireframe; -friend class ShapeFix_FreeBounds; -friend class ShapeFix_FaceConnect; -friend class ShapeFix_Shell; -friend class ShapeFix_Solid; -friend class ShapeFix_ShapeTolerance; -friend class ShapeFix_Shape; -friend class ShapeFix_EdgeConnect; -friend class ShapeFix_ComposeShell; -friend class ShapeFix_SplitCommonVertex; -friend class ShapeFix_WireSegment; -friend class ShapeFix_IntersectionTool; -friend class ShapeFix_SplitTool; - }; - - - - - - #endif // _ShapeFix_HeaderFile diff --git a/src/ShapeProcess/ShapeProcess.cxx b/src/ShapeProcess/ShapeProcess.cxx index 3f4c8fe74c..e38395aec5 100644 --- a/src/ShapeProcess/ShapeProcess.cxx +++ b/src/ShapeProcess/ShapeProcess.cxx @@ -13,11 +13,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include + #include #include #include #include -#include #include #include #include diff --git a/src/ShapeProcess/ShapeProcess.hxx b/src/ShapeProcess/ShapeProcess.hxx index 27322a37aa..b8408d5b20 100644 --- a/src/ShapeProcess/ShapeProcess.hxx +++ b/src/ShapeProcess/ShapeProcess.hxx @@ -54,32 +54,6 @@ public: const Standard_CString seq, const Message_ProgressRange& theProgress = Message_ProgressRange()); - - - -protected: - - - - - -private: - - - - -friend class ShapeProcess_Context; -friend class ShapeProcess_ShapeContext; -friend class ShapeProcess_Operator; -friend class ShapeProcess_UOperator; -friend class ShapeProcess_OperLibrary; - }; - - - - - - #endif // _ShapeProcess_HeaderFile diff --git a/src/ShapeUpgrade/ShapeUpgrade.cxx b/src/ShapeUpgrade/ShapeUpgrade.cxx index 7f2444269b..2c3d838d8f 100644 --- a/src/ShapeUpgrade/ShapeUpgrade.cxx +++ b/src/ShapeUpgrade/ShapeUpgrade.cxx @@ -14,12 +14,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// abv 24.05.99 S4174: methods Debug() commented +#include #include #include #include -#include #include #include #include diff --git a/src/ShapeUpgrade/ShapeUpgrade.hxx b/src/ShapeUpgrade/ShapeUpgrade.hxx index 2bdb74feae..488bf4abdc 100644 --- a/src/ShapeUpgrade/ShapeUpgrade.hxx +++ b/src/ShapeUpgrade/ShapeUpgrade.hxx @@ -54,41 +54,6 @@ public: Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom2d_BSplineCurve)& BS, Handle(TColGeom2d_HSequenceOfBoundedCurve)& seqBS); -private: - -friend class ShapeUpgrade_Tool; -friend class ShapeUpgrade_EdgeDivide; -friend class ShapeUpgrade_ClosedEdgeDivide; -friend class ShapeUpgrade_WireDivide; -friend class ShapeUpgrade_FaceDivide; -friend class ShapeUpgrade_ClosedFaceDivide; -friend class ShapeUpgrade_FaceDivideArea; -friend class ShapeUpgrade_ShapeDivide; -friend class ShapeUpgrade_ShapeDivideArea; -friend class ShapeUpgrade_ShapeDivideContinuity; -friend class ShapeUpgrade_ShapeDivideAngle; -friend class ShapeUpgrade_ShapeConvertToBezier; -friend class ShapeUpgrade_ShapeDivideClosed; -friend class ShapeUpgrade_ShapeDivideClosedEdges; -friend class ShapeUpgrade_SplitCurve; -friend class ShapeUpgrade_SplitCurve2d; -friend class ShapeUpgrade_SplitCurve2dContinuity; -friend class ShapeUpgrade_ConvertCurve2dToBezier; -friend class ShapeUpgrade_SplitCurve3d; -friend class ShapeUpgrade_SplitCurve3dContinuity; -friend class ShapeUpgrade_ConvertCurve3dToBezier; -friend class ShapeUpgrade_SplitSurface; -friend class ShapeUpgrade_SplitSurfaceContinuity; -friend class ShapeUpgrade_SplitSurfaceAngle; -friend class ShapeUpgrade_ConvertSurfaceToBezierBasis; -friend class ShapeUpgrade_SplitSurfaceArea; -friend class ShapeUpgrade_ShellSewing; -friend class ShapeUpgrade_FixSmallCurves; -friend class ShapeUpgrade_FixSmallBezierCurves; -friend class ShapeUpgrade_RemoveLocations; -friend class ShapeUpgrade_RemoveInternalWires; -friend class ShapeUpgrade_UnifySameDomain; - }; #endif // _ShapeUpgrade_HeaderFile diff --git a/src/StepAP214/StepAP214.cxx b/src/StepAP214/StepAP214.cxx index 77702ead72..03bbecf7fc 100644 --- a/src/StepAP214/StepAP214.cxx +++ b/src/StepAP214/StepAP214.cxx @@ -11,9 +11,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include StaticHandle(StepAP214_Protocol, proto); @@ -24,4 +24,3 @@ Handle(StepAP214_Protocol) StepAP214::Protocol() InitHandleVoid(StepAP214_Protocol, proto); return proto; } - diff --git a/src/StepAP214/StepAP214.hxx b/src/StepAP214/StepAP214.hxx index 32647cd1bf..9ddeee5326 100644 --- a/src/StepAP214/StepAP214.hxx +++ b/src/StepAP214/StepAP214.hxx @@ -37,72 +37,6 @@ public: //! creates a Protocol Standard_EXPORT static Handle(StepAP214_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class StepAP214_AutoDesignDateAndPersonItem; -friend class StepAP214_AutoDesignDateAndTimeItem; -friend class StepAP214_AutoDesignDatedItem; -friend class StepAP214_AutoDesignGeneralOrgItem; -friend class StepAP214_AutoDesignOrganizationItem; -friend class StepAP214_AutoDesignGroupedItem; -friend class StepAP214_AutoDesignPresentedItemSelect; -friend class StepAP214_AutoDesignReferencingItem; -friend class StepAP214_DateAndTimeItem; -friend class StepAP214_DateItem; -friend class StepAP214_ApprovalItem; -friend class StepAP214_OrganizationItem; -friend class StepAP214_DocumentReferenceItem; -friend class StepAP214_GroupItem; -friend class StepAP214_PersonAndOrganizationItem; -friend class StepAP214_PresentedItemSelect; -friend class StepAP214_SecurityClassificationItem; -friend class StepAP214_Protocol; -friend class StepAP214_AutoDesignApprovalAssignment; -friend class StepAP214_AutoDesignActualDateAndTimeAssignment; -friend class StepAP214_AutoDesignNominalDateAndTimeAssignment; -friend class StepAP214_AutoDesignActualDateAssignment; -friend class StepAP214_AutoDesignNominalDateAssignment; -friend class StepAP214_AutoDesignGroupAssignment; -friend class StepAP214_AutoDesignOrganizationAssignment; -friend class StepAP214_AutoDesignDateAndPersonAssignment; -friend class StepAP214_AutoDesignPersonAndOrganizationAssignment; -friend class StepAP214_AutoDesignPresentedItem; -friend class StepAP214_AutoDesignSecurityClassificationAssignment; -friend class StepAP214_AutoDesignDocumentReference; -friend class StepAP214_AppliedApprovalAssignment; -friend class StepAP214_AppliedDateAndTimeAssignment; -friend class StepAP214_AppliedDateAssignment; -friend class StepAP214_AppliedGroupAssignment; -friend class StepAP214_AppliedOrganizationAssignment; -friend class StepAP214_AppliedPersonAndOrganizationAssignment; -friend class StepAP214_AppliedPresentedItem; -friend class StepAP214_AppliedSecurityClassificationAssignment; -friend class StepAP214_AppliedDocumentReference; -friend class StepAP214_AppliedExternalIdentificationAssignment; -friend class StepAP214_Class; -friend class StepAP214_ExternalIdentificationItem; -friend class StepAP214_ExternallyDefinedClass; -friend class StepAP214_ExternallyDefinedGeneralProperty; -friend class StepAP214_RepItemGroup; - }; - - - - - - #endif // _StepAP214_HeaderFile diff --git a/src/StepData/StepData.cxx b/src/StepData/StepData.cxx index 79e848c48e..a0e6c519e5 100644 --- a/src/StepData/StepData.cxx +++ b/src/StepData/StepData.cxx @@ -11,13 +11,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// abv 09.04.99 S4136: eliminate parameter step.readaccept.void -// svv #2 23.02.00: porting on SIL +#include #include #include #include -#include #include #include #include diff --git a/src/StepData/StepData.hxx b/src/StepData/StepData.hxx index 3285f3f1ce..f24a777f1f 100644 --- a/src/StepData/StepData.hxx +++ b/src/StepData/StepData.hxx @@ -50,66 +50,6 @@ public: //! Returns a Protocol from StepData (avoids to create it) Standard_EXPORT static Handle(StepData_Protocol) Protocol(); - - - -protected: - - - - - -private: - - - - -friend class StepData_StepModel; -friend class StepData_UndefinedEntity; -friend class StepData_SelectType; -friend class StepData_Field; -friend class StepData_SelectMember; -friend class StepData_SelectInt; -friend class StepData_SelectReal; -friend class StepData_SelectNamed; -friend class StepData_SelectArrReal; -friend class StepData_PDescr; -friend class StepData_FieldList; -friend class StepData_FieldList1; -friend class StepData_FieldListN; -friend class StepData_FieldListD; -friend class StepData_EDescr; -friend class StepData_ESDescr; -friend class StepData_ECDescr; -friend class StepData_Described; -friend class StepData_Simple; -friend class StepData_Plex; -friend class StepData_FreeFormEntity; -friend class StepData_Protocol; -friend class StepData_GeneralModule; -friend class StepData_FileRecognizer; -friend class StepData_FileProtocol; -friend class StepData_HeaderTool; -friend class StepData_EnumTool; -friend class StepData_DescrProtocol; -friend class StepData_DescrGeneral; -friend class StepData_DescrReadWrite; -friend class StepData_StepReaderData; -friend class StepData_StepReaderTool; -friend class StepData_ReadWriteModule; -friend class StepData_StepWriter; -friend class StepData_StepDumper; -friend class StepData_WriterLib; -friend class StepData_DefaultGeneral; -friend class StepData_GlobalNodeOfWriterLib; -friend class StepData_NodeOfWriterLib; - }; - - - - - - #endif // _StepData_HeaderFile diff --git a/src/StepToTopoDS/StepToTopoDS.hxx b/src/StepToTopoDS/StepToTopoDS.hxx index 4aae8313de..043a53d18b 100644 --- a/src/StepToTopoDS/StepToTopoDS.hxx +++ b/src/StepToTopoDS/StepToTopoDS.hxx @@ -59,45 +59,6 @@ public: Standard_EXPORT static Standard_CString DecodeGeometricToolError (const StepToTopoDS_GeometricToolError Error); - - - -protected: - - - - - -private: - - - - -friend class StepToTopoDS_Root; -friend class StepToTopoDS_TranslateShell; -friend class StepToTopoDS_TranslateFace; -friend class StepToTopoDS_TranslateEdgeLoop; -friend class StepToTopoDS_TranslateEdge; -friend class StepToTopoDS_TranslateVertex; -friend class StepToTopoDS_TranslatePolyLoop; -friend class StepToTopoDS_TranslateVertexLoop; -friend class StepToTopoDS_TranslateCompositeCurve; -friend class StepToTopoDS_TranslateCurveBoundedSurface; -friend class StepToTopoDS_Builder; -friend class StepToTopoDS_MakeTransformed; -friend class StepToTopoDS_GeometricTool; -friend class StepToTopoDS_Tool; -friend class StepToTopoDS_CartesianPointHasher; -friend class StepToTopoDS_PointPair; -friend class StepToTopoDS_PointPairHasher; -friend class StepToTopoDS_NMTool; - }; - - - - - - #endif // _StepToTopoDS_HeaderFile diff --git a/src/Storage/Storage.cxx b/src/Storage/Storage.cxx index ba0f2d2892..9977c8dbb3 100644 --- a/src/Storage/Storage.cxx +++ b/src/Storage/Storage.cxx @@ -12,13 +12,13 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -#include #include +#include + TCollection_AsciiString Storage::Version() { TCollection_AsciiString v("1.3"); return v; } - diff --git a/src/Storage/Storage.hxx b/src/Storage/Storage.hxx index 638d1a0964..e649f214d6 100644 --- a/src/Storage/Storage.hxx +++ b/src/Storage/Storage.hxx @@ -53,39 +53,6 @@ public: //! returns the version of Storage's read/write routines Standard_EXPORT static TCollection_AsciiString Version(); - - - -protected: - - - - - -private: - - - - -friend class Storage_BaseDriver; -friend class Storage_CallBack; -friend class Storage_DefaultCallBack; -friend class Storage_HeaderData; -friend class Storage_Data; -friend class Storage_TypeData; -friend class Storage_RootData; -friend class Storage_Root; -friend class Storage_Schema; -friend class Storage_InternalData; -friend class Storage_stCONSTclCOM; -friend class Storage_TypedCallBack; - }; - - - - - - #endif // _Storage_HeaderFile diff --git a/src/TDF/TDF.cxx b/src/TDF/TDF.cxx index b6a183a0cf..c4a418c278 100644 --- a/src/TDF/TDF.cxx +++ b/src/TDF/TDF.cxx @@ -13,14 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// ------- -// Version: 0.0 -//Version Date Purpose -// 0.0 Nov 14 1997 Creation +#include #include #include -#include #include static TDF_GUIDProgIDMap guidprogidmap; diff --git a/src/TDF/TDF.hxx b/src/TDF/TDF.hxx index c9bc52c274..3c67e457d4 100644 --- a/src/TDF/TDF.hxx +++ b/src/TDF/TDF.hxx @@ -58,54 +58,6 @@ public: //! Returns True if there is ProgID for given then ProgID is returned in Standard_EXPORT static Standard_Boolean ProgIDFromGUID (const Standard_GUID& ID, TCollection_ExtendedString& ProgID); - - - -protected: - - - - - -private: - - - - -friend class TDF_Data; -friend class TDF_Label; -friend class TDF_Attribute; -friend class TDF_TagSource; -friend class TDF_Reference; -friend class TDF_ClosureMode; -friend class TDF_ClosureTool; -friend class TDF_CopyTool; -friend class TDF_CopyLabel; -friend class TDF_ComparisonTool; -friend class TDF_Transaction; -friend class TDF_Delta; -friend class TDF_AttributeDelta; -friend class TDF_DeltaOnAddition; -friend class TDF_DeltaOnForget; -friend class TDF_DeltaOnResume; -friend class TDF_DeltaOnRemoval; -friend class TDF_DeltaOnModification; -friend class TDF_DefaultDeltaOnRemoval; -friend class TDF_DefaultDeltaOnModification; -friend class TDF_ChildIterator; -friend class TDF_ChildIDIterator; -friend class TDF_DataSet; -friend class TDF_RelocationTable; -friend class TDF_Tool; -friend class TDF_LabelMapHasher; -friend class TDF_IDFilter; - }; - - - - - - #endif // _TDF_HeaderFile diff --git a/src/TDataStd/TDataStd.hxx b/src/TDataStd/TDataStd.hxx index c501edfb7f..1c0b0e9f5d 100644 --- a/src/TDataStd/TDataStd.hxx +++ b/src/TDataStd/TDataStd.hxx @@ -60,66 +60,6 @@ public: //! the Stream and returns . Standard_EXPORT static Standard_OStream& Print (const TDataStd_RealEnum DIM, Standard_OStream& S); - - - -protected: - - - - - -private: - - - - -friend class TDataStd_Current; -friend class TDataStd_Name; -friend class TDataStd_Comment; -friend class TDataStd_Integer; -friend class TDataStd_IntegerArray; -friend class TDataStd_Real; -friend class TDataStd_RealArray; -friend class TDataStd_ExtStringArray; -friend class TDataStd_UAttribute; -friend class TDataStd_TreeNode; -friend class TDataStd_ChildNodeIterator; -friend class TDataStd_Directory; -friend class TDataStd_NoteBook; -friend class TDataStd_Expression; -friend class TDataStd_Relation; -friend class TDataStd_Variable; -friend class TDataStd_DeltaOnModificationOfIntArray; -friend class TDataStd_DeltaOnModificationOfRealArray; -friend class TDataStd_DeltaOnModificationOfExtStringArray; -friend class TDataStd_DeltaOnModificationOfIntPackedMap; -friend class TDataStd_DeltaOnModificationOfByteArray; -friend class TDataStd_Tick; -friend class TDataStd_AsciiString; -friend class TDataStd_IntPackedMap; -friend class TDataStd_IntegerList; -friend class TDataStd_RealList; -friend class TDataStd_ExtStringList; -friend class TDataStd_BooleanList; -friend class TDataStd_ReferenceList; -friend class TDataStd_BooleanArray; -friend class TDataStd_ReferenceArray; -friend class TDataStd_ByteArray; -friend class TDataStd_NamedData; -friend class TDataStd_HDataMapOfStringInteger; -friend class TDataStd_HDataMapOfStringReal; -friend class TDataStd_HDataMapOfStringString; -friend class TDataStd_HDataMapOfStringByte; -friend class TDataStd_HDataMapOfStringHArray1OfInteger; -friend class TDataStd_HDataMapOfStringHArray1OfReal; - }; - - - - - - #endif // _TDataStd_HeaderFile diff --git a/src/TDocStd/TDocStd.hxx b/src/TDocStd/TDocStd.hxx index f7c7ac7b27..4febc7c68b 100644 --- a/src/TDocStd/TDocStd.hxx +++ b/src/TDocStd/TDocStd.hxx @@ -68,40 +68,6 @@ public: //! cleared before use. Standard_EXPORT static void IDList (TDF_IDList& anIDList); - - - -protected: - - - - - -private: - - - - -friend class TDocStd_Application; -friend class TDocStd_Document; -friend class TDocStd_Context; -friend class TDocStd_XLink; -friend class TDocStd_XLinkIterator; -friend class TDocStd_XLinkTool; -friend class TDocStd_Owner; -friend class TDocStd_Modified; -friend class TDocStd_XLinkRoot; -friend class TDocStd_PathParser; -friend class TDocStd_CompoundDelta; -friend class TDocStd_ApplicationDelta; -friend class TDocStd_MultiTransactionManager; - }; - - - - - - #endif // _TDocStd_HeaderFile diff --git a/src/TNaming/TNaming.cxx b/src/TNaming/TNaming.cxx index 98d607b271..3e9bd279dc 100644 --- a/src/TNaming/TNaming.cxx +++ b/src/TNaming/TNaming.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -24,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/TNaming/TNaming.hxx b/src/TNaming/TNaming.hxx index 91f709a26b..d63f3544ba 100644 --- a/src/TNaming/TNaming.hxx +++ b/src/TNaming/TNaming.hxx @@ -180,50 +180,6 @@ public: //! the Stream and returns . Standard_EXPORT static Standard_OStream& Print (const TDF_Label& ACCESS, Standard_OStream& S); - - - -protected: - - - - - -private: - - - - -friend class TNaming_CopyShape; -friend class TNaming_TranslateTool; -friend class TNaming_Translator; -friend class TNaming_NamedShape; -friend class TNaming_UsedShapes; -friend class TNaming_Builder; -friend class TNaming_Tool; -friend class TNaming_Iterator; -friend class TNaming_NewShapeIterator; -friend class TNaming_OldShapeIterator; -friend class TNaming_SameShapeIterator; -friend class TNaming_Name; -friend class TNaming_Naming; -friend class TNaming_Selector; -friend class TNaming_DeltaOnRemoval; -friend class TNaming_DeltaOnModification; -friend class TNaming_RefShape; -friend class TNaming_Scope; -friend class TNaming_Identifier; -friend class TNaming_Localizer; -friend class TNaming_ShapesSet; -friend class TNaming_IteratorOnShapesSet; -friend class TNaming_NamingTool; - }; - - - - - - #endif // _TNaming_HeaderFile diff --git a/src/TopExp/TopExp.hxx b/src/TopExp/TopExp.hxx index b33b8b2d8b..bc3b734b9e 100644 --- a/src/TopExp/TopExp.hxx +++ b/src/TopExp/TopExp.hxx @@ -119,28 +119,6 @@ public: //! Warning: has sense only if the value is returned Standard_EXPORT static Standard_Boolean CommonVertex (const TopoDS_Edge& E1, const TopoDS_Edge& E2, TopoDS_Vertex& V); - - - -protected: - - - - - -private: - - - - -friend class TopExp_Explorer; - }; - - - - - - #endif // _TopExp_HeaderFile diff --git a/src/TopOpeBRep/TopOpeBRep.hxx b/src/TopOpeBRep/TopOpeBRep.hxx index 4a64bf6f7b..a4b04a2801 100644 --- a/src/TopOpeBRep/TopOpeBRep.hxx +++ b/src/TopOpeBRep/TopOpeBRep.hxx @@ -38,52 +38,6 @@ public: //! Stream and returns . Standard_EXPORT static Standard_OStream& Print (const TopOpeBRep_TypeLineCurve TLC, Standard_OStream& OS); - - - -protected: - - - - - -private: - - - - -friend class TopOpeBRep_VPointInter; -friend class TopOpeBRep_VPointInterIterator; -friend class TopOpeBRep_WPointInter; -friend class TopOpeBRep_WPointInterIterator; -friend class TopOpeBRep_LineInter; -friend class TopOpeBRep_Hctxff2d; -friend class TopOpeBRep_Hctxee2d; -friend class TopOpeBRep_Point2d; -friend class TopOpeBRep_PointClassifier; -friend class TopOpeBRep_VPointInterClassifier; -friend class TopOpeBRep_GeomTool; -friend class TopOpeBRep_FacesIntersector; -friend class TopOpeBRep_EdgesIntersector; -friend class TopOpeBRep_FaceEdgeIntersector; -friend class TopOpeBRep_ShapeScanner; -friend class TopOpeBRep_ShapeIntersector; -friend class TopOpeBRep_ShapeIntersector2d; -friend class TopOpeBRep_PointGeomTool; -friend class TopOpeBRep_FFTransitionTool; -friend class TopOpeBRep_Bipoint; -friend class TopOpeBRep_FacesFiller; -friend class TopOpeBRep_FFDumper; -friend class TopOpeBRep_EdgesFiller; -friend class TopOpeBRep_FaceEdgeFiller; -friend class TopOpeBRep_DSFiller; - }; - - - - - - #endif // _TopOpeBRep_HeaderFile diff --git a/src/TopOpeBRepBuild/FILES b/src/TopOpeBRepBuild/FILES index 85337b9b10..69e12e5e52 100755 --- a/src/TopOpeBRepBuild/FILES +++ b/src/TopOpeBRepBuild/FILES @@ -1,4 +1,3 @@ -TopOpeBRepBuild.cxx TopOpeBRepBuild_Area1dBuilder.cxx TopOpeBRepBuild_Area1dBuilder.hxx TopOpeBRepBuild_Area2dBuilder.cxx diff --git a/src/TopOpeBRepBuild/TopOpeBRepBuild.cxx b/src/TopOpeBRepBuild/TopOpeBRepBuild.cxx deleted file mode 100644 index 5750d7ec44..0000000000 --- a/src/TopOpeBRepBuild/TopOpeBRepBuild.cxx +++ /dev/null @@ -1,15 +0,0 @@ -// Created on: 1995-01-06 -// Created by: Jean Yves LEBEY -// Copyright (c) 1995-1999 Matra Datavision -// Copyright (c) 1999-2014 OPEN CASCADE SAS -// -// This file is part of Open CASCADE Technology software library. -// -// This library is free software; you can redistribute it and/or modify it under -// the terms of the GNU Lesser General Public License version 2.1 as published -// by the Free Software Foundation, with special exception defined in the file -// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -// distribution for complete text of the license and disclaimer of any warranty. -// -// Alternatively, this file may be used under the terms of Open CASCADE -// commercial license or contractual agreement. diff --git a/src/TopOpeBRepDS/TopOpeBRepDS.cxx b/src/TopOpeBRepDS/TopOpeBRepDS.cxx index d4b6a7d0c0..538f786f1c 100644 --- a/src/TopOpeBRepDS/TopOpeBRepDS.cxx +++ b/src/TopOpeBRepDS/TopOpeBRepDS.cxx @@ -14,10 +14,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include //======================================================================= diff --git a/src/TopOpeBRepDS/TopOpeBRepDS.hxx b/src/TopOpeBRepDS/TopOpeBRepDS.hxx index c86171a76e..5af2f91bb9 100644 --- a/src/TopOpeBRepDS/TopOpeBRepDS.hxx +++ b/src/TopOpeBRepDS/TopOpeBRepDS.hxx @@ -79,73 +79,6 @@ public: Standard_EXPORT static TopOpeBRepDS_Kind ShapeToKind (const TopAbs_ShapeEnum S); - - - -protected: - - - - - -private: - - - - -friend class TopOpeBRepDS_Interference; -friend class TopOpeBRepDS_InterferenceIterator; -friend class TopOpeBRepDS_TKI; -friend class TopOpeBRepDS_Transition; -friend class TopOpeBRepDS_CurvePointInterference; -friend class TopOpeBRepDS_SurfaceCurveInterference; -friend class TopOpeBRepDS_SolidSurfaceInterference; -friend class TopOpeBRepDS_ShapeShapeInterference; -friend class TopOpeBRepDS_EdgeVertexInterference; -friend class TopOpeBRepDS_FaceEdgeInterference; -friend class TopOpeBRepDS_Surface; -friend class TopOpeBRepDS_Curve; -friend class TopOpeBRepDS_Point; -friend class TopOpeBRepDS_GeometryData; -friend class TopOpeBRepDS_SurfaceData; -friend class TopOpeBRepDS_CurveData; -friend class TopOpeBRepDS_PointData; -friend class TopOpeBRepDS_ShapeData; -friend class TopOpeBRepDS_DSS; -friend class TopOpeBRepDS_DataStructure; -friend class TopOpeBRepDS_SurfaceIterator; -friend class TopOpeBRepDS_CurveIterator; -friend class TopOpeBRepDS_PointIterator; -friend class TopOpeBRepDS_SurfaceExplorer; -friend class TopOpeBRepDS_CurveExplorer; -friend class TopOpeBRepDS_PointExplorer; -friend class TopOpeBRepDS_InterferenceTool; -friend class TopOpeBRepDS_BuildTool; -friend class TopOpeBRepDS_Dumper; -friend class TopOpeBRepDS_Marker; -friend class TopOpeBRepDS_HDataStructure; -friend class TopOpeBRepDS_EdgeInterferenceTool; -friend class TopOpeBRepDS_Edge3dInterferenceTool; -friend class TopOpeBRepDS_FaceInterferenceTool; -friend class TopOpeBRepDS_Filter; -friend class TopOpeBRepDS_Reducer; -friend class TopOpeBRepDS_TOOL; -friend class TopOpeBRepDS_FIR; -friend class TopOpeBRepDS_EIR; -friend class TopOpeBRepDS_Check; -friend class TopOpeBRepDS_GapFiller; -friend class TopOpeBRepDS_GapTool; -friend class TopOpeBRepDS_Association; -friend class TopOpeBRepDS_ListOfShapeOn1State; -friend class TopOpeBRepDS_Explorer; -friend class TopOpeBRepDS_ShapeWithState; - }; - - - - - - #endif // _TopOpeBRepDS_HeaderFile diff --git a/src/TopOpeBRepTool/TopOpeBRepTool.hxx b/src/TopOpeBRepTool/TopOpeBRepTool.hxx index 04f3d7da60..912ac17f8c 100644 --- a/src/TopOpeBRepTool/TopOpeBRepTool.hxx +++ b/src/TopOpeBRepTool/TopOpeBRepTool.hxx @@ -92,48 +92,6 @@ public: //! Prints as string on stream ; returns . Standard_EXPORT static Standard_OStream& Print (const TopOpeBRepTool_OutCurveType OCT, Standard_OStream& S); - - - -protected: - - - - - -private: - - - - -friend class TopOpeBRepTool_GeomTool; -friend class TopOpeBRepTool_AncestorsTool; -friend class TopOpeBRepTool_C2DF; -friend class TopOpeBRepTool_SolidClassifier; -friend class TopOpeBRepTool_CurveTool; -friend class TopOpeBRepTool_HBoxTool; -friend class TopOpeBRepTool_BoxSort; -friend class TopOpeBRepTool_ShapeExplorer; -friend class TopOpeBRepTool_ShapeTool; -friend class TopOpeBRepTool_ShapeClassifier; -friend class TopOpeBRepTool_connexity; -friend class TopOpeBRepTool_face; -friend class TopOpeBRepTool_CLASSI; -friend class TopOpeBRepTool_TOOL; -friend class TopOpeBRepTool_CORRISO; -friend class TopOpeBRepTool_REGUW; -friend class TopOpeBRepTool_REGUS; -friend class TopOpeBRepTool_makeTransition; -friend class TopOpeBRepTool_mkTondgE; -friend class TopOpeBRepTool_PurgeInternalEdges; -friend class TopOpeBRepTool_FuseEdges; - }; - - - - - - #endif // _TopOpeBRepTool_HeaderFile diff --git a/src/TopTools/TopTools.cxx b/src/TopTools/TopTools.cxx index d7720f4d1e..3eee8c55f3 100644 --- a/src/TopTools/TopTools.cxx +++ b/src/TopTools/TopTools.cxx @@ -14,9 +14,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include //======================================================================= diff --git a/src/TopTools/TopTools.hxx b/src/TopTools/TopTools.hxx index 2374518da8..89aea81ed5 100644 --- a/src/TopTools/TopTools.hxx +++ b/src/TopTools/TopTools.hxx @@ -84,31 +84,6 @@ public: //! position. Standard_EXPORT static void Dummy (const Standard_Integer I); - - - -protected: - - - - - -private: - - - - -friend class TopTools_ShapeMapHasher; -friend class TopTools_OrientedShapeMapHasher; -friend class TopTools_LocationSet; -friend class TopTools_ShapeSet; - }; - - - - - - #endif // _TopTools_HeaderFile diff --git a/src/TopoDS/TopoDS.hxx b/src/TopoDS/TopoDS.hxx index 988f82aaac..eccbb08a69 100644 --- a/src/TopoDS/TopoDS.hxx +++ b/src/TopoDS/TopoDS.hxx @@ -114,49 +114,8 @@ inline static TopoDS_CompSolid& CompSolid(TopoDS_Shape&); static const TopoDS_Compound& Compound (const TopoDS_Shape& S); inline static TopoDS_Compound& Compound(TopoDS_Shape&); - - - -protected: - - - - - -private: - - - - -friend class TopoDS_Shape; -friend class TopoDS_HShape; -friend class TopoDS_TShape; -friend class TopoDS_TVertex; -friend class TopoDS_Vertex; -friend class TopoDS_TEdge; -friend class TopoDS_Edge; -friend class TopoDS_TWire; -friend class TopoDS_Wire; -friend class TopoDS_TFace; -friend class TopoDS_Face; -friend class TopoDS_TShell; -friend class TopoDS_Shell; -friend class TopoDS_TSolid; -friend class TopoDS_Solid; -friend class TopoDS_TCompSolid; -friend class TopoDS_CompSolid; -friend class TopoDS_TCompound; -friend class TopoDS_Compound; -friend class TopoDS_Builder; -friend class TopoDS_Iterator; - }; - #include - - - - #endif // _TopoDS_HeaderFile diff --git a/src/TopoDSToStep/TopoDSToStep.cxx b/src/TopoDSToStep/TopoDSToStep.cxx index f10eded06d..f38ea4fd32 100644 --- a/src/TopoDSToStep/TopoDSToStep.cxx +++ b/src/TopoDSToStep/TopoDSToStep.cxx @@ -14,6 +14,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -28,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/src/TopoDSToStep/TopoDSToStep.hxx b/src/TopoDSToStep/TopoDSToStep.hxx index 4dba01af05..4c2ca50f81 100644 --- a/src/TopoDSToStep/TopoDSToStep.hxx +++ b/src/TopoDSToStep/TopoDSToStep.hxx @@ -73,42 +73,6 @@ public: //! (binders) stored in FinderProcess Standard_EXPORT static void AddResult (const Handle(Transfer_FinderProcess)& FP, const TopoDSToStep_Tool& Tool); - - - -protected: - - - - - -private: - - - - -friend class TopoDSToStep_Root; -friend class TopoDSToStep_MakeManifoldSolidBrep; -friend class TopoDSToStep_MakeBrepWithVoids; -friend class TopoDSToStep_MakeFacetedBrep; -friend class TopoDSToStep_MakeFacetedBrepAndBrepWithVoids; -friend class TopoDSToStep_MakeShellBasedSurfaceModel; -friend class TopoDSToStep_MakeGeometricCurveSet; -friend class TopoDSToStep_Builder; -friend class TopoDSToStep_WireframeBuilder; -friend class TopoDSToStep_Tool; -friend class TopoDSToStep_FacetedTool; -friend class TopoDSToStep_MakeStepFace; -friend class TopoDSToStep_MakeStepWire; -friend class TopoDSToStep_MakeStepEdge; -friend class TopoDSToStep_MakeStepVertex; - }; - - - - - - #endif // _TopoDSToStep_HeaderFile diff --git a/src/TransferBRep/TransferBRep.cxx b/src/TransferBRep/TransferBRep.cxx index 057ca42f2a..d1663423ae 100644 --- a/src/TransferBRep/TransferBRep.cxx +++ b/src/TransferBRep/TransferBRep.cxx @@ -11,6 +11,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -34,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/src/TransferBRep/TransferBRep.hxx b/src/TransferBRep/TransferBRep.hxx index 44ea2417ab..8e86f29be9 100644 --- a/src/TransferBRep/TransferBRep.hxx +++ b/src/TransferBRep/TransferBRep.hxx @@ -153,35 +153,6 @@ public: //! considered Standard_EXPORT static Interface_CheckIterator CheckObject (const Interface_CheckIterator& chl, const Handle(Standard_Transient)& obj); - - - -protected: - - - - - -private: - - - - -friend class TransferBRep_Reader; -friend class TransferBRep_ShapeInfo; -friend class TransferBRep_BinderOfShape; -friend class TransferBRep_ShapeBinder; -friend class TransferBRep_ShapeListBinder; -friend class TransferBRep_ShapeMapper; -friend class TransferBRep_OrientedShapeMapper; -friend class TransferBRep_TransferResultInfo; - }; - - - - - - #endif // _TransferBRep_HeaderFile diff --git a/src/Units/Units.cxx b/src/Units/Units.cxx index b8081560c3..802121ffe0 100644 --- a/src/Units/Units.cxx +++ b/src/Units/Units.cxx @@ -14,16 +14,8 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// Modified Wed Apr 2 14:10:05 1997 by Gerard GRAS -// Add FirstQuantity access methods -// Modified Mon Apr 7 16:52:40 1997 by Patrick BOSINCO -// Add Dimensions access methods - -// Convertir correctement les unites translatees - -#include - #include + #include #include #include @@ -38,6 +30,8 @@ #include #include +#include + static Handle(Units_Dimensions) nulldimensions; static Handle(Units_UnitsLexicon) lexiconunits; static Handle(Units_Lexicon) lexiconformula; diff --git a/src/Units/Units.hxx b/src/Units/Units.hxx index 4a9ab0427e..f48c3f5fa9 100644 --- a/src/Units/Units.hxx +++ b/src/Units/Units.hxx @@ -87,42 +87,6 @@ public: //! return the dimension associated to the Type Standard_EXPORT static Handle(Units_Dimensions) Dimensions (const Standard_CString aType); - - - -protected: - - - - - -private: - - - - -friend class Units_Dimensions; -friend class Units_Unit; -friend class Units_ShiftedUnit; -friend class Units_Token; -friend class Units_ShiftedToken; -friend class Units_Quantity; -friend class Units_UnitsDictionary; -friend class Units_UnitsSystem; -friend class Units_Explorer; -friend class Units_Sentence; -friend class Units_MathSentence; -friend class Units_UnitSentence; -friend class Units_Lexicon; -friend class Units_UnitsLexicon; -friend class Units_Measurement; - }; - - - - - - #endif // _Units_HeaderFile diff --git a/src/Vrml/Vrml.cxx b/src/Vrml/Vrml.cxx index 77a357f29b..0eceaba0c3 100644 --- a/src/Vrml/Vrml.cxx +++ b/src/Vrml/Vrml.cxx @@ -11,10 +11,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include Standard_OStream& Vrml::VrmlHeaderWriter(Standard_OStream& anOStream) { diff --git a/src/Vrml/Vrml.hxx b/src/Vrml/Vrml.hxx index e3a7994a5f..eb9694ac2f 100644 --- a/src/Vrml/Vrml.hxx +++ b/src/Vrml/Vrml.hxx @@ -47,66 +47,6 @@ public: Standard_EXPORT static Standard_OStream& CommentWriter (const Standard_CString aComment, Standard_OStream& anOStream); - - - -protected: - - - - - -private: - - - - -friend class Vrml_SFImage; -friend class Vrml_SFRotation; -friend class Vrml_AsciiText; -friend class Vrml_Cone; -friend class Vrml_Cube; -friend class Vrml_Cylinder; -friend class Vrml_IndexedFaceSet; -friend class Vrml_IndexedLineSet; -friend class Vrml_PointSet; -friend class Vrml_Sphere; -friend class Vrml_Coordinate3; -friend class Vrml_FontStyle; -friend class Vrml_Info; -friend class Vrml_LOD; -friend class Vrml_Material; -friend class Vrml_MaterialBinding; -friend class Vrml_Normal; -friend class Vrml_NormalBinding; -friend class Vrml_Texture2; -friend class Vrml_Texture2Transform; -friend class Vrml_TextureCoordinate2; -friend class Vrml_ShapeHints; -friend class Vrml_MatrixTransform; -friend class Vrml_Rotation; -friend class Vrml_Scale; -friend class Vrml_Transform; -friend class Vrml_Translation; -friend class Vrml_OrthographicCamera; -friend class Vrml_PerspectiveCamera; -friend class Vrml_DirectionalLight; -friend class Vrml_PointLight; -friend class Vrml_SpotLight; -friend class Vrml_Group; -friend class Vrml_Separator; -friend class Vrml_Switch; -friend class Vrml_TransformSeparator; -friend class Vrml_WWWAnchor; -friend class Vrml_WWWInline; -friend class Vrml_Instancing; - }; - - - - - - #endif // _Vrml_HeaderFile diff --git a/src/VrmlAPI/VrmlAPI.cxx b/src/VrmlAPI/VrmlAPI.cxx index 03f378f461..895ac4f3df 100644 --- a/src/VrmlAPI/VrmlAPI.cxx +++ b/src/VrmlAPI/VrmlAPI.cxx @@ -13,9 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include Standard_Boolean VrmlAPI::Write(const TopoDS_Shape& aShape, const Standard_CString aFileName, const Standard_Integer aVersion) { diff --git a/src/VrmlAPI/VrmlAPI.hxx b/src/VrmlAPI/VrmlAPI.hxx index ee977716b6..ccc78523a6 100644 --- a/src/VrmlAPI/VrmlAPI.hxx +++ b/src/VrmlAPI/VrmlAPI.hxx @@ -38,28 +38,6 @@ public: //! to the file identified by aFileName using default parameters. Standard_EXPORT static Standard_Boolean Write (const TopoDS_Shape& aShape, const Standard_CString aFileName, const Standard_Integer aVersion = 2); - - - -protected: - - - - - -private: - - - - -friend class VrmlAPI_Writer; - }; - - - - - - #endif // _VrmlAPI_HeaderFile diff --git a/src/XCAFPrs/XCAFPrs.hxx b/src/XCAFPrs/XCAFPrs.hxx index b416fa2381..2116f2ad69 100644 --- a/src/XCAFPrs/XCAFPrs.hxx +++ b/src/XCAFPrs/XCAFPrs.hxx @@ -47,29 +47,6 @@ public: Standard_EXPORT static Standard_Boolean GetViewNameMode(); - - - -protected: - - - - - -private: - - - - -friend class XCAFPrs_Driver; -friend class XCAFPrs_Style; - }; - - - - - - #endif // _XCAFPrs_HeaderFile diff --git a/src/XDEDRAW/XDEDRAW.cxx b/src/XDEDRAW/XDEDRAW.cxx index 270b07483b..bb35bd39b5 100644 --- a/src/XDEDRAW/XDEDRAW.cxx +++ b/src/XDEDRAW/XDEDRAW.cxx @@ -13,6 +13,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -94,7 +95,6 @@ #include #include #include -#include #include #include #include diff --git a/src/XDEDRAW/XDEDRAW.hxx b/src/XDEDRAW/XDEDRAW.hxx index 0eb76f7ec4..c26574fd5c 100644 --- a/src/XDEDRAW/XDEDRAW.hxx +++ b/src/XDEDRAW/XDEDRAW.hxx @@ -38,32 +38,6 @@ public: //! Loads all Draw commands of TKXDEDRAW. Used for plugin. Standard_EXPORT static void Factory (Draw_Interpretor& theDI); - - - -protected: - - - - - -private: - - - - -friend class XDEDRAW_Shapes; -friend class XDEDRAW_Colors; -friend class XDEDRAW_Layers; -friend class XDEDRAW_Props; -friend class XDEDRAW_Common; - }; - - - - - - #endif // _XDEDRAW_HeaderFile diff --git a/src/XSAlgo/XSAlgo.cxx b/src/XSAlgo/XSAlgo.cxx index a1c20cebec..8515b50075 100644 --- a/src/XSAlgo/XSAlgo.cxx +++ b/src/XSAlgo/XSAlgo.cxx @@ -13,11 +13,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include -#include #include static Handle(XSAlgo_AlgoContainer) theContainer; diff --git a/src/XSAlgo/XSAlgo.hxx b/src/XSAlgo/XSAlgo.hxx index ea29c2db24..382f31f83b 100644 --- a/src/XSAlgo/XSAlgo.hxx +++ b/src/XSAlgo/XSAlgo.hxx @@ -42,29 +42,6 @@ public: //! Returns default AlgoContainer Standard_EXPORT static Handle(XSAlgo_AlgoContainer) AlgoContainer(); - - - -protected: - - - - - -private: - - - - -friend class XSAlgo_ToolContainer; -friend class XSAlgo_AlgoContainer; - }; - - - - - - #endif // _XSAlgo_HeaderFile diff --git a/src/XSControl/XSControl.cxx b/src/XSControl/XSControl.cxx index 62dc96cb98..7b74aedce8 100644 --- a/src/XSControl/XSControl.cxx +++ b/src/XSControl/XSControl.cxx @@ -11,9 +11,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include -#include #include #include diff --git a/src/XSControl/XSControl.hxx b/src/XSControl/XSControl.hxx index 67df55c8b8..dcb9b5d553 100644 --- a/src/XSControl/XSControl.hxx +++ b/src/XSControl/XSControl.hxx @@ -43,40 +43,6 @@ public: //! it provides access to external variables Standard_EXPORT static Handle(XSControl_Vars) Vars (const Handle(IFSelect_SessionPilot)& pilot); - - - -protected: - - - - - -private: - - - - -friend class XSControl_Controller; -friend class XSControl_TransferReader; -friend class XSControl_TransferWriter; -friend class XSControl_WorkSession; -friend class XSControl_SelectForTransfer; -friend class XSControl_SignTransferStatus; -friend class XSControl_ConnectedShapes; -friend class XSControl_Reader; -friend class XSControl_Writer; -friend class XSControl_Functions; -friend class XSControl_FuncShape; -friend class XSControl_Utils; -friend class XSControl_Vars; - }; - - - - - - #endif // _XSControl_HeaderFile diff --git a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx index e1e85d3151..e3d28131c8 100644 --- a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx +++ b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx @@ -13,6 +13,7 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include @@ -79,7 +80,6 @@ #include #include #include -#include #include #include #include diff --git a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.hxx b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.hxx index 21388296fc..f7fd4dd7cd 100644 --- a/src/XSDRAWSTLVRML/XSDRAWSTLVRML.hxx +++ b/src/XSDRAWSTLVRML/XSDRAWSTLVRML.hxx @@ -30,37 +30,12 @@ public: DEFINE_STANDARD_ALLOC - //! Inits commands for writing to STL and VRML formats Standard_EXPORT static void InitCommands (Draw_Interpretor& theCommands); //! Loads all Draw commands of TKXSDRAW. Used for plugin. Standard_EXPORT static void Factory (Draw_Interpretor& theDI); - - - -protected: - - - - - -private: - - - - -friend class XSDRAWSTLVRML_DataSource; -friend class XSDRAWSTLVRML_DataSource3D; -friend class XSDRAWSTLVRML_DrawableMesh; - }; - - - - - - #endif // _XSDRAWSTLVRML_HeaderFile diff --git a/src/XmlMDataStd/XmlMDataStd.cxx b/src/XmlMDataStd/XmlMDataStd.cxx index 95d1b81c1d..7eda683add 100644 --- a/src/XmlMDataStd/XmlMDataStd.cxx +++ b/src/XmlMDataStd/XmlMDataStd.cxx @@ -13,10 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// modified 20.04.2009 Sergey Zaritchny +#include #include -#include #include #include #include diff --git a/src/XmlMDataStd/XmlMDataStd.hxx b/src/XmlMDataStd/XmlMDataStd.hxx index 5ce3539d4f..7740548871 100644 --- a/src/XmlMDataStd/XmlMDataStd.hxx +++ b/src/XmlMDataStd/XmlMDataStd.hxx @@ -31,52 +31,9 @@ public: DEFINE_STANDARD_ALLOC - //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(XmlMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& anMsgDrv); - -protected: - - - - - -private: - - - - -friend class XmlMDataStd_GenericExtStringDriver; -friend class XmlMDataStd_IntegerDriver; -friend class XmlMDataStd_RealDriver; -friend class XmlMDataStd_IntegerArrayDriver; -friend class XmlMDataStd_RealArrayDriver; -friend class XmlMDataStd_ExtStringArrayDriver; -friend class XmlMDataStd_UAttributeDriver; -friend class XmlMDataStd_VariableDriver; -friend class XmlMDataStd_ExpressionDriver; -friend class XmlMDataStd_RelationDriver; -friend class XmlMDataStd_TreeNodeDriver; -friend class XmlMDataStd_GenericEmptyDriver; -friend class XmlMDataStd_IntegerListDriver; -friend class XmlMDataStd_RealListDriver; -friend class XmlMDataStd_ExtStringListDriver; -friend class XmlMDataStd_BooleanListDriver; -friend class XmlMDataStd_ReferenceListDriver; -friend class XmlMDataStd_BooleanArrayDriver; -friend class XmlMDataStd_ReferenceArrayDriver; -friend class XmlMDataStd_ByteArrayDriver; -friend class XmlMDataStd_NamedDataDriver; -friend class XmlMDataStd_AsciiStringDriver; -friend class XmlMDataStd_IntPackedMapDriver; - }; - - - - - - #endif // _XmlMDataStd_HeaderFile diff --git a/src/XmlMDataXtd/XmlMDataXtd.cxx b/src/XmlMDataXtd/XmlMDataXtd.cxx index 9a63cbc18f..be331a0dc5 100644 --- a/src/XmlMDataXtd/XmlMDataXtd.cxx +++ b/src/XmlMDataXtd/XmlMDataXtd.cxx @@ -13,10 +13,9 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -// modified 20.04.2009 Sergey Zaritchny +#include #include -#include #include #include #include diff --git a/src/XmlMDataXtd/XmlMDataXtd.hxx b/src/XmlMDataXtd/XmlMDataXtd.hxx index 2c6b3a7128..4e7c3c8ed8 100644 --- a/src/XmlMDataXtd/XmlMDataXtd.hxx +++ b/src/XmlMDataXtd/XmlMDataXtd.hxx @@ -38,31 +38,6 @@ public: Standard_EXPORT static Standard_Integer DocumentVersion(); - - - -protected: - - - - - -private: - - - - -friend class XmlMDataXtd_GeometryDriver; -friend class XmlMDataXtd_ConstraintDriver; -friend class XmlMDataXtd_PatternStdDriver; -friend class XmlMDataXtd_TriangulationDriver; - }; - - - - - - #endif // _XmlMDataXtd_HeaderFile diff --git a/src/XmlMDocStd/XmlMDocStd.cxx b/src/XmlMDocStd/XmlMDocStd.cxx index 7fa7bd085e..3827fe22cb 100644 --- a/src/XmlMDocStd/XmlMDocStd.cxx +++ b/src/XmlMDocStd/XmlMDocStd.cxx @@ -13,10 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include //======================================================================= diff --git a/src/XmlMDocStd/XmlMDocStd.hxx b/src/XmlMDocStd/XmlMDocStd.hxx index 46eb4a0575..bbf5f038cd 100644 --- a/src/XmlMDocStd/XmlMDocStd.hxx +++ b/src/XmlMDocStd/XmlMDocStd.hxx @@ -35,28 +35,6 @@ public: //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(XmlMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& theMessageDriver); - - - -protected: - - - - - -private: - - - - -friend class XmlMDocStd_XLinkDriver; - }; - - - - - - #endif // _XmlMDocStd_HeaderFile diff --git a/src/XmlMFunction/XmlMFunction.cxx b/src/XmlMFunction/XmlMFunction.cxx index 8b72f1a574..bcb2f4f9d9 100644 --- a/src/XmlMFunction/XmlMFunction.cxx +++ b/src/XmlMFunction/XmlMFunction.cxx @@ -13,10 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include #include diff --git a/src/XmlMFunction/XmlMFunction.hxx b/src/XmlMFunction/XmlMFunction.hxx index 594e122af9..3bdd58cace 100644 --- a/src/XmlMFunction/XmlMFunction.hxx +++ b/src/XmlMFunction/XmlMFunction.hxx @@ -31,34 +31,9 @@ public: DEFINE_STANDARD_ALLOC - //! Adds the attribute storage drivers to . Standard_EXPORT static void AddDrivers (const Handle(XmlMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& theMessageDriver); - - - -protected: - - - - - -private: - - - - -friend class XmlMFunction_FunctionDriver; -friend class XmlMFunction_ScopeDriver; -friend class XmlMFunction_GraphNodeDriver; - }; - - - - - - #endif // _XmlMFunction_HeaderFile diff --git a/src/XmlMNaming/XmlMNaming.cxx b/src/XmlMNaming/XmlMNaming.cxx index c2538e7e8f..ddd21756c2 100644 --- a/src/XmlMNaming/XmlMNaming.cxx +++ b/src/XmlMNaming/XmlMNaming.cxx @@ -13,10 +13,10 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include -#include #include #include diff --git a/src/XmlMNaming/XmlMNaming.hxx b/src/XmlMNaming/XmlMNaming.hxx index 41b574e23d..eaaede6a43 100644 --- a/src/XmlMNaming/XmlMNaming.hxx +++ b/src/XmlMNaming/XmlMNaming.hxx @@ -32,32 +32,9 @@ public: DEFINE_STANDARD_ALLOC - //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(XmlMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& aMessageDriver); - -protected: - - - - - -private: - - - - -friend class XmlMNaming_NamedShapeDriver; -friend class XmlMNaming_NamingDriver; -friend class XmlMNaming_Shape1; - }; - - - - - - #endif // _XmlMNaming_HeaderFile diff --git a/src/XmlMXCAFDoc/XmlMXCAFDoc.cxx b/src/XmlMXCAFDoc/XmlMXCAFDoc.cxx index ffd01b6df8..95ab0a7002 100644 --- a/src/XmlMXCAFDoc/XmlMXCAFDoc.cxx +++ b/src/XmlMXCAFDoc/XmlMXCAFDoc.cxx @@ -13,12 +13,12 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. +#include #include #include #include #include -#include #include #include #include diff --git a/src/XmlMXCAFDoc/XmlMXCAFDoc.hxx b/src/XmlMXCAFDoc/XmlMXCAFDoc.hxx index 66f73c07e9..a0013a112b 100644 --- a/src/XmlMXCAFDoc/XmlMXCAFDoc.hxx +++ b/src/XmlMXCAFDoc/XmlMXCAFDoc.hxx @@ -32,39 +32,9 @@ public: DEFINE_STANDARD_ALLOC - //! Adds the attribute drivers to . Standard_EXPORT static void AddDrivers (const Handle(XmlMDF_ADriverTable)& aDriverTable, const Handle(Message_Messenger)& anMsgDrv); - - - -protected: - - - - - -private: - - - - -friend class XmlMXCAFDoc_CentroidDriver; -friend class XmlMXCAFDoc_ColorDriver; -friend class XmlMXCAFDoc_GraphNodeDriver; -friend class XmlMXCAFDoc_LengthUnitDriver; -friend class XmlMXCAFDoc_LocationDriver; -friend class XmlMXCAFDoc_DatumDriver; -friend class XmlMXCAFDoc_DimTolDriver; -friend class XmlMXCAFDoc_MaterialDriver; - }; - - - - - - #endif // _XmlMXCAFDoc_HeaderFile diff --git a/src/XmlObjMgt/XmlObjMgt.cxx b/src/XmlObjMgt/XmlObjMgt.cxx index bf61608dfa..cb26845faa 100644 --- a/src/XmlObjMgt/XmlObjMgt.cxx +++ b/src/XmlObjMgt/XmlObjMgt.cxx @@ -13,12 +13,11 @@ // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. -//AGV 150202: Add parameter isClearText to SetStringValue() +#include #include #include #include -#include #include #include diff --git a/src/XmlObjMgt/XmlObjMgt.hxx b/src/XmlObjMgt/XmlObjMgt.hxx index 218653f18d..de410089f9 100644 --- a/src/XmlObjMgt/XmlObjMgt.hxx +++ b/src/XmlObjMgt/XmlObjMgt.hxx @@ -78,30 +78,6 @@ public: Standard_EXPORT static Standard_Boolean GetReal (const XmlObjMgt_DOMString& theString, Standard_Real& theValue); - - - -protected: - - - - - -private: - - - - -friend class XmlObjMgt_Persistent; -friend class XmlObjMgt_GP; -friend class XmlObjMgt_Array1; - }; - - - - - - #endif // _XmlObjMgt_HeaderFile diff --git a/src/math/math.hxx b/src/math/math.hxx index f44e215ff4..a9eaeb4faa 100644 --- a/src/math/math.hxx +++ b/src/math/math.hxx @@ -70,67 +70,6 @@ public: //! Otherwise this method returns Standard_False. Standard_EXPORT static Standard_Boolean KronrodPointsAndWeights (const Standard_Integer Index, math_Vector& Points, math_Vector& Weights); - - - -protected: - - - - - -private: - - - - -friend class math_Matrix; -friend class math_Function; -friend class math_FunctionWithDerivative; -friend class math_MultipleVarFunction; -friend class math_MultipleVarFunctionWithGradient; -friend class math_MultipleVarFunctionWithHessian; -friend class math_FunctionSet; -friend class math_FunctionSetWithDerivatives; -friend class math_Gauss; -friend class math_GaussLeastSquare; -friend class math_SVD; -friend class math_DirectPolynomialRoots; -friend class math_FunctionRoots; -friend class math_BissecNewton; -friend class math_FunctionRoot; -friend class math_NewtonFunctionRoot; -friend class math_BracketedRoot; -friend class math_FunctionSetRoot; -friend class math_NewtonFunctionSetRoot; -friend class math_BracketMinimum; -friend class math_BrentMinimum; -friend class math_Powell; -friend class math_FRPR; -friend class math_BFGS; -friend class math_NewtonMinimum; -friend class math_Jacobi; -friend class math_GaussSingleIntegration; -friend class math_GaussMultipleIntegration; -friend class math_GaussSetIntegration; -friend class math_FunctionSample; -friend class math_FunctionAllRoots; -friend class math_Householder; -friend class math_Crout; -friend class math_Uzawa; -friend class math_TrigonometricFunctionRoots; -friend class math_KronrodSingleIntegration; -friend class math_EigenValuesSearcher; -friend class math_ComputeGaussPointsAndWeights; -friend class math_ComputeKronrodPointsAndWeights; -friend class math_DoubleTab; - }; - - - - - - #endif // _math_HeaderFile