1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -175,20 +175,20 @@ void MAT_Bisector::Dump(const Standard_Integer ashift,
{
Standard_Integer i;
for(i=0; i<ashift; i++)cout<<" ";
cout<<" BISECTOR : "<<thebisectornumber<<endl;
for(i=0; i<ashift; i++)cout<<" ";
cout<<" First edge : "<<thefirstedge->EdgeNumber()<<endl;
for(i=0; i<ashift; i++)cout<<" ";
cout<<" Second edge : "<<thesecondedge->EdgeNumber()<<endl;
for(i=0; i<ashift; i++)cout<<" ";
for(i=0; i<ashift; i++)std::cout<<" ";
std::cout<<" BISECTOR : "<<thebisectornumber<<std::endl;
for(i=0; i<ashift; i++)std::cout<<" ";
std::cout<<" First edge : "<<thefirstedge->EdgeNumber()<<std::endl;
for(i=0; i<ashift; i++)std::cout<<" ";
std::cout<<" Second edge : "<<thesecondedge->EdgeNumber()<<std::endl;
for(i=0; i<ashift; i++)std::cout<<" ";
if(alevel)
{
if(!thelistofbisectors->More())
{
cout<<" Bisectors List : "<<endl;
std::cout<<" Bisectors List : "<<std::endl;
thelistofbisectors->Dump(ashift+1,1);
}
}
cout<<endl;
std::cout<<std::endl;
}

View File

@@ -512,8 +512,8 @@ static Handle(MAT_Arc) MakeArc(const Handle(MAT_Bisector)& aBisector,
Standard_Real DistExt;
#ifdef OCCT_DEBUG_Graph
cout<<"Construction Arc : Index"<<aBisector->IndexNumber()<<endl;
cout<<"Construction Arc : Bisector"<<aBisector->BisectorNumber()<<endl;
std::cout<<"Construction Arc : Index"<<aBisector->IndexNumber()<<std::endl;
std::cout<<"Construction Arc : Bisector"<<aBisector->BisectorNumber()<<std::endl;
#endif
CurrentArc = new MAT_Arc(IndTabArcs,
@@ -525,7 +525,7 @@ static Handle(MAT_Arc) MakeArc(const Handle(MAT_Bisector)& aBisector,
if (DistExt == Precision::Infinite()) {
DistExt = 1.0;
#ifdef OCCT_DEBUG_Graph
cout<<"PB:RECUPERATION DISTANCE SUR ISSUEPOINT."<<endl;
std::cout<<"PB:RECUPERATION DISTANCE SUR ISSUEPOINT."<<std::endl;
#endif
}
@@ -563,8 +563,8 @@ static Handle(MAT_Arc) MakeArc(const Handle(MAT_Bisector)& aBisector,
}
#ifdef OCCT_DEBUG_Graph
cout<<"IndTabArcs = "<<IndTabArcs<<endl;
cout<<"ArcIndex = "<<CurrentArc->ArcIndex()<<endl;
std::cout<<"IndTabArcs = "<<IndTabArcs<<std::endl;
std::cout<<"ArcIndex = "<<CurrentArc->ArcIndex()<<std::endl;
#endif
CurrentArc->SetIndex(IndTabArcs);
TheArcs.Bind(IndTabArcs,CurrentArc);