mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -1784,7 +1784,7 @@ void GeomLib::ExtendSurfByLength(Handle(Geom_BoundedSurface)& Surface,
|
||||
|
||||
if (NullWeight) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Echec de l'Extension rationnelle" << endl;
|
||||
std::cout << "Echec de l'Extension rationnelle" << std::endl;
|
||||
#endif
|
||||
lambmin /= 3.;
|
||||
NullWeight = Standard_False;
|
||||
@@ -1884,8 +1884,8 @@ void GeomLib::Inertia(const TColgp_Array1OfPnt& Points,
|
||||
math_Jacobi J(M);
|
||||
if (!J.IsDone()) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Erreur dans Jacobbi" << endl;
|
||||
M.Dump(cout);
|
||||
std::cout << "Erreur dans Jacobbi" << std::endl;
|
||||
M.Dump(std::cout);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -679,8 +679,8 @@ Standard_Integer FillSubIntervals(const Handle(Geom_Curve)& theCurve3d,
|
||||
catch(Standard_Failure const&)
|
||||
{
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "ERROR! BRepLib_CheckCurveOnSurface.cxx, "
|
||||
"FillSubIntervals(): Incorrect filling!" << endl;
|
||||
std::cout << "ERROR! BRepLib_CheckCurveOnSurface.cxx, "
|
||||
"FillSubIntervals(): Incorrect filling!" << std::endl;
|
||||
#endif
|
||||
|
||||
aNbSubIntervals = 0;
|
||||
@@ -765,7 +765,7 @@ Standard_Boolean MinComputing (
|
||||
theBestValue, anOutputParam))
|
||||
{
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "BRepLib_CheckCurveOnSurface::Compute(): math_PSO is failed!" << endl;
|
||||
std::cout << "BRepLib_CheckCurveOnSurface::Compute(): math_PSO is failed!" << std::endl;
|
||||
#endif
|
||||
return Standard_False;
|
||||
}
|
||||
@@ -804,7 +804,7 @@ Standard_Boolean MinComputing (
|
||||
catch(Standard_Failure const&)
|
||||
{
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "BRepLib_CheckCurveOnSurface.cxx: Exception in MinComputing()!" << endl;
|
||||
std::cout << "BRepLib_CheckCurveOnSurface.cxx: Exception in MinComputing()!" << std::endl;
|
||||
#endif
|
||||
return Standard_False;
|
||||
}
|
||||
|
Reference in New Issue
Block a user