1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +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:
tiv
2019-08-02 10:32:16 +03:00
committed by bugmaster
parent 3977d18aca
commit 0423218095
972 changed files with 8554 additions and 8550 deletions

View File

@@ -612,8 +612,8 @@ static gp_Pnt2d ValueOnFace(const Standard_Real U,
}
else {
#ifdef OCCT_DEBUG
cout << "MultiLine : D1 = D2 and the Curve is not a circle" << endl;
cout << " ---> ValueOnFace failed at parameter U = " << U << endl;
std::cout << "MultiLine : D1 = D2 and the Curve is not a circle" << std::endl;
std::cout << " ---> ValueOnFace failed at parameter U = " << U << std::endl;
#endif
throw Standard_ConstructionError("BRepFill_MultiLine: ValueOnFace");
}
@@ -665,8 +665,8 @@ static gp_Pnt2d ValueOnFace(const Standard_Real U,
if ( !Intersector.IsDone()) {
#ifdef OCCT_DEBUG
cout << "Intersector not done" << endl;
cout << " ---> ValueonFace failed at parameter U = " << U << endl;
std::cout << "Intersector not done" << std::endl;
std::cout << " ---> ValueonFace failed at parameter U = " << U << std::endl;
#endif
return gp_Pnt2d(0.,0.);
}
@@ -685,8 +685,8 @@ static gp_Pnt2d ValueOnFace(const Standard_Real U,
}
else {
#ifdef OCCT_DEBUG
cout << "Intersector done, but no points found" << endl;
cout << " ---> ValueonFace failed at parameter U = " << U << endl;
std::cout << "Intersector done, but no points found" << std::endl;
std::cout << " ---> ValueonFace failed at parameter U = " << U << std::endl;
#endif
if (Abs(Dist - PL.Y()) < Abs(Dist - PF.Y()))
VV = TheV.LastParameter();