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

@@ -207,7 +207,7 @@ static Standard_Boolean splitangle (const Handle(ShapeProcess_Context)& context)
if ( ! SDA.Perform() && SDA.Status (ShapeExtend_FAIL) ) {
#ifdef OCCT_DEBUG
cout<<"ShapeDivideAngle failed"<<endl;
std::cout<<"ShapeDivideAngle failed"<<std::endl;
#endif
return Standard_False;
}
@@ -382,7 +382,7 @@ static Standard_Boolean shapetobezier (const Handle(ShapeProcess_Context)& conte
if ( ! SCB.Perform() && SCB.Status (ShapeExtend_FAIL) ) {
#ifdef OCCT_DEBUG
cout<<"Shape::ShapeConvertToBezier failed"<<endl; // !!!!
std::cout<<"Shape::ShapeConvertToBezier failed"<<std::endl; // !!!!
#endif
return Standard_False;
}
@@ -458,7 +458,7 @@ static Standard_Boolean splitcontinuity (const Handle(ShapeProcess_Context)& con
if ( ! tool.Perform() && tool.Status (ShapeExtend_FAIL) ) {
#ifdef OCCT_DEBUG
cout<<"SplitContinuity failed"<<endl;
std::cout<<"SplitContinuity failed"<<std::endl;
#endif
return Standard_False;
}
@@ -500,7 +500,7 @@ static Standard_Boolean splitclosedfaces (const Handle(ShapeProcess_Context)& co
tool.SetSurfaceSegmentMode(hasSeg);
if ( ! tool.Perform() && tool.Status (ShapeExtend_FAIL) ) {
#ifdef OCCT_DEBUG
cout<<"Splitting of closed faces failed"<<endl;
std::cout<<"Splitting of closed faces failed"<<std::endl;
#endif
return Standard_False;
}
@@ -819,7 +819,7 @@ static Standard_Boolean spltclosededges (const Handle(ShapeProcess_Context)& con
if ( ! tool.Perform() && tool.Status (ShapeExtend_FAIL) ) {
#ifdef OCCT_DEBUG
cout<<"Splitting of closed edges failed"<<endl;
std::cout<<"Splitting of closed edges failed"<<std::endl;
#endif
return Standard_False;
}