mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00: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:
@@ -106,7 +106,7 @@ Standard_Boolean Blend_CSWalking::Recadre(Blend_FuncInv& FuncInv,
|
||||
|
||||
if (!rsnld.IsDone()) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "RSNLD not done "<< endl << endl;
|
||||
std::cout << "RSNLD not done "<< std::endl << std::endl;
|
||||
#endif
|
||||
return Standard_False;
|
||||
}
|
||||
|
@@ -252,7 +252,7 @@ void Blend_CSWalking::InternalPerform(Blend_CSFunction& Func,
|
||||
case Blend_SamePoints :
|
||||
{
|
||||
// On arrete
|
||||
cout << " Points confondus dans le cheminement" << endl;
|
||||
std::cout << " Points confondus dans le cheminement" << std::endl;
|
||||
/*
|
||||
Exts.SetValue(previousP.PointOnS(),sol(1),sol(2),tolesp);
|
||||
Extc.SetValue(previousP.PointOnC(),sol(3),tolesp);
|
||||
|
@@ -270,7 +270,7 @@ Standard_Boolean Blend_Walking::Recadre(Blend_FuncInv& FuncInv,
|
||||
rsnld.Perform(FuncInv,solrst,infb,supb);
|
||||
if (!rsnld.IsDone()) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Walking::Recadre : RSNLD not done " << endl;
|
||||
std::cout << "Walking::Recadre : RSNLD not done " << std::endl;
|
||||
#endif
|
||||
recadre = Standard_False;
|
||||
}
|
||||
@@ -318,7 +318,7 @@ Standard_Boolean Blend_Walking::Recadre(Blend_FuncInv& FuncInv,
|
||||
|
||||
if (!aRsnld.IsDone()) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Walking::Recadre : RSNLD not done " << endl;
|
||||
std::cout << "Walking::Recadre : RSNLD not done " << std::endl;
|
||||
#endif
|
||||
recadre = Standard_False;
|
||||
}
|
||||
@@ -429,7 +429,7 @@ void Blend_Walking::Transition(const Standard_Boolean OnFirst,
|
||||
normale.SetXYZ(thenormal.XYZ());
|
||||
#ifdef OCCT_DEBUG
|
||||
if (stat == CSLib_InfinityOfSolutions)
|
||||
cout << "Blend_Walking::Transition : Infinite de Normal" << endl;
|
||||
std::cout << "Blend_Walking::Transition : Infinite de Normal" << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -466,7 +466,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
|
||||
// Sinon echec recadrage. On sort avec PointsConfondus
|
||||
else {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Echec recadrage" << endl;
|
||||
std::cout << "Echec recadrage" << std::endl;
|
||||
#endif
|
||||
State = Blend_SamePoints;
|
||||
}
|
||||
@@ -723,7 +723,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
|
||||
{
|
||||
// On arrete
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << " Points confondus dans le cheminement" << endl;
|
||||
std::cout << " Points confondus dans le cheminement" << std::endl;
|
||||
#endif
|
||||
Ext1.SetValue(previousP.PointOnS1(),
|
||||
sol(1),sol(2),
|
||||
|
Reference in New Issue
Block a user