]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Porting to new OCCT version V9_4_0a1
authorjfa <jfa@opencascade.com>
Tue, 3 Sep 2019 09:25:16 +0000 (12:25 +0300)
committerjfa <jfa@opencascade.com>
Tue, 3 Sep 2019 09:25:16 +0000 (12:25 +0300)
src/BlockFix/BlockFix_CheckTool.cxx
src/GEOM/GEOM_Engine.cxx
src/GEOM_I/GEOM_BaseObject_i.cc

index 1bb80e42576282f657ccb1e28853fee6c4ec7a2e..85c316fae2b87553e516e4f8a3446abb4d9aa3f0 100644 (file)
@@ -277,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;
   }
 }
 
index b19fd240cf90e273c4f65b51892a49b4c12750e5..9376296382bacaa3ab1f228bd02caf8c2ae262be 100644 (file)
@@ -82,6 +82,7 @@
 
 #ifdef _DEBUG_
 static int MYDEBUG = 0;
+using namespace std;
 #else
 static int MYDEBUG = 0;
 #endif
index 83d45c672f1a523d55dab66fa3595ce07cd09987..953995317e5a468381cb5ee1fe330ffa97979340 100644 (file)
@@ -288,22 +288,22 @@ GEOM::CreationInformationSeq* GEOM_BaseObject_i::GetCreationInformation()
 #ifdef _DEBUG_
         if ( operationName.empty() )
         {
-          cout << endl << endl << endl << "Warning: " << endl << "Dear developer!!!" << endl
-               << "  Consider implementing "
-               <<    typeid(*(driver.operator->())).name() << "::GetCreationInformation() " << endl
-               << "  for the case of operation which has created '" << GetName() << "' object" << endl
-               << "PLEEEEEEEASE" << endl
-               << "\tPLEEEEEEEASE" << endl
-               << "\t\tPLEEEEEEEASE" << endl
-               << "\t\t\tPLEEEEEEEASE" << endl
-               << "\t\t\t\tPLEEEEEEEASE" << endl;
+          std::cout << std::endl << std::endl << std::endl << "Warning: " << std::endl << "Dear developer!!!" << std::endl
+                    << "  Consider implementing "
+                    <<    typeid(*(driver.operator->())).name() << "::GetCreationInformation() " << std::endl
+                    << "  for the case of operation which has created '" << GetName() << "' object" << std::endl
+                    << "PLEEEEEEEASE" << std::endl
+                    << "\tPLEEEEEEEASE" << std::endl
+                    << "\t\tPLEEEEEEEASE" << std::endl
+                    << "\t\t\tPLEEEEEEEASE" << std::endl
+                    << "\t\t\t\tPLEEEEEEEASE" << std::endl;
         }
 #endif
       }
       catch(...)
       {
 #ifdef _DEBUG_
-        cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << endl;
+        std::cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << std::endl;
 #endif
       }
     }