1
0
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:
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

@@ -37,7 +37,7 @@ void TopClass_Classifier3d::Compare(const TopoDS_Face& Face,
const TopAbs_Orientation) {
if(!isSet) {
#ifdef OCCT_DEBUG
cout<<" Call to TopClass_Classifier3d::Compare without a Reset ! ";
std::cout<<" Call to TopClass_Classifier3d::Compare without a Reset ! ";
#endif
return;
}
@@ -53,7 +53,7 @@ void TopClass_Classifier3d::Compare(const TopoDS_Face& Face,
if(Abs(myParam)<=myTolerance) {
//-- #########################################
#ifdef OCCT_DEBUG
cout<<" myParam = "<<myParam<<" ds TopClass_Classifier3d.gxx "<<endl;
std::cout<<" myParam = "<<myParam<<" ds TopClass_Classifier3d.gxx "<<std::endl;
#endif
//-- #########################################
myState = TopAbs_ON;
@@ -70,7 +70,7 @@ void TopClass_Classifier3d::Compare(const TopoDS_Face& Face,
}
#ifdef OCCT_DEBUG
else {
cout<<" -------- Probleme ds TopClass_Classifier3d.gxx "<<endl;
std::cout<<" -------- Probleme ds TopClass_Classifier3d.gxx "<<std::endl;
}
#endif
}

View File

@@ -82,8 +82,8 @@ void TopClass_SolidClassifier::Perform(TheSolidExplorer& SolidExplorer,
#ifdef OCCT_DEBUG
if (trace) {
//-- #########################################
cout<<" parmin = "<<parmin<< " avec Par = "<<Par;
cout<<" ds TopClass_SolidClassifier.gxx "<<endl;
std::cout<<" parmin = "<<parmin<< " avec Par = "<<Par;
std::cout<<" ds TopClass_SolidClassifier.gxx "<<std::endl;
//-- #########################################
}
#endif
@@ -105,7 +105,7 @@ void TopClass_SolidClassifier::Perform(TheSolidExplorer& SolidExplorer,
}
else {
#ifdef OCCT_DEBUG
cout<<"*Probleme ds TopClass_SolidClassifier.gxx"<<endl;
std::cout<<"*Probleme ds TopClass_SolidClassifier.gxx"<<std::endl;
#endif
}
myFace = Intersector.Face();
@@ -124,7 +124,7 @@ void TopClass_SolidClassifier::Perform(TheSolidExplorer& SolidExplorer,
}
else {
#ifdef OCCT_DEBUG
cout<<"*Probleme ds TopClass_SolidClassifier.gxx "<<endl;
std::cout<<"*Probleme ds TopClass_SolidClassifier.gxx "<<std::endl;
#endif
}
#ifdef OCCT_DEBUG