Salome HOME
updated copyright message
[modules/geom.git] / src / BlockFix / BlockFix_CheckTool.cxx
index 5c6b398cfed9d027c4b942053c8f4f4415a4c772..ecbcd6d348763b5a1edd51b5deeab4807ed75972 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #include <TopoDS_Edge.hxx>
 #include <TopoDS_Face.hxx>
 #include <TopoDS_Solid.hxx>
-#include <TopoDS_Shape.hxx>
 #include <TopoDS_Vertex.hxx>
 
 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
 #include <TopTools_IndexedMapOfShape.hxx>
 #include <TopTools_MapOfShape.hxx>
-#include <TopTools_ListOfShape.hxx>
 #include <TopTools_ListIteratorOfListOfShape.hxx>
 
 //=======================================================================
@@ -279,18 +277,18 @@ TopoDS_Shape BlockFix_CheckTool::PossibleBlock(const Standard_Integer num) const
 void BlockFix_CheckTool::DumpCheckResult(Standard_OStream& S) const
 {
   if(!myHasCheck)
-    S<<"Check not performed!"<<endl;
+    S<<"Check not performed!"<<std::endl;
   else {
-    S<<"dump results of check:"<<endl;
-    S<<"  total number of solids = "<<myNbSolids<<endl;
-    S<<"  including: number of good blocks = "<<myNbBlocks<<endl;
-    S<<"             number of possible blocks = "<<NbPossibleBlocks()<<endl;
-    S<<"             including: need remove degenerative = "<<myNbDegen<<endl;
-    S<<"                        need unionfaces = "<<myNbUF<<endl;
-    S<<"                        need unionedges = "<<myNbUE<<endl;
-    S<<"                        need both unionfaces and unionedges = "<<myNbUFUE<<endl;
+    S<<"dump results of check:"<<std::endl;
+    S<<"  total number of solids = "<<myNbSolids<<std::endl;
+    S<<"  including: number of good blocks = "<<myNbBlocks<<std::endl;
+    S<<"             number of possible blocks = "<<NbPossibleBlocks()<<std::endl;
+    S<<"             including: need remove degenerative = "<<myNbDegen<<std::endl;
+    S<<"                        need unionfaces = "<<myNbUF<<std::endl;
+    S<<"                        need unionedges = "<<myNbUE<<std::endl;
+    S<<"                        need both unionfaces and unionedges = "<<myNbUFUE<<std::endl;
     Standard_Integer nbtmp = myNbSolids - myNbBlocks - NbPossibleBlocks();
-    S<<"             number of impossible blocks = "<<nbtmp<<endl;
+    S<<"             number of impossible blocks = "<<nbtmp<<std::endl;
   }
 }