mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
"endl" manipulator for Message_Messenger is renamed to "Message_EndLine". The following entities from std namespace are now used with std:: explicitly specified (from Standard_Stream.hxx): std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream, std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr, std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision, std::hex,std::dec.
This commit is contained in:
@@ -443,7 +443,7 @@ void BRepClass3d_SClassifier::Perform(BRepClass3d_SolidExplorer& SolidExplorer,
|
||||
if (tran == IntCurveSurface_Tangent)
|
||||
{
|
||||
#ifdef OCCT_DEBUG
|
||||
cout<<"*Problem ds BRepClass3d_SClassifier.cxx"<<endl;
|
||||
std::cout<<"*Problem ds BRepClass3d_SClassifier.cxx"<<std::endl;
|
||||
#endif
|
||||
continue; // ignore this point
|
||||
}
|
||||
|
@@ -655,7 +655,7 @@ Standard_Integer BRepClass3d_SolidExplorer::OtherSegment(const gp_Pnt& P,
|
||||
_Par=0.0;
|
||||
myReject=Standard_True;
|
||||
#ifdef OCCT_DEBUG
|
||||
cout<<"\nWARNING : BRepClass3d_SolidExplorer.cxx (Solid without face)"<<endl;
|
||||
std::cout<<"\nWARNING : BRepClass3d_SolidExplorer.cxx (Solid without face)"<<std::endl;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@@ -853,7 +853,7 @@ void BRepClass3d_SolidExplorer::InitShape(const TopoDS_Shape& S)
|
||||
|
||||
#ifdef OCCT_DEBUG
|
||||
if(myReject) {
|
||||
cout<<"\nWARNING : BRepClass3d_SolidExplorer.cxx (Solid without face)"<<endl;
|
||||
std::cout<<"\nWARNING : BRepClass3d_SolidExplorer.cxx (Solid without face)"<<std::endl;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user