]> OCCT Git - occt-copy.git/commitdiff
0023664: Eliminate linker warnings on import of local symbol
authorabv <abv@opencascade.com>
Sun, 23 Dec 2012 06:08:16 +0000 (10:08 +0400)
committerabv <abv@opencascade.com>
Fri, 1 Feb 2013 11:42:05 +0000 (15:42 +0400)
Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit

107 files changed:
src/BRepAlgo/BRepAlgo_BooleanOperation.cxx
src/BRepFeat/BRepFeat_Form.cxx
src/BRepFeat/BRepFeat_MakeDPrism.cxx
src/BRepFeat/BRepFeat_MakeLinearForm.cxx
src/BRepFeat/BRepFeat_MakePipe.cxx
src/BRepFeat/BRepFeat_MakePrism.cxx
src/BRepFeat/BRepFeat_MakeRevol.cxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.cxx
src/BRepFeat/BRepFeat_RibSlot.cxx
src/BiTgte/BiTgte_Blend.cxx
src/ChFi3d/ChFi3d_Builder.cxx
src/ChFi3d/ChFi3d_Builder_2.cxx
src/LocOpe/LocOpe_DPrism.cxx
src/TestTopOpe/TestTopOpe.cxx
src/TestTopOpe/TestTopOpe_BOOP.cxx
src/TestTopOpe/TestTopOpe_BOOPCommands.cxx
src/TestTopOpe/TestTopOpe_HDSCommands.cxx
src/TestTopOpe/TestTopOpe_KroBOOP.cxx
src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx
src/TopOpeBRep/TopOpeBRep_DSFiller.cxx
src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx
src/TopOpeBRep/TopOpeBRep_EdgesIntersector.cxx
src/TopOpeBRep/TopOpeBRep_FFDumper.cxx
src/TopOpeBRep/TopOpeBRep_FFTransitionTool.cxx
src/TopOpeBRep/TopOpeBRep_FaceEdgeFiller.cxx
src/TopOpeBRep/TopOpeBRep_FaceEdgeIntersector.cxx
src/TopOpeBRep/TopOpeBRep_FacesFiller.cxx
src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx
src/TopOpeBRep/TopOpeBRep_FacesIntersector.cxx
src/TopOpeBRep/TopOpeBRep_LineInter.cxx
src/TopOpeBRep/TopOpeBRep_ProcessGR.cxx
src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx
src/TopOpeBRep/TopOpeBRep_ShapeIntersector.cxx
src/TopOpeBRep/TopOpeBRep_VPointInter.cxx
src/TopOpeBRep/TopOpeBRep_kpart.cxx
src/TopOpeBRep/TopOpeBRep_mergePDS.cxx
src/TopOpeBRep/TopOpeBRep_traceSIFF.cxx
src/TopOpeBRep/TopOpeBRep_vpr.cxx
src/TopOpeBRep/TopOpeBRep_vprclo.cxx
src/TopOpeBRep/TopOpeBRep_vprdeg.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Area1dBuilder.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Area2dBuilder.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_AreaBuilder.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_BuildEdges.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_BuildFaces.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1_1.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_End.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_FREGU.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_FaceBuilder.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_FuseFace.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Grid.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_GridEE.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_GridFF.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_GridSS.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Griddump.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_KPart.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Merge.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_PaveClassifier.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_PaveSet.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_SREGU.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Section.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ShapeListOfShape.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ShapeSet.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ShellFaceClassifier.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ShellFaceSet.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_WireEdgeClassifier.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_WireEdgeSet.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_fctwes.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ffwesk.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_keep.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_kpkole.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_makeedges.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_makefaces.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_makesolids.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_on.cxx
src/TopOpeBRepDS/TopOpeBRepDS_BuildTool.cxx
src/TopOpeBRepDS/TopOpeBRepDS_DataStructure.cxx
src/TopOpeBRepDS/TopOpeBRepDS_EIR.cxx
src/TopOpeBRepDS/TopOpeBRepDS_EXPORT.cxx
src/TopOpeBRepDS/TopOpeBRepDS_FIR.cxx
src/TopOpeBRepDS/TopOpeBRepDS_FaceInterferenceTool.cxx
src/TopOpeBRepDS/TopOpeBRepDS_Filter.cxx
src/TopOpeBRepDS/TopOpeBRepDS_FilterCurveInterferences.cxx
src/TopOpeBRepDS/TopOpeBRepDS_FilterEdgeInterferences.cxx
src/TopOpeBRepDS/TopOpeBRepDS_FilterFaceInterferences.cxx
src/TopOpeBRepDS/TopOpeBRepDS_GapFiller.cxx
src/TopOpeBRepDS/TopOpeBRepDS_GapTool.cxx
src/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx
src/TopOpeBRepDS/TopOpeBRepDS_ProcessEdgeInterferences.cxx
src/TopOpeBRepDS/TopOpeBRepDS_ProcessFaceInterferences.cxx
src/TopOpeBRepDS/TopOpeBRepDS_ProcessInterferencesTool.cxx
src/TopOpeBRepDS/TopOpeBRepDS_connex.cxx
src/TopOpeBRepDS/TopOpeBRepDS_repvg.cxx
src/TopOpeBRepDS/TopOpeBRepDS_samdom.cxx
src/TopOpeBRepTool/TopOpeBRepTool_CORRISO.cxx
src/TopOpeBRepTool/TopOpeBRepTool_CurveTool.cxx
src/TopOpeBRepTool/TopOpeBRepTool_FuseEdges.cxx
src/TopOpeBRepTool/TopOpeBRepTool_PURGE.cxx
src/TopOpeBRepTool/TopOpeBRepTool_PURGE.hxx
src/TopOpeBRepTool/TopOpeBRepTool_REGUS.cxx
src/TopOpeBRepTool/TopOpeBRepTool_REGUW.cxx
src/TopOpeBRepTool/TopOpeBRepTool_RegularizeW.cxx
src/TopOpeBRepTool/TopOpeBRepTool_ShapeTool.cxx
src/TopOpeBRepTool/TopOpeBRepTool_faulty.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx

index b477e54080538da9fb3c44c630b792f30bad1521..b129760bf1e442af4359b91342c994026757f9f8 100755 (executable)
@@ -53,7 +53,7 @@
 
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GetcontextNOSEW();
+extern Standard_Boolean TopOpeBRepTool_GetcontextNOSEW();
 #endif
 
 #define Opecom(st1,st2) (((st1)==TopAbs_IN) && ((st2)==TopAbs_IN))
@@ -76,11 +76,11 @@ Standard_IMPORT Standard_Integer TopOpeBRepTool_BOOOPE_CHECK_DEB;
 //modified by NIZHNY-MZV  Wed Apr 19 17:19:11 2000
 //see comments at the top of file TopOpeBRepBuild_Builder1.cxx
 //about using of this global variable
-Standard_IMPORT Standard_Boolean GLOBAL_USE_NEW_BUILDER;
+extern Standard_Boolean GLOBAL_USE_NEW_BUILDER;
 //
 //modified by NIZNHY-PKV Sun Dec 15 17:17:56 2002 f
-Standard_IMPORT void FDSCNX_Close();// see TopOpeBRepDS_connex.cxx
-Standard_IMPORT void FDSSDM_Close();// see TopOpeBRepDS_samdom.cxx
+extern void FDSCNX_Close();// see TopOpeBRepDS_connex.cxx
+extern void FDSSDM_Close();// see TopOpeBRepDS_samdom.cxx
 
 //=======================================================================
 //function : Delete 
index 165cf3a7e66f85df8072a08e90f413ab711f0b7b..1f3a9211901dcf01714282e052a06b4e9003501a 100755 (executable)
@@ -72,7 +72,7 @@
 //modified by NIZNHY-PKV Thu Mar 21 17:30:29 2002 t
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 static void Descendants(const TopoDS_Shape&,
index d13d6be9e008e722504f05869f77bd8aaee5b6c7..ddab4dc7377e3663c2a15cbe5795df7b37d7db9b 100755 (executable)
@@ -85,7 +85,7 @@
 #include <TopAbs.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 static void MajMap(const TopoDS_Shape&,
index 4c27c2fdf92835d12700f535b5b0721d484bd080..ebb833e798df3e3fba9ba0dee3708e1715f48518 100755 (executable)
 //#include <DbgTools.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
 #endif
 
 static void MajMap(const TopoDS_Shape&, // base
index d3a98ff227ef4df4f0ae1b59175fd306edd23ffe..3bc0e92145a7982045f0974bc1c626dd9ce82275 100755 (executable)
@@ -60,7 +60,7 @@
 #include <BRepBndLib.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 static void MajMap(const TopoDS_Shape&, // base
index 1b3340c77058561fba24d60289927f834587bde1..ba3f39f5b2d9b681581bc9def8d4588a7cdd4588 100755 (executable)
@@ -82,7 +82,7 @@
 #include <Geom_Plane.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 static void MajMap(const TopoDS_Shape&, // base
index 6109b721e85f4b48012e099ac2d5194e4a86ce6b..b4209ac17dd3843f417243933558d93801c31db3 100755 (executable)
@@ -81,7 +81,7 @@
 #include <ElCLib.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 static void MajMap(const TopoDS_Shape&, // base
index a5e9347135fed4d464ccebcccb290cede4dd2de0..7c5a26a8b586d748cf0623e7709820c22a3db20d 100755 (executable)
 #include <GeomLProp_CLProps.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
 #endif
 
 static void MajMap(const TopoDS_Shape&, // base
index 407a0a565196286b345cdafabf711638e03a1bdb..f6caa0f4188e099f72ba0b8678ebeb8c4dae73c6 100755 (executable)
 
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEATRIB();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEATRIB();
 #endif
 
 //=======================================================================
index 1e67b0bfcd492357bdf7d21b33332e0d27d94122..1cafb07758f0e349f1d26458f126319b8ec4749a 100755 (executable)
 #include <OSD_Chronometer.hxx>
 // variables for performance 
 Standard_Real t_mkcurve;
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_EXPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
-                                       Standard_Real&    time);
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real&    time);
 #ifdef DRAW
 static Standard_Boolean Affich = Standard_False;
 static char name[100];
index 5b8fe07f60ba42cb4807ad25fc1604910338dd25..c9f6bf50f0ee4a36561d87d27f4913a082008207 100755 (executable)
@@ -93,11 +93,8 @@ t_perf2cornerbyinter,t_chfikpartcompdata,t_cheminement,t_remplissage,
 t_t3cornerinit ,t_spherique,t_torique, t_notfilling,t_filling,t_sameparam,
 t_computedata,t_completedata,t_t2cornerDS,t_t3cornerDS;
                
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_IMPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
-                                              Standard_Real& time);
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real& time);
 extern Standard_Boolean ChFi3d_GettraceCHRON();
 #endif
 
index f807c2d9f3809836b6cae349c12459cdd3b52be3..408310190628510cef187aa73c62ae5e271289c5 100755 (executable)
 #include <DrawTrSurf.hxx>
 #endif
 #include <OSD_Chronometer.hxx>
-//Standard_IMPORT extern Standard_Real  t_perfsetofkpart,t_perfsetofkgen,
-Standard_IMPORT Standard_Real  t_perfsetofkpart,t_perfsetofkgen,
-t_makextremities,t_performsurf,t_startsol;
-//Standard_IMPORT extern Standard_Boolean ChFi3d_GettraceCHRON();
-Standard_IMPORT Standard_Boolean ChFi3d_GettraceCHRON();
-//Standard_IMPORT extern void ChFi3d_InitChron(OSD_Chronometer& ch);
-Standard_IMPORT void ChFi3d_InitChron(OSD_Chronometer& ch);
-//Standard_IMPORT extern void ChFi3d_ResultChron(OSD_Chronometer & ch,
-Standard_IMPORT void ChFi3d_ResultChron(OSD_Chronometer & ch,
-                                              Standard_Real& time);
+extern Standard_Real  t_perfsetofkpart,t_perfsetofkgen,t_makextremities,t_performsurf,t_startsol;
+extern Standard_Boolean ChFi3d_GettraceCHRON();
+extern void ChFi3d_InitChron(OSD_Chronometer& ch);
+extern void ChFi3d_ResultChron(OSD_Chronometer & ch, Standard_Real& time);
 #endif
 
 //  Modified by Sergey KHROMOV - Fri Dec 21 17:08:19 2001 Begin
index 0ce4d5777b10cafc701f0d3df245853401b5b99f..1ffe49a6eefea280e2b7d9d692473329885eed99 100755 (executable)
@@ -68,7 +68,7 @@
 #include <Standard_ConstructionError.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean BRepFeat_GettraceFEAT();
+extern Standard_Boolean BRepFeat_GettraceFEAT();
 #endif
 
 #define NECHANT 7 // voir BRepFeat.cxx
index fb953c6c634891766557d6edceee8140d6f45510..c9058a6343b7dcbd6ea63b14c885c8ef8f41c4e3 100755 (executable)
@@ -55,10 +55,8 @@ void  TestTopOpe::AllCommands(Draw_Interpretor& theCommands)
   TestTopOpeDraw::AllCommands(theCommands);
 }
 
-//Standard_IMPORT extern TestTopOpe_HDSDisplayer* PHDSD;
-Standard_IMPORT TestTopOpe_HDSDisplayer* PHDSD;
-//Standard_IMPORT extern TestTopOpe_BOOP* PBOOP;
-Standard_IMPORT TestTopOpe_BOOP* PBOOP;
+extern TestTopOpe_HDSDisplayer* PHDSD;
+extern TestTopOpe_BOOP* PBOOP;
 
 //=======================================================================
 //function : Shapes
index 208c36a888f3984a641cbf101110a8bd8788372d..d719796d2d19984e1ff55ab28adfc077d1a3764f 100755 (executable)
 Standard_IMPORT Draw_Viewer dout;
 #endif
 
-Standard_IMPORT Standard_Integer TOPOPE_SeeShape(char *name);
+extern Standard_Integer TOPOPE_SeeShape(char *name);
 
 #ifdef DEB
 #include <TopOpeBRepTool_KRO.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_IMPORT void PrintKRO_PREPA();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern void PrintKRO_PREPA();
 #endif
 
 Standard_Integer TestTopOpe_BOOP::Prepare(const char* ns1,const char* ns2)
index fef716c4213e6dff0884909ccd6e02d069035524..b06745257df25b6c56b96430e8ebb190891417ee 100755 (executable)
 # include <strings.h>
 #endif
 
-Standard_IMPORT void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d);
+extern void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d);
 #ifdef DEB
-Standard_IMPORT void TopOpeBRepTool_SettraceEND(const Standard_Boolean);
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceEND();
+extern void TopOpeBRepTool_SettraceEND(const Standard_Boolean);
+extern Standard_Boolean TopOpeBRepTool_GettraceEND();
 #endif
 
 static const char* kboo[TESTTOPOPE_NKEYS] = {"topo","secc","sece","sec","com","c12","c21","fus"};
 static TestTopOpe_BOOP LOCALBOOP(kboo, "r");
-Standard_EXPORT TestTopOpe_BOOP* PBOOP=&LOCALBOOP;
+TestTopOpe_BOOP* PBOOP=&LOCALBOOP;
 
 void CATIND
 (TCollection_AsciiString& s,const Standard_Integer I,const TCollection_AsciiString& a,const TCollection_AsciiString& b) {s=s+a+TCollection_AsciiString(I)+b;}
index 2daf6554ceb3fe65cda4d93d46671535dec707f5..48a4b03ea45870d72eb801d932b3522c8ed662e6 100755 (executable)
@@ -114,8 +114,8 @@ public:
 
 #define ISINTEGER(MMstr) ((strspn((MMstr),"0123456789") == strlen((MMstr))))
 
-Standard_EXPORT TestTopOpe_HDSDisplayer* PHDSD = NULL;
-Standard_EXPORT TestTopOpeDraw_Displayer* POCD = NULL;
+TestTopOpe_HDSDisplayer* PHDSD = NULL;
+static TestTopOpeDraw_Displayer* POCD = NULL;
 //Standard_IMPORT extern Standard_Integer TopOpeBRepDS_GLOBALHDSinterfselector;
 Standard_IMPORT Standard_Integer TopOpeBRepDS_GLOBALHDSinterfselector;
 
@@ -587,7 +587,7 @@ static void decalargs(Standard_Integer& na,const char** a,const Standard_Integer
 //-----------------------------------------------------------------------
 // suppressarg : remove a[d],modify na--
 //-----------------------------------------------------------------------
-Standard_EXPORT void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d) 
+void suppressarg(Standard_Integer& na,const char** a,const Standard_Integer d) 
 {
   for(Standard_Integer i=d;i<na;i++) {
     a[i]=a[i+1];
@@ -738,7 +738,7 @@ static void tds_help(Draw_Interpretor& di)
 }
 
 typedef Standard_Integer (*tf_SeeShape)(const Standard_Integer I,const TopoDS_Shape& S);
-Standard_IMPORT void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD);
+extern void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD);
 void COUTNOHDS(Draw_Interpretor& di) {di<<"no current HDS"<<"\n";}
 Standard_Integer tsee_SeeShapefunc(Draw_Interpretor& di,Standard_Integer na_in,const char** a,tf_SeeShape SeeShapefunc)
 {
index 4f081a5762b2c2795a6800c1dfea5c4adaee82ac..5da295393eeb957ca15264011e76f0c1c11a6234 100755 (executable)
 
 #ifdef DEB
 #include <TopOpeBRepTool_KRO.hxx>
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_TOTAL;
 Standard_IMPORT TOPKRO KRO_DSFILLER_TOTAL;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTFF;
 Standard_IMPORT TOPKRO KRO_DSFILLER_INTFF;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTEE;
 Standard_IMPORT TOPKRO KRO_DSFILLER_INTEE;
-//Standard_IMPORT extern TOPKRO KRO_DSFILLER_INTFE;
 Standard_IMPORT TOPKRO KRO_DSFILLER_INTFE;
-//Standard_IMPORT extern TOPKRO KRO_CURVETOOL_APPRO;
 void PrintKRO_PREPA() {
   KRO_DSFILLER_TOTAL.Print(cout); cout<<endl;
   KRO_DSFILLER_INTFF.Print(cout); cout<<endl;
index e3ea02ee7392ad734366768b6d1c0e4c7a369cb5..5e23afd9c915ec670e00cc60a5cf62f70eaf3370 100755 (executable)
@@ -75,7 +75,7 @@ Standard_EXPORT void DRAWsuppressargs(Standard_Integer& na,const char** a,const
 }
 
 //-----------------------------------------------------------------------
-Standard_EXPORT void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD)
+void OthersCommands_flags(Standard_Integer& na,const char** a,TestTopOpeDraw_Displayer& TD)
 //-----------------------------------------------------------------------
 {
   Standard_Integer i,j,l,dloc = 0,iloc,decal = 0, NbArg = na;
index 44823d79d64fcbfb7b7b26b5bbbed689302d0402..78bb3c1aec446b854f8c95c90c1bf5990aada800 100755 (executable)
@@ -43,8 +43,8 @@
 #include <TopOpeBRepDS_ShapeWithState.hxx>
 #include <TopTools_IndexedMapOfShape.hxx>
 
-Standard_IMPORT void BREP_sortonparameter(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
-Standard_IMPORT void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
+extern void BREP_sortonparameter(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
+extern void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
 
 
 #ifdef DEB
@@ -62,9 +62,9 @@ void debfillerss(const Standard_Integer i1,const Standard_Integer i2){cout<<"+ +
 
 #include <TopOpeBRepTool_KRO.hxx>
 Standard_EXPORT TOPKRO KRO_DSFILLER_TOTAL("dsfiller");
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTFF;
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTEE;
-Standard_IMPORT TOPKRO KRO_DSFILLER_INTFE;
+extern TOPKRO KRO_DSFILLER_INTFF;
+extern TOPKRO KRO_DSFILLER_INTEE;
+extern TOPKRO KRO_DSFILLER_INTFE;
 static void FUN_RESET_KRO_DSFILLER()
 {
   KRO_DSFILLER_TOTAL.Reset();
@@ -76,13 +76,13 @@ static void FUN_RESET_KRO_DSFILLER()
 #include <TopOpeBRep_traceSIFF.hxx>
 #include <BRepTools.hxx>
 
-Standard_IMPORT  TopOpeBRep_traceSIFF SIFF;
+extern TopOpeBRep_traceSIFF SIFF;
 
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSIFF();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceEND();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextNONOG();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRep_GettraceSIFF();
+extern Standard_Boolean TopOpeBRepTool_GettraceEND();
+extern Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer);
+extern Standard_Boolean TopOpeBRep_GetcontextNONOG();
 #endif
 
 //=======================================================================
@@ -314,9 +314,6 @@ static
 
 } // FUN_shareNOG
 
-Standard_IMPORT  TopoDS_Shape GLOBALDS_shape1;
-Standard_IMPORT  TopoDS_Shape GLOBALDS_shape2;
-
 //=======================================================================
 //function : Insert
 //purpose  : 
@@ -345,9 +342,6 @@ void TopOpeBRep_DSFiller::InsertIntersection(const TopoDS_Shape& aS1,
   FBOX_Prepare();
   FC2D_Prepare(aS1,aS2);
 
-  GLOBALDS_shape1 = aS1;
-  GLOBALDS_shape2 = aS2;
-  
   if (myPShapeClassifier == NULL) myPShapeClassifier = new TopOpeBRepTool_ShapeClassifier();
   myFacesFiller.SetPShapeClassifier(myPShapeClassifier);
   
index 41a669c76f089e01bdb926b61666a722cefc6571..b4927c595905f678300402f16c488f485dcef480 100755 (executable)
@@ -38,9 +38,9 @@
 
 #ifdef DEB
 #include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceEEFF();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRep_GettraceEEFF();
 Standard_EXPORT void debefre(const Standard_Integer IE) {cout<<"+++ debefre E"<<IE<<endl;}
 Standard_EXPORT void debposesd(void) {/*cout<<"+++ debposesd"<<endl;*/}
 Standard_EXPORT void debposnesd(void) {cout<<"+++ debposnesd"<<endl;}
index 63f2919ac59b0fce21c5a0d0ce3acd129bfbfae1..61f9ea562349f7bcde8d04806046d2d4b8fd0292 100755 (executable)
 #include <TopOpeBRep_define.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceNYI();
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettracePROEDG();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextNOFEI();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceEEFF();
-Standard_EXPORT void debeeff();
+extern Standard_Boolean TopOpeBRepTool_GettraceNYI();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRep_GettracePROEDG();
+extern Standard_Boolean TopOpeBRep_GetcontextTOL0();
+extern Standard_Boolean TopOpeBRep_GetcontextNOFEI();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceEEFF();
+extern void debeeff();
 #include <TopOpeBRepTool_KRO.hxx>
 Standard_EXPORT TOPKRO KRO_DSFILLER_INTEE("intersection edge/edge");
 #endif
index c6cf6f8597fc862a43841313ae8ed8514ac5537e..50081091c478974dd98bc4deb0f72a38d08eaa05 100755 (executable)
@@ -40,9 +40,9 @@
 #include <IntPatch_GLine.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
 static TCollection_AsciiString PRODINP("dinp ");
 #endif
 
index d1a128df7b1e226e11b8894a0885ee639f4ff4f7..0063202dfbaf80739ad730748cb4904b7d37c45f 100755 (executable)
@@ -37,7 +37,7 @@
 #include <gp_Vec.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
 #endif
 
 //-----------------------------------------------------------------------
index 5eb57c933c354831e3ff93670b2f6dda1542b13f..48f92008d6c5f40210da0fb347a808c0d5124c32 100755 (executable)
@@ -33,9 +33,9 @@
 #include <gp_Pnt2d.hxx>
 
 #ifdef DEB
-Standard_IMPORT void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
+extern void FEINT_DUMPPOINTS(TopOpeBRep_FaceEdgeIntersector& FEINT,
                             const TopOpeBRepDS_DataStructure& BDS);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
 #endif
 
 //=======================================================================
index 9edb1cb862eb4f169e1f5266aeaa9838f400761e..262a89f3c03521337436b643c3b1a03c36cdcce8 100755 (executable)
@@ -36,8 +36,8 @@
 
 #ifdef DEB
 #include <TopAbs.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSAVFF();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceSAVFF();
 #include <TCollection_AsciiString.hxx>
 #include <Standard_CString.hxx>
 #include <BRepTools.hxx>
@@ -48,7 +48,7 @@ static void SAVFE(const TopoDS_Face& F1,const TopoDS_Edge& E)
   cout<<"FaceEdgeIntersector : "<<name_1<<","<<name_2<<endl;
   BRepTools::Write(F1,name_1); BRepTools::Write(E,name_2); 
 }
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
 #include <TopOpeBRepTool_KRO.hxx>
 Standard_EXPORT TOPKRO KRO_DSFILLER_INTFE("intersection face/edge");
 #endif
index 78dbc56b29b95eb471881e7a60e3600f749f5b8a..aba7ac663506d8b39d3eb4923f2da64aec9c6cbb 100755 (executable)
@@ -62,9 +62,9 @@ Standard_EXPORT Standard_Boolean FUN_projPonL(const gp_Pnt& P,const TopOpeBRep_L
 }
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
 void debffsamdom(void){}
 #endif
 
index 8c9ed18caa9f74d10ccb8aaab22df0363331161f..63446a6a9d1b25b07fc170b1ec49820a6e9084c6 100755 (executable)
 Standard_EXPORT void debrest(const Standard_Integer i)   {cout<<"+ debrest "<<i<<endl;}
 Standard_EXPORT void debrline()   {cout<<"+ debrline"<<endl;}
 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceCX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceISTO(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSP(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSLT();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
-Standard_IMPORT Standard_Boolean GLOBAL_bvpr;Standard_EXPORT void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si);
-Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextNOPUNK();
+extern Standard_Boolean TopOpeBRepDS_GettraceCX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSP(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSLT();
+extern Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
+extern Standard_Boolean GLOBAL_bvpr;
+extern void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si);
+extern Standard_Boolean TopOpeBRep_GetcontextNOPUNK();
 
 static void SSAVFF(const TopoDS_Shape& F1, const TopoDS_Shape& F2)
 {
index 02e735e0a7543c864a875293ec3b6ac2b25f7120..f1470c502b34837eded692ad8fbcc2609f12a73e 100755 (executable)
@@ -45,12 +45,12 @@ Standard_EXPORT Standard_Real GLOBAL_tolFF = 1.e-7;
 
 #ifdef DEB
 #include <TopAbs.hxx>
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFI();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceFITOL();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceSAVFF();
+extern Standard_Boolean TopOpeBRep_GettraceFI();
+extern Standard_Boolean TopOpeBRep_GettraceFITOL();
+extern Standard_Boolean TopOpeBRep_GettraceSAVFF();
 
-Standard_EXPORT Standard_Integer SAVFFi1 = 0;
-Standard_EXPORT Standard_Integer SAVFFi2 = 0;
+Standard_Integer SAVFFi1 = 0;
+Standard_Integer SAVFFi2 = 0;
 static void SAVFF(const TopoDS_Face& F1,const TopoDS_Face& F2)
 {
   TCollection_AsciiString an1("SAVA");if (SAVFFi1) an1=an1+SAVFFi1;
@@ -62,7 +62,7 @@ static void SAVFF(const TopoDS_Face& F1,const TopoDS_Face& F2)
   cout<<"FaceIntersector : write "<<n1<<","<<n2<<endl;BRepTools::Write(F1,n1);BRepTools::Write(F2,n2); 
 }
 
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
 #include <TopOpeBRepTool_KRO.hxx>
 Standard_EXPORT TOPKRO KRO_DSFILLER_INTFF("intersection face/face");
 
index 4df0ab29640e029ec94653ffd1f6985b062d2444..a1d228a634a620afbc317a65f541495ee1f02eba 100755 (executable)
 #include <Standard_NotImplemented.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextALWLNBP(Standard_Integer&);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceCONIC();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRep_GetcontextALWLNBP(Standard_Integer&);
+extern Standard_Boolean TopOpeBRep_GettraceCONIC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
 #endif
 
 //-----------------------------------------------------------------------
index 6fc1d2d0dd5d0d637780de5f5cd6a67dca0623e1..af1696c58a83d18e5aa8b9e829f1a290f1f0acbb 100755 (executable)
 #include <TopOpeBRep_FFDumper.hxx>
 #include <Geom_TrimmedCurve.hxx>
 #include <Geom_Line.hxx>
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceBIPS(); 
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean FUN_debnull(const TopoDS_Shape& s){Standard_Boolean isnull = s.IsNull(); if (isnull) cout <<"***"; return isnull;}
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
+extern Standard_Boolean TopOpeBRep_GettraceBIPS(); 
+extern Standard_Boolean TopOpeBRep_GettraceDEGEN();
+extern Standard_Boolean FUN_debnull(const TopoDS_Shape& s){Standard_Boolean isnull = s.IsNull(); if (isnull) cout <<"***"; return isnull;}
 #endif
 
 //Standard_EXPORT extern Standard_Real GLOBAL_tolFF;
index ebe9f5a6c2955fd3140a485cf05692088cac5542..3a3ed39e84c8889d1fad98a303818c71b6b30613 100755 (executable)
@@ -36,9 +36,9 @@
 #include <TopTools_MapOfShape.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
 #endif
 
 Standard_EXPORT Standard_Boolean FUN_EqualponR(const TopOpeBRep_LineInter& Lrest,
index 389dca47d78c35f45b670f2a83afe1fa26f56906..f058fbd7fe5982cb9011533d30ea53c939c30cf7 100755 (executable)
 #include <TopOpeBRep_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSI(); 
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextFFOR();
-Standard_IMPORT Standard_Integer SAVFFi1; // FacesIntersector
-Standard_IMPORT Standard_Integer SAVFFi2; // FacesIntersector
-Standard_IMPORT void TopOpeBRep_SettraceEEFF(const Standard_Boolean b);
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceEEFF(const Standard_Integer e1,const Standard_Integer e2,const Standard_Integer f1,const Standard_Integer f2);
+extern Standard_Boolean TopOpeBRep_GettraceSI(); 
+extern Standard_Boolean TopOpeBRep_GetcontextFFOR();
+extern Standard_Integer SAVFFi1; // FacesIntersector
+extern Standard_Integer SAVFFi2; // FacesIntersector
+extern void TopOpeBRep_SettraceEEFF(const Standard_Boolean b);
+extern Standard_Boolean TopOpeBRep_GettraceEEFF(const Standard_Integer e1,const Standard_Integer e2,const Standard_Integer f1,const Standard_Integer f2);
 void seteeff(const Standard_Boolean b,const Standard_Integer e1,const Standard_Integer e2, const Standard_Integer f1,const Standard_Integer f2)
 {cout<<"b,e1,e2,f1,f2 : "<<b<<" "<<e1<<","<<e2<<","<<f1<<","<<f2<<endl;TopOpeBRep_SettraceEEFF(b);}
 void seteefft(const Standard_Integer e1,const Standard_Integer e2, const Standard_Integer f1,const Standard_Integer f2) {seteeff(Standard_True,e1,e2,f1,f2);}
index 1950bf98cd7ed35f3932c25e50cd4fcd70c44a10..6371df6f3d6f947e36e5b12b94190482a0acf674 100755 (executable)
@@ -39,7 +39,7 @@
 #include <TopOpeBRep_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFK(); 
 static TCollection_AsciiString PRODINP("dinp ");
 #endif
 
index e3834a65202dc4d6b558d5a5225a7cd8978356e1..138e0fac590420829364ab6b76c9d794bc793860 100755 (executable)
@@ -40,8 +40,8 @@
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_IMPORT Standard_Boolean TopOpeBRep_GetcontextNEWKP();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRep_GetcontextNEWKP();
 #endif
 
 // VP<STATIC_lastVPind> is the vp on which was computed the last CPI.
@@ -295,7 +295,7 @@ Standard_Boolean FUNBREP_topowalki_new
 } // FUNBREP_topowalki_new 
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean GLOBAL_bvpr;
+extern Standard_Boolean GLOBAL_bvpr;
 Standard_EXPORT void debvpr2(void) {}
 #endif
 
index c72352bb0dda61ee9027f3d129e42f66333e2986..d362fa5536973dc190bf7d0d08bde5a76eb6fa54 100755 (executable)
@@ -51,7 +51,7 @@ void BREP_makeIDMOVP(const TopoDS_Shape& S,TopOpeBRepDS_IndexedDataMapOfVertexPo
   }
 }
 
-Standard_EXPORT void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
+void BREP_mergePDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS)
 {
   TopOpeBRepDS_DataStructure& BDS = HDS->ChangeDS();
   TopOpeBRepDS_CurveExplorer cex(BDS);if (!cex.More()) return;
index 646325bb282b05181ecc6c8fb0436db19e1e3871..133eef252c5516f770f62272dd0a5b983039b5cc 100755 (executable)
@@ -118,7 +118,7 @@ void TopOpeBRep_traceSIFF::End(const TCollection_AsciiString& s,
 }  
 //////////////////////////////////////////////////////////////////////////
 
-Standard_EXPORT TopOpeBRep_traceSIFF SIFF;
+TopOpeBRep_traceSIFF SIFF;
 
 Standard_EXPORT void TopOpeBRep_SettraceSIFF(const Standard_Boolean b,
                                             Standard_Integer n,char**a)
index 80ea946aa03df4446e92efae68b199436d87d1fc..6b577d7cefc8eeb8785d7066e3b00b199dec449e 100755 (executable)
 #define M_REVERSED(st) (st == TopAbs_REVERSED) 
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceISTO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSP();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
-Standard_EXPORT Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
-Standard_EXPORT Standard_Boolean GLOBAL_bvpr = Standard_False;void debvpr(){};
-Standard_EXPORT void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si)
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSP();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRep_GettraceNVP(Standard_Integer a,Standard_Integer b,Standard_Integer c,Standard_Integer d,Standard_Integer e);
+extern Standard_Boolean GLOBAL_bvpr = Standard_False;void debvpr(){};
+void debvprmess(Standard_Integer f1,Standard_Integer f2,Standard_Integer il,Standard_Integer vp,Standard_Integer si)
 {cout<<"f1,f2,il,vp,si : "<<f1<<","<<f2<<","<<il<<","<<vp<<","<<si<<endl;cout.flush();debvpr();}
 void debpoint(Standard_Integer i) {cout<<"+ debpoint"<<i<<endl;}
 void debvertex(Standard_Integer i){cout<<"+ debvertex"<<i<<endl;}
index 23a3568ff882197438bd03b177e9b2bd94d81056..a97f9d2f5864612efc9385fca630d72674e5a57c 100755 (executable)
@@ -44,8 +44,8 @@
 #define M_REVERSED(st) (st == TopAbs_REVERSED) 
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i1);
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer i1);
 Standard_EXPORT void debarc(const Standard_Integer i);
 Standard_EXPORT void debooarc(const Standard_Integer i);
 #endif
index a0486756d0a0f0004964ab12df3576c94f61bc66..7144fd580e4318319aae6aa673d06b2577fb664c 100755 (executable)
@@ -68,8 +68,8 @@ static Standard_Boolean local_FindVertex(const TopOpeBRep_VPointInter& theVP,
 #ifdef DEB
 void static FUN_debdegeneR() {}
 void static FUN_debdegeneF() {}
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSF();
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF();
 Standard_EXPORT Standard_Boolean FUN_debnull(const TopoDS_Shape& s);
 #endif
 
index 735727d9f6f9fa17e37c5657d6441c4b519012ba..6a06d868ad13b2832702a457fe31b24c40f584cf 100755 (executable)
@@ -29,8 +29,8 @@
 #include <TopAbs.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepBuild_GettraceAREA();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 #endif
 
 //=======================================================================
index 1d4b206ad20d451594bfcd2e6d59b71391bdc9ea..ffac50a6ac05149b1afab7dff169fc2ccc48187c 100755 (executable)
@@ -23,7 +23,7 @@
 #include <TopOpeBRepBuild_Loop.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceAREA();
+extern Standard_Boolean TopOpeBRepBuild_GettraceAREA();
 #endif
 
 //=======================================================================
index 10fc3ccd56ea611349380ea393d02bb7501417bb..5bde66608a02d616b7d62abd728a52b93ffb3acb 100755 (executable)
@@ -30,7 +30,9 @@
 #include <Standard_DomainError.hxx>
 #include <TopAbs.hxx>
 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+#ifdef DEB
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+#endif
 
 //=======================================================================
 //function : TopOpeBRepBuild_AreaBuilder
index 2b1a3cdf209ab0f2ea056993fd0505bceb75d0fe..3d763f07078df50be96b3eff2c56dd8bba9eb3c7 100755 (executable)
@@ -27,7 +27,7 @@
 #include <TopOpeBRepBuild_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
 #endif
 
 //=======================================================================
index 63639f41317de00566fac6e809826baac81086a7..8a1c708bc96369746e028f4f902cf4a66d45c9ac 100755 (executable)
 #include <BRep_Builder.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCUV();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPF();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCUV();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPF();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
 #endif
 
 //=======================================================================
index 3cef0a6e0efe5732a1119d07f04a7dd54d5ded9f..f689e7224df291e3536bbcd891063f9097a093ec 100755 (executable)
 #include <TopOpeBRepBuild_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCU();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCUV();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPF();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCUV();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPF();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextSF2();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSHEX();
 Standard_EXPORT void debmarksplit(const Standard_Integer i) {cout<<"++ debmarksplit "<<i<<endl;}
 Standard_EXPORT void debchangesplit(const Standard_Integer i) {cout<<"++ debchangesplit "<<i<<endl;}
 #endif
index 31fd4811ae2b4e9c976b2882755668c440b6c778..2b66ab01da75e022db838a6f6fe274290dda4e9c 100755 (executable)
@@ -58,7 +58,7 @@ static TopAbs_State ClassifyEdgeToFaceByOnePoint(const TopoDS_Edge& E,
 //because new algo can not be used in LocOpe and Mechanical Features (for the moment)
 //that's why we use new algo only in BRepAlgoAPI_BooleanOperation
 //in all other cases old algo is called (see the methods GFillSolidSFS, GFillShellSFS, etc.);
-Standard_EXPORT Standard_Boolean GLOBAL_USE_NEW_BUILDER = Standard_False;
+Standard_Boolean GLOBAL_USE_NEW_BUILDER = Standard_False;
 
 //=======================================================================
 //function : Constructor
@@ -1013,7 +1013,7 @@ void TopOpeBRepBuild_Builder1::GFillEdgeSameDomWES(const TopoDS_Shape& EOR,
   }
 } // GFillEdgeWES
 
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
+extern Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
 
 //=======================================================================
 //function : PerformONParts
index 97836e9df55cbcc79e260a5c8cbccf401ada7390..905565253b1042ed6cf096f2827fbe26fe13cb71 100755 (executable)
@@ -75,7 +75,7 @@ static TopTools_IndexedMapOfShape processedEdges;
 static TopTools_IndexedMapOfShape theUsedVertexMap;
 static TopTools_MapOfShape theUnkStateVer;
 
-Standard_IMPORT Standard_Boolean GLOBAL_faces2d;
+extern Standard_Boolean GLOBAL_faces2d;
 
 //modified by NIZNHY-PKV Mon Dec 16 11:38:55 2002 f
 //=======================================================================
index f7065690f4ed4a61255243321eae11ea150696f6..6ddcf41b62f12644d08ba7efdce450c83e4423eb 100755 (executable)
@@ -42,7 +42,7 @@
 #include <TopOpeBRepTool_FuseEdges.hxx>
 #include <Standard_ProgramError.hxx>
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOFE();
 #endif
 
 //=======================================================================
index 8f22c3c479e501c6d1732c8c8c57ae2ea190541a..5d8916df3e2c304798bc78d960c02cf882aa746c 100755 (executable)
@@ -34,9 +34,9 @@
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUFA();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVFREGU();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUFA();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSAVFREGU();
 void debregufa(const Standard_Integer /*iF*/) {}
 #endif
 
index d9d1c72fc723527056dd9b7003b3c78c2f2b8398..ff535509aba9616d8854fd76699487144f1dda38 100755 (executable)
@@ -61,8 +61,8 @@
 #endif
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettracePURGE();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepBuild_GettracePURGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 #include <TopOpeBRepDS_DSX.hxx>
 void debifb() {}
 #endif
index cdaa2a4b2a53eb69b203edda447b3386312accd4..9b95855769ca55a621157dea07a71c74b165de8b 100755 (executable)
@@ -62,7 +62,7 @@
 #include <Precision.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
+extern Standard_Boolean TopOpeBRepBuild_GettraceFUFA();
 #endif
 
 static void GroupShape(TopTools_ListOfShape&,
index 32b188f4f6757cce4e95b6a3ace76ac5637d52bb..99918fdd987900e69a21ce4bf2bc8c152f27f0ff 100755 (executable)
@@ -26,7 +26,7 @@
 #include <TopOpeBRepBuild_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextSPEON();
 #endif
 
 //=======================================================================
index c6773a68a7c184479813821ff4fb37099308b84b..0797018f921631ccc1f88d34bb662a2b73862475 100755 (executable)
@@ -58,7 +58,7 @@ Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOSG();
 #define M_INTERNAL(st) (st == TopAbs_INTERNAL)
 #define M_EXTERNAL(st) (st == TopAbs_EXTERNAL)
 
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
+Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
 
 
 //=======================================================================
@@ -237,13 +237,13 @@ void debfillp2(const Standard_Integer i) {cout <<"+ + debfillp2 "<<i<<endl;}
 #endif
 
 //Standard_IMPORT extern Standard_Boolean GLOBAL_faces2d;
-Standard_IMPORT Standard_Boolean GLOBAL_faces2d;
+extern Standard_Boolean GLOBAL_faces2d;
 
 Standard_EXPORT Standard_Boolean FDS_SIisGIofIofSBAofTofI(const TopOpeBRepDS_DataStructure& BDS,const Standard_Integer SI,const Handle(TopOpeBRepDS_Interference)& I);
 //Standard_IMPORT extern Standard_Boolean GLOBAL_IEtoMERGE; // xpu240498
 Standard_IMPORT Standard_Boolean GLOBAL_IEtoMERGE; // xpu240498
 //Standard_IMPORT extern Standard_Integer GLOBAL_issp;
-Standard_IMPORT Standard_Integer GLOBAL_issp;
+extern Standard_Integer GLOBAL_issp;
 //Standard_IMPORT extern Standard_Integer GLOBAL_hassd;
 Standard_IMPORT Standard_Integer GLOBAL_hassd;
 
index 6e379975d5583153de03b862c6149ea4f99a1d9f..dcf43e89cc619d063aa5af468bb82a89b841b6d5 100755 (executable)
@@ -43,10 +43,9 @@ Standard_IMPORT void FUN_draw2de (const TopoDS_Shape& ed,const TopoDS_Shape& fa)
 #endif
 
 #ifdef DEB
-//Standard_IMPORT extern void* GFABUMAKEFACEPWES_DEB;
-Standard_IMPORT void* GFABUMAKEFACEPWES_DEB;
+extern void* GFABUMAKEFACEPWES_DEB;
 #define DEBSHASET(sarg,meth,shaset,str) TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
-Standard_EXPORT Standard_Integer GLOBAL_iexE = 0;
+Standard_Integer GLOBAL_iexE = 0;
 Standard_EXPORT void debfillw(const Standard_Integer /*i*/) {}
 Standard_EXPORT void debfille(const Standard_Integer /*i*/) {}
 Standard_EXPORT void debffwesON(const Standard_Integer i) {cout<<"++ debffwesON "<<i<<endl;}
@@ -56,17 +55,13 @@ Standard_EXPORT void debsplite(const Standard_Integer i) {cout<<"++ debsplite "<
 Standard_EXPORT void debmergef(const Standard_Integer i) {cout<<"++ debmergef "<<i<<endl;}
 Standard_IMPORT void debfctwesmess(const Standard_Integer i,
                                   const TCollection_AsciiString& s = "");
-Standard_IMPORT void debaddpwes(const Standard_Integer iFOR,
-                               const TopAbs_State TB1,
-                               const Standard_Integer iEG,
-                               const TopAbs_Orientation neworiE,
-                               const TopOpeBRepBuild_PBuilder& PB,
-                               const TopOpeBRepBuild_PWireEdgeSet& PWES,
-                               const TCollection_AsciiString& str1,
-                               const TCollection_AsciiString& str2);
+extern void debaddpwes(const Standard_Integer iFOR, const TopAbs_State TB1, const Standard_Integer iEG,
+                       const TopAbs_Orientation neworiE, const TopOpeBRepBuild_PBuilder& PB,
+                       const TopOpeBRepBuild_PWireEdgeSet& PWES, const TCollection_AsciiString& str1, 
+                       const TCollection_AsciiString& str2);
 #endif
 
-Standard_EXPORT Standard_Boolean GLOBAL_faces2d = Standard_False;
+Standard_Boolean GLOBAL_faces2d = Standard_False;
 Standard_EXPORT Standard_Boolean GLOBAL_classifysplitedge = Standard_False;  
 
 #define M_IN(st )      (st == TopAbs_IN)
@@ -120,8 +115,8 @@ static Standard_Boolean FUN_BUI_FACESINTERFER(const TopoDS_Shape& F1,
 //function :TopOpeBRepBuild_FUN_aresamegeom
 //purpose  : 
 //=======================================================================
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom (const TopoDS_Shape& S1,
-                                                                 const TopoDS_Shape& S2)
+Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom (const TopoDS_Shape& S1,
+                                                  const TopoDS_Shape& S2)
 {
   TopoDS_Shape SF1 = S1; 
   SF1.Orientation(TopAbs_FORWARD);
index 0f6b8a9b64d8b46c3e9da1c51f994894023f9d7d..64e80d71a9478a58692eba7fd7e64142835c4881 100755 (executable)
 
 #ifdef DEB
 #define DEBSHASET(sarg,meth,shaset,str) TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 Standard_EXPORT void debsplitf(const Standard_Integer i){cout<<"++ debsplitf "<<i<<endl;}
 Standard_EXPORT void debspanc(const Standard_Integer i){cout<<"++ debspanc "<<i<<endl;}
-Standard_EXPORT Standard_Integer GLOBAL_iexF = 0;
+Standard_Integer GLOBAL_iexF = 0;
 #endif
 
 Standard_EXPORT Handle(Geom2d_Curve) BASISCURVE2D(const Handle(Geom2d_Curve)& C);
index 73e3918c52f23a64e01485e48b857a58bb07b8b1..898c660ac4686de9eb801a942c81d90fe4b5a0a1 100755 (executable)
@@ -71,8 +71,8 @@
 #ifdef HAVE_STRINGS_H
 # include <strings.h>
 #endif
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSXX(const Standard_Integer,const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSXX(const Standard_Integer,const Standard_Integer);
 static TCollection_AsciiString PRODINS("dins ");
 #endif
 
index c2cc474625cb59847f213ca9279a24d1b7880ef0..3f628c4b837034701e9bb03cc2af3b89e733bd71 100755 (executable)
@@ -48,7 +48,7 @@
 #include <Standard_ProgramError.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
+extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
 #endif
 
 static void FUN_Raise() {
index ac8122ee8d24fab940aad0026f4f4c246380bd19..bed95e8cbde4a0fe0476d1f40684f71448d2205c 100755 (executable)
@@ -40,7 +40,7 @@
 #include <BRepCheck_Result.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
 #endif
 //------------
 //static Standard_Integer ifvNbFace = 0;
index eea48bd7ecc453f4147642e563befbaa8d58aa1c..04b6b80a2367ddec15adab772090d4d28d8d0e0a 100755 (executable)
@@ -31,8 +31,8 @@
 #include <TopExp.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCLOV();
+extern Standard_Boolean TopOpeBRepTool_GettraceVC();
+extern Standard_Boolean TopOpeBRepTool_GettraceCLOV();
 #endif
 
 //=======================================================================
index da1211f9f35addadb1cc35f4fbfb9fe63d2291d0..beca43a40ce6c44e57ba1a21ae59d106f4414551 100755 (executable)
@@ -33,7 +33,7 @@
 #include <gp_Pnt.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
+extern Standard_Boolean TopOpeBRepTool_GettraceVC();
 #include <TopOpeBRepBuild_Builder.hxx>
 #include <gp_Pnt.hxx>
 #endif
index 1691008e55b45ddc315e25efcfa6e7a3c85aee58..db0e8bbd353acc5ae855dd6b8dfc8b8e82c5127e 100755 (executable)
@@ -32,9 +32,9 @@
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUSO();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSAVSREGU();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOREGUSO();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextREGUXPU();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSAVSREGU();
 Standard_EXPORT void debreguso(const Standard_Integer iS) {cout<<"++ debreguso "<<iS<<endl;}
 #endif
 
index ac2d4b2e9b3816d4565105a62ffb2b860d2b76db..db3902f2f6d1c466b37ff2c61969cac6800a31a9 100755 (executable)
 #define MGhc2 Handle(Geom2d_Curve)
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepBuild_GettraceSPS();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
 Standard_EXPORT void debsplitse(const Standard_Integer) {}
 Standard_EXPORT void debsplitsemess(const Standard_Integer i,const TCollection_AsciiString& s = "");
 Standard_EXPORT void debsplitsemess(const Standard_Integer i,const TCollection_AsciiString& s){cout<<"+++ debsplitse "<<s<<" E"<<i<<endl;debsplitse(i);}
 Standard_EXPORT void debspseou(const Standard_Integer i) {debsplitsemess(i,"OUT");}
 Standard_EXPORT void debspsein(const Standard_Integer i) {debsplitsemess(i,"IN ");}
 Standard_EXPORT void debspseon(const Standard_Integer i) {debsplitsemess(i,"ON ");}
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceC2D();
+extern Standard_Boolean TopOpeBRepTool_GettraceC2D();
 #endif
 
 #ifdef DRAW
@@ -651,49 +651,10 @@ void TopOpeBRepBuild_Builder::SplitSectionEdges()
   mySplitSectionEdgesDone = Standard_True;  
 } // SplitSectionEdges
 
-//Standard_IMPORT extern TopoDS_Shape GLOBALDS_shape1;
-Standard_EXPORTEXTERN TopoDS_Shape GLOBALDS_shape1;
-//Standard_IMPORT extern TopoDS_Shape GLOBALDS_shape2;
-Standard_EXPORTEXTERN TopoDS_Shape GLOBALDS_shape2;
-
-//unused
-/*#ifdef DEB
-static void FUN_removeonGB(const Handle(TopOpeBRepDS_HDataStructure)& HDS, const TopoDS_Edge& E) 
-{
-  // xpu041198 : removing interferences attached to bounds
-  //             or vertices sdm to bounds of edge<EIX>
-  // (PRO16032, e3on)
-  TopOpeBRepDS_DataStructure& BDS = HDS->ChangeDS();
-  TopOpeBRepDS_ListOfInterference& LI = BDS.ChangeShapeInterferences(E);
-  TopOpeBRepDS_TKI tki; tki.FillOnGeometry(LI);
-  for (tki.Init(); tki.More(); tki.Next()) {
-    TopOpeBRepDS_Kind K; Standard_Integer G; tki.Value(K,G);
-    TopOpeBRepDS_ListOfInterference& loi = tki.ChangeValue(K,G);
-    if (K==TopOpeBRepDS_VERTEX) {
-      const TopoDS_Vertex& vG = TopoDS::Vertex(BDS.Shape(G));
-      Standard_Integer iv = FUN_tool_orientVinE(vG,E);
-      if (iv == 0) {
-       TopoDS_Shape oovG;
-        Standard_Boolean sdm = FUN_ds_getoov(vG,BDS,oovG);
-       iv = FUN_tool_orientVinE(TopoDS::Vertex(oovG),E);
-      }
-      Standard_Boolean isonboundE = (iv != 0);
-      if (isonboundE) loi.Clear();
-    }
-  }
-  LI.Clear();
-  for (tki.Init(); tki.More(); tki.Next()) {
-    TopOpeBRepDS_Kind K; Standard_Integer G; tki.Value(K,G);
-    TopOpeBRepDS_ListOfInterference& loi = tki.ChangeValue(K,G);
-    LI.Append(loi);
-  }  
-} // FUN_removeonGB
-#endif*/
-
 #define TheIN (1)
 #define TheON (2)
 #define TheOUT (3)
-Standard_EXPORT Standard_Integer GLOBAL_issp = 0; //++
+Standard_Integer GLOBAL_issp = 0; //++
 
 #define HASSD2d (2)
 #define HASSD3d (3)
index 0c21c1264b39ba5f388abcd85ac0a8d4a3ac5c72..7464af5a36773e1873ca02a0bf1feff67f19d6c7 100755 (executable)
 #define Mso Standard_Ostream
 #define Mtcas TCollection_AsciiString
 
-#ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSPS();
-#endif
-
 //=======================================================================
 //function : TopOpeBRepBuild_ShapeListOfShape
 //purpose  : 
index 12a40d8fc47b54d62f0802a9e15f5beac2a5518e..dd93771fb9a4b9f61e94ee085a0c4f69b106d167 100755 (executable)
@@ -36,9 +36,9 @@ static TCollection_AsciiString PRODINS("dins ");
 #endif
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKOK();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHKNOK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHKOK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHKNOK();
 Standard_EXPORT void debaddss(){}
 Standard_IMPORT TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB;
 #endif
index 3cf2588ba3865ab98a3c7820204bed67edbc9c98..c65808a187fe9a8f944c4d92993e05ed861e299a 100755 (executable)
@@ -32,7 +32,7 @@
 #include <BRepAdaptor_Surface.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
 #endif
 
 //=======================================================================
index e29bff039cd42ff62e58641d2a516d22b163b688..941efed87d7bd03e5ffaed05820c126a6f955c02 100755 (executable)
@@ -31,7 +31,7 @@ static TCollection_AsciiString PRODINS("dins ");
 #include <TopoDS.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
 #endif
 
 //=======================================================================
index b5c341a5e597dd055ce474d3309773a0a1baf535..97db39bf22c6a4cf01450bccbe44549fa293ffeb 100755 (executable)
@@ -56,7 +56,7 @@
 #ifdef DEB
 #define TSTRA TopOpeBRepDS_GettraceSTRANGE()
 static TCollection_AsciiString PRODINS("dins ");
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 #endif
 
 //Standard_IMPORT extern TopOpeBRepBuild_Builder* GLOBAL_PBUILDER;
index 37936e1ce5a020813b98c02fc811eff57a438cf2..7ec5aa5fac13463c1fdb320dc4a3dda4a553d656 100755 (executable)
@@ -49,11 +49,11 @@ static TCollection_AsciiString PRODINS("dins ");
 #include <TopOpeBRepTool_2d.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer i);
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceSS();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX();
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
-Standard_EXPORT TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB = NULL;
+extern Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer i);
+extern Standard_Boolean TopOpeBRepBuild_GettraceSS();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+TopOpeBRepBuild_Builder* LOCAL_PBUILDER_DEB = NULL;
 void debwesclo(const Standard_Integer) {}
 #endif
 
index 0ea2312501df275019b4c356d22b3ec2b8ff4c40..955c4ad850da966ad086c2d81435860fde5a3794 100755 (executable)
 Standard_EXPORT void debfctwes(const Standard_Integer /*i*/) {}
 Standard_EXPORT void debfctwesmess(const Standard_Integer i,const TCollection_AsciiString& s = "")
 {cout<<"+ + + debfctwes "<<s<<"F"<<i<<endl;debfctwes(i);}
-Standard_EXPORT void debaddpwes(const Standard_Integer iFOR,const TopAbs_State TB1,const Standard_Integer iEG,const TopAbs_Orientation neworiE,
-                               const TopOpeBRepBuild_PBuilder& PB,const TopOpeBRepBuild_PWireEdgeSet& PWES,const TCollection_AsciiString& str1,const TCollection_AsciiString& str2);
+extern void debaddpwes(const Standard_Integer iFOR,const TopAbs_State TB1,const Standard_Integer iEG,const TopAbs_Orientation neworiE,
+                       const TopOpeBRepBuild_PBuilder& PB,const TopOpeBRepBuild_PWireEdgeSet& PWES,const TCollection_AsciiString& str1,const TCollection_AsciiString& str2);
 #endif
 
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
+Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
 
 #define M_IN(st )      (st == TopAbs_IN)
 #define M_OUT(st)      (st == TopAbs_OUT)
index 26ab5a4c8dc30a27ead412745cdac9c83c0216f3..e705e1eefb3464cc1d0a2e571d753ccf0c1a8f29 100755 (executable)
@@ -34,7 +34,7 @@ Standard_EXPORT void debffwesON(const Standard_Integer i);
 Standard_EXPORT void debffwesk(const Standard_Integer i) {cout<<"++ debffwesk "<<i<<endl;}
 #endif
 
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
+Standard_Boolean TopOpeBRepBuild_FUN_aresamegeom(const TopoDS_Shape& S1,const TopoDS_Shape& S2);
 
 #define M_IN(st )      (st == TopAbs_IN)
 #define M_OUT(st)      (st == TopAbs_OUT)
index ce4a0380e9b7372884b4eb5c122df54bc4a29250..98b6ee57a6c9fd266aaf3375d936fe343fefd726 100755 (executable)
@@ -23,8 +23,8 @@
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Integer GLOBAL_iexE;
-Standard_IMPORT Standard_Integer GLOBAL_iexF;
+extern Standard_Integer GLOBAL_iexE;
+extern Standard_Integer GLOBAL_iexF;
 Standard_Boolean STATIC_trace_iexE = Standard_False;
 Standard_Boolean STATIC_trace_iexF = Standard_False;
 Standard_EXPORT void debkeep(const Standard_Integer i) {cout<<"++ debkeep "<<i<<endl;}
index dfdedad3ad6f80860776691401d5f4e513a61bac..23de2ce37ca25259ee34df27493e2d1098a6bff1 100755 (executable)
@@ -38,7 +38,7 @@
 #include <Standard_ProgramError.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceKPB();
+extern Standard_Boolean TopOpeBRepBuild_GettraceKPB();
 void debiskole() {}
 #endif
 
index 6da23e068f6adfa01e39f8675b92b302d2c80640..f337bd82fbd35283c817a613abdc308462057ee1 100755 (executable)
@@ -29,8 +29,8 @@
 #include <TopOpeBRepBuild_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT void debfillp(const Standard_Integer i);
-Standard_EXPORT void debedbu(const Standard_Integer i) {cout<<"++ debedbu "<<i<<endl;}
+extern void debfillp(const Standard_Integer i);
+extern void debedbu(const Standard_Integer i) {cout<<"++ debedbu "<<i<<endl;}
 #endif
 
 #ifdef DRAW
index 12943d92562b69dcfb36082694aa6c075cca4285..46cc4870aee96fe233f372b466ec642e6d12fc50 100755 (executable)
 
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOPURGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GetcontextNOCORRISO();
-Standard_EXPORT Standard_Boolean TopOpeBRepBuild_GettraceCHK();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOPURGE();
+extern Standard_Boolean TopOpeBRepBuild_GetcontextNOCORRISO();
+extern Standard_Boolean TopOpeBRepBuild_GettraceCHK();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 #define DEBSHASET(sarg,meth,shaset,str) \
 TCollection_AsciiString sarg((meth));(sarg)=(sarg)+(shaset).DEBNumber()+(str);
 Standard_EXPORT void debgfabu(const Standard_Integer i) {cout<<"++ debgfabu "<<i<<endl;}
@@ -57,7 +57,7 @@ Standard_EXPORT Standard_Boolean DEBpurclo = Standard_False;
 void debpurclo() {}
 void debpurclomess(Standard_Integer i){cout<<"++ debpurclo "<<i<<endl;debpurclo();}
 Standard_EXPORT void debcorriso(const Standard_Integer i) {cout<<"++ debcorriso "<<i<<endl;}
-Standard_IMPORT void* GFABUMAKEFACEPWES_DEB;
+extern void* GFABUMAKEFACEPWES_DEB;
 #endif
 
 #ifdef DRAW
index 58f37ab7db14cda0fb931b210fd4b561b4753903..3cbb323cb3da8571b4b15171df1b6e3708c98c59 100755 (executable)
@@ -35,7 +35,7 @@
 #include <TopOpeBRepBuild_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
 Standard_EXPORT void debgsobu(const Standard_Integer /*iSO*/) {}
 #endif
 
index cc98b251c084275fd7f495dc7cd60bce41e63c1e..dcc1a45d2681544f14619eccb4b6a6299527d765 100755 (executable)
@@ -24,7 +24,7 @@
 #include <TopOpeBRepBuild_BuilderON.hxx>
 
 //Standard_IMPORT extern Standard_Boolean GLOBAL_faces2d;
-Standard_EXPORTEXTERN Standard_Boolean GLOBAL_faces2d;
+extern Standard_Boolean GLOBAL_faces2d;
 
 //=======================================================================
 //function : GFillONPartsWES
index 549512e0b31c481f9a601221993c0c76e1697841..616f1c433112ce293ec67dc49397010e417cd7f3 100755 (executable)
 #include <Geom2d_TrimmedCurve.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceDSNC();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceBUTO();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceTRPE();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSANTRAN();
+extern Standard_Boolean TopOpeBRepDS_GettraceDSNC();
+extern Standard_Boolean TopOpeBRepDS_GettraceBUTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceTRPE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSANTRAN();
 static void DUMPCURVES(const Handle(Geom_Curve)& C3D,const TopOpeBRepDS_Curve& C)
 {
   if ( !C3D.IsNull() ) {
index c52eb509069624589fd08f130b3244d5c1d0767d..34bc635a22a29c4de4280b9c4bff6dac9d347274 100755 (executable)
 //modified by NIZNHY-PKV Tue Oct 30 09:21:44 2001 t
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 #include <TCollection_AsciiString.hxx>
 #include <TopOpeBRepDS.hxx>
 #endif
 
-Standard_EXPORT TopoDS_Shape GLOBALDS_shape1;
-Standard_EXPORT TopoDS_Shape GLOBALDS_shape2;
-
 //=======================================================================
 //function : TopOpeBRepDS_DataStructure
 //purpose  : 
index 79f0d0afbfe95a41d5bee6e10116f986fecc2709..0f7610ceb7b14495d5f8f89df3b85b8ca89e2a09 100755 (executable)
@@ -38,7 +38,7 @@
 #ifdef DEB
 #include <TopOpeBRepDS_reDEB.hxx>
 Standard_EXPORT void debredpnc(const Standard_Integer ie){cout<<"+++ debredpnc e"<<ie<<endl;}
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPNC();
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPNC();
 #endif
 
 #define M_FORWARD(O)  (O == TopAbs_FORWARD)
index e229364b7e4da3301af9ce67ecbd9684dc2ec669..684f16effc3b47b78dbad6aa8f122ceb42fe3009 100755 (executable)
@@ -56,7 +56,7 @@
 
 #ifdef DEB
 #include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 Standard_EXPORT void debse1(const Standard_Integer i) {cout<<"+ debse1 se"<<i<<endl;}
 Standard_EXPORT void debse2(const Standard_Integer i) {cout<<"+ debse2 se"<<i<<endl;}
 Standard_EXPORT void debse3(const Standard_Integer i) {cout<<"+ debse3 se"<<i<<endl;}
index 10fcfe2cf89ba6c914e1fbbcd72f38472db343f3..f44e6da3e6cd301cc4f809426c8a5f35fb6c1fd9 100755 (executable)
@@ -42,8 +42,8 @@
 #define MDSkf TopOpeBRepDS_FACE
 
 #ifdef DEB
-Standard_EXPORT void debrededg(const Standard_Integer I) {cout<<"+++ debrededg f"<<I<<endl;}
-Standard_EXPORT void debredfac(const Standard_Integer I) {cout<<"+++ debredfac f"<<I<<endl;}
+void debrededg(const Standard_Integer I) {cout<<"+++ debrededg f"<<I<<endl;}
+void debredfac(const Standard_Integer I) {cout<<"+++ debredfac f"<<I<<endl;}
 void FUN_dumploiS(const TopoDS_Shape& SG,const TopOpeBRepDS_ListOfInterference& loi,const TopOpeBRepDS_DataStructure& BDS,TCollection_AsciiString str) 
 {
   cout<<str<<"   G : "<<BDS.Shape(SG)<<"   S : ";
@@ -61,11 +61,11 @@ void FUN_dumpmosd(TopOpeBRepDS_MapOfShapeData& mosd,const TopOpeBRepDS_DataStruc
 #endif
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean FTRCF(const Standard_Integer F) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
index 96df257798ff87bde714d86f2b8ea90ab41821b1..3480c89894dba731f4fd89f08c0ebc506554ca17 100755 (executable)
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean FTRCF(const Standard_Integer F) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
@@ -57,7 +57,7 @@ static Standard_Boolean FTRCE(const Standard_Integer E) {
   Standard_Boolean b3 = TopOpeBRepDS_GettraceSPSX(E);
   return (b1 || b2 || b3);
 }*/
-Standard_IMPORT void debredfac(const Standard_Integer I);
+extern void debredfac(const Standard_Integer I);
 #endif
 
 static Standard_Boolean STATIC_TOREVERSE = Standard_False; // xpu150498
index e0eb4134d8781257a2b64397a04a054db9041961..2adbef7181fb353251d788d5a3720b274dcd8636 100755 (executable)
@@ -27,9 +27,9 @@
 #include <TopOpeBRepDS_ListIteratorOfListOfInterference.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 //unreferenced function, commented
 /*static Standard_Boolean TRCE(const Standard_Integer EIX) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
index 8a304713b5a06363f8a9ab1f3e9a48db55066569..5ea9e0eae2d288c594c06fcdfbcb920c498706c0 100755 (executable)
@@ -28,8 +28,8 @@
 #include <TopOpeBRepDS_ProcessInterferencesTool.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePCI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettracePCI();
 static Standard_Boolean TRCC() {
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
   Standard_Boolean b3 = TopOpeBRepDS_GettracePCI();
index a04889e617f9d099647a17d05ab3f9fbb914bd75..e3abffb97dd75066ad7746922343283b937e14d9 100755 (executable)
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceEDPR();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceEDPR();
 static Standard_Boolean TRCE(const Standard_Integer SIX) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
index 2d702a5599f33f3d0575a1f44e2d596ec6d1a2c8..a571c3499853721d043a550f87719454d5fa8ed9 100755 (executable)
 #include <TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State.hxx>
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean TRCF(const Standard_Integer F) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
index 6b987560aebcd9f248c6771b653be5b109131f30..4d2becbd4784955ba3d0df9017c385728e537d3b 100755 (executable)
@@ -45,8 +45,8 @@
 #include <Geom2d_Curve.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceGAP();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextNOGAP();
+extern Standard_Boolean TopOpeBRepDS_GettraceGAP();
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOGAP();
 #endif
 
 //=======================================================================
index 1517499ac858c059b2dbb7f08f1e735493e0dae5..fb8d9e7b6e2c46c902aa50dfadeaba85cfdc4ae3 100755 (executable)
@@ -26,7 +26,7 @@
 #include <TopOpeBRepDS_CurvePointInterference.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceGAP();
+extern Standard_Boolean TopOpeBRepDS_GettraceGAP();
 #endif
 
 //=======================================================================
index b75f66fdb902e4ba1eb41b46e50ebdd2e5d15c44..69a5cf05c8ef2043d0302fba584e42e5f375d4c7 100755 (executable)
 #include <TopOpeBRepDS_define.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceISTO();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDSF(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDSFD(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceDEGEN(); 
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePCI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceISTO();
+extern Standard_Boolean TopOpeBRepDS_GettraceEDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSF(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDSFD(); 
+extern Standard_Boolean TopOpeBRepDS_GettraceDEGEN(); 
+extern Standard_Boolean TopOpeBRepDS_GettracePCI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 
 static Standard_Boolean traceSTORE()
 {
@@ -700,8 +700,8 @@ Standard_Boolean TopOpeBRepDS_HDataStructure::GetGeometry
 }
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceSTRANGE();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean TRC(const Standard_Integer SIX) {
   Standard_Boolean b1 = TopOpeBRepDS_GettraceSTRANGE();
   Standard_Boolean b2 = TopOpeBRepDS_GettraceSPSX(SIX);
index e917cd252efbeccb187c711f19d6403d7006d369..e07a6ee17527a5b453495472e345e568eda98a3b 100755 (executable)
 #include <TopOpeBRepTool_SC.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceEDPR();
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettraceEDPR();
 static Standard_Boolean TRCE(const Standard_Integer SIX) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
index c3d5af6e13f1c86ace185a15ff9b59fbfbd7b267..c9b023c1d7132a5efe34cf53089c8a6cf00bcd1f 100755 (executable)
@@ -63,18 +63,17 @@ Standard_EXPORT void FUN_UNKFstasta(const TopoDS_Face& FF,const TopoDS_Face& FS,
 #define MAKEFEI(IJKLM) (Handle(TopOpeBRepDS_FaceEdgeInterference)::DownCast(IJKLM))
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePFI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_EXPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GetcontextNOPFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePFI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean TRCF(const Standard_Integer F) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePFI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
   Standard_Boolean b3 = TopOpeBRepDS_GettraceSPSX(F);
   return (b1 || b2 || b3);
 }
-Standard_EXPORT void debrededg(const Standard_Integer I);
-Standard_EXPORT void debredunkf(const Standard_Integer /*i*/){};
+static void debredunkf(const Standard_Integer /*i*/){};
 #endif
 
 Standard_EXPORT Standard_Boolean FUN_Parameters(const gp_Pnt& Pnt,const TopoDS_Shape& F,Standard_Real& u,Standard_Real& v);
index c4e3103c7de6c1037c3b4346ee71e7238b392fe4..48ef28c6e8b315b3d9b143b32aaeb029031a43f7 100755 (executable)
@@ -41,9 +41,9 @@
 #include <TopOpeBRepDS_EXPORT.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePEI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettracePI();
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
+extern Standard_Boolean TopOpeBRepDS_GettracePEI();
+extern Standard_Boolean TopOpeBRepDS_GettracePI();
+extern Standard_Boolean TopOpeBRepDS_GettraceSPSX(const Standard_Integer);
 static Standard_Boolean TRCE(const Standard_Integer EIX) {
   Standard_Boolean b1 = TopOpeBRepDS_GettracePEI();
   Standard_Boolean b2 = TopOpeBRepDS_GettracePI();
index 2c20985501c08d0bcef418e23ccabab83f6eb418..e8ffdc5a3709975689975ce0b1d6c4db087053b7 100755 (executable)
@@ -35,7 +35,7 @@ static Standard_Boolean GLOBAL_FDSCNX_prepared = Standard_False;
 //function : FDSCNX_Close
 //purpose  : 
 //=======================================================================
-Standard_EXPORT void FDSCNX_Close()
+void FDSCNX_Close()
 {
   if (GLOBAL_elf1) {
     delete GLOBAL_elf1;
index 7308625b6afff0519839718418cde7bf08dd725d..65b16d1f72e7acf33af851951163059044834e94 100755 (executable)
@@ -44,7 +44,7 @@
 
 #ifdef DEB
 #include <TopOpeBRepDS_reDEB.hxx>
-Standard_IMPORT Standard_Boolean TopOpeBRepDS_GetcontextMKTONREG();
+extern Standard_Boolean TopOpeBRepDS_GetcontextMKTONREG();
 #endif
   
 //------------------------------------------------------
index 3aa3919f01e37c43ce8d5635be912694639c09f9..03dd1f6c127f479932eb9fd108e135c8167ad900 100755 (executable)
@@ -37,7 +37,7 @@ static Handle(TopOpeBRepDS_HDataStructure)*      Ghds;
 //function :FDSSDM_Close
 //purpose  : 
 //=======================================================================
-Standard_EXPORT void FDSSDM_Close()
+void FDSSDM_Close()
 {
   if (Gps1) {
     delete Gps1;
index 1e93f7d47351e77564590930084124767c753e27..414ea5765d92b09916dfb1925a6e097988575b48 100755 (executable)
@@ -42,7 +42,7 @@
 #include <BRep_GCurve.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
+extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
 Standard_EXPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
 Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
 #endif
index e7d5928eb9547b75c72de86a2cc8c310f2af3fb0..cf85375b5f517b95ba97d6cfa64547db696b280c 100755 (executable)
 #include <Geom_RectangularTrimmedSurface.hxx>
 #include <BRep_Tool.hxx>
 
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePCURV();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
-
 #ifdef DEB
 #include <TopOpeBRepTool_KRO.hxx>
 TOPKRO KRO_CURVETOOL_APPRO("approximation");
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettraceKRO();
+extern Standard_Boolean TopOpeBRepTool_GettracePCURV();
+extern Standard_Boolean TopOpeBRepTool_GettraceCHKBSPL();
 #endif
 //#define DRAW
 //#define IFV 
index 82282b2d7f7215bf033209b7ae789891557495e1..08ff9b37f6c1d9de1cc9f62b432d3deeb2223d09 100755 (executable)
@@ -76,7 +76,7 @@
 #include <BSplCLib.hxx>
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepBuild_GettraceFE();
+extern Standard_Boolean TopOpeBRepBuild_GettraceFE();
 #endif
 
 //=======================================================================
index 9b3a9bf6c1006856991e539bbdd9c3ccc92b80aa..ac9c0a41676c947c79fe9c9342741d7a7feda822 100755 (executable)
@@ -52,8 +52,8 @@
 //Standard_EXPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds, STATIC_CORR_mapeds;
 
 Standard_EXPORT void debcorrUV(){};
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
+extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
+extern Standard_Boolean TopOpeBRepTool_GettraceCORRISO();
 #endif
 // DEB
 
index 4c5f8cd0687ad6b85c846c6fdab382e3b56ad76f..c3fecfbe80b3d15b79a1142e23a91c29c78706ab 100755 (executable)
 #include <gp_Pnt2d.hxx>
 
 #ifdef DEB
-Standard_IMPORT void FUN_REINIT();
-Standard_IMPORT Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
-Standard_IMPORT Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
-Standard_IMPORT Standard_Integer FUN_adds(const TopoDS_Shape& s);
-Standard_IMPORT void FUN_tool_trace(const Standard_Integer Index);
-Standard_IMPORT  void FUN_tool_trace(const gp_Pnt2d p2d);
+extern void FUN_REINIT();
+extern Standard_Integer FUN_addepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
+extern Standard_Integer FUN_addcheckepc(const TopoDS_Shape& ed,const TopoDS_Shape& f);
+extern Standard_Integer FUN_adds(const TopoDS_Shape& s);
+extern void FUN_tool_trace(const Standard_Integer Index);
+extern void FUN_tool_trace(const gp_Pnt2d p2d);
 #endif
 // ----------------------------------------------------------------------
 // TopOpeBRepTool_closing.cxx
index 877cf6142e1a62aaf89895536a97efcef4ea8363..4bb368cf8592fc541483f35cab1d2e643f88a078 100755 (executable)
@@ -49,7 +49,7 @@
 #define CLOSING  (5)
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUSO(); 
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUSO(); 
 static TopTools_IndexedMapOfShape STATIC_mape, STATIC_mapf, STATIC_mapw, STATIC_mapsh;
 static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
   TopAbs_ShapeEnum typ = s.ShapeType();
index 320d23fe9c0a7a257b6b9d45446c0225391b443e..ccdb88861d6cfa6c90dd433739d4846da68292bf 100755 (executable)
@@ -47,7 +47,7 @@
 #define M_EXTERNAL(ori) (ori == TopAbs_EXTERNAL) 
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA(); 
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA(); 
 static TopTools_IndexedMapOfShape STATIC_mapf, STATIC_mapw, STATIC_mapv;
 static TopTools_IndexedMapOfOrientedShape STATIC_mapeds;
 void FUN_tro(const Standard_Integer i)
@@ -73,7 +73,7 @@ Standard_EXPORT Standard_Integer FUN_adds(const TopoDS_Shape& s) {
 }
 #endif
 
-Standard_IMPORT void FUN_tool_tori(const TopAbs_Orientation Or);
+extern void FUN_tool_tori(const TopAbs_Orientation Or);
 
 void FUN_tool_Add(TopTools_DataMapOfShapeListOfShape& map,const TopoDS_Shape& key, const TopoDS_Shape& subitem)
 {
index 49b87a23e38e71051165c18e140778530ec96857..24e8cdc4fc59a519bf13b7db466889c767359b4d 100755 (executable)
@@ -47,7 +47,7 @@
 #define M_EXTERNAL(sta) (sta == TopAbs_EXTERNAL)
 
 #ifdef DEB
-Standard_EXPORT Standard_Boolean TopOpeBRepTool_GettraceREGUFA(); 
+extern Standard_Boolean TopOpeBRepTool_GettraceREGUFA(); 
 static TopTools_IndexedMapOfShape STATIC_mapw,STATIC_mapf;
 static Standard_Integer FUN_adds(const TopoDS_Shape& s) {
   TopAbs_ShapeEnum typ = s.ShapeType();
index 8b75069a1f6573c0ddf41dcc0ee11169ce7a5400..9c6f44e14d7c286d4694b440cf6d043ca982021e 100755 (executable)
@@ -250,8 +250,8 @@ Standard_Boolean TopOpeBRepTool_ShapeTool::Closed(const TopoDS_Shape& S1,
 
 
 #ifdef DEB
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceVC();
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettraceNYI();
+extern Standard_Boolean TopOpeBRepTool_GettraceVC();
+extern Standard_Boolean TopOpeBRepTool_GettraceNYI();
 #endif
 
 
index 0e07111e6bb122f125d0fec394b87b1aab87e1d3..b4964ebe6e895da8a6a02204b98bd5a2870251d2 100755 (executable)
 #endif
 
 #ifdef DEB
-//Standard_IMPORT extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
-Standard_IMPORT TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
-//Standard_IMPORT extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
-Standard_IMPORT TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
-Standard_IMPORT Standard_Boolean TopOpeBRepTool_GettracePURGE();
+extern TopTools_IndexedMapOfShape STATIC_PURGE_mapv;
+extern TopTools_IndexedMapOfOrientedShape STATIC_PURGE_mapeds;
+extern Standard_Boolean TopOpeBRepTool_GettracePURGE();
 Standard_EXPORT void FUN_REINIT()
 {STATIC_PURGE_mapv.Clear(); STATIC_PURGE_mapeds.Clear();}
 static void FUN_RaiseError()
index a6586d30314b1bc64aa9b42e7bfbca4bb0c75ff6..32dc2811028e588eaecf142ac634f8916ba33989 100755 (executable)
@@ -155,7 +155,7 @@ extern ViewerTest_DoubleMapOfInteractiveAndName& GetMapOfAIS();
 extern Standard_Boolean VDisplayAISObject (const TCollection_AsciiString& theName,
                                            const Handle(AIS_InteractiveObject)& theAISObj,
                                            Standard_Boolean theReplaceIfExists = Standard_True);
-Standard_IMPORT int ViewerMainLoop(Standard_Integer argc, const char** argv);
+extern int ViewerMainLoop(Standard_Integer argc, const char** argv);
 extern Handle(AIS_InteractiveContext)& TheAISContext();