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

@@ -605,11 +605,11 @@ void ChFi3d_ChBuilder::Simulate (const Standard_Integer IC)
#ifdef OCCT_DEBUG
if(ChFi3d_GettraceCHRON()){
simul.Stop();
cout<<"Total simulation time : ";
std::cout<<"Total simulation time : ";
simul.Show();
cout<<"Spine construction time : ";
std::cout<<"Spine construction time : ";
elspine.Show();
cout<<"and progression time : ";
std::cout<<"and progression time : ";
chemine.Show();
}
#endif
@@ -912,7 +912,7 @@ ChFi3d_ChBuilder::SimulSurf(Handle(ChFiDS_SurfData)& Data,
if (OffsetHGuide.IsNull())
{
cout<<endl<<"Construction of offset guide failed!"<<endl;
std::cout<<std::endl<<"Construction of offset guide failed!"<<std::endl;
//exception
}
pFunc.reset(new BRepBlend_ConstThroatWithPenetration(S1,S2,OffsetHGuide));
@@ -1297,7 +1297,7 @@ Standard_Boolean ChFi3d_ChBuilder::PerformFirstSection
if (OffsetHGuide.IsNull())
{
cout<<endl<<"Construction of offset guide failed!"<<endl;
std::cout<<std::endl<<"Construction of offset guide failed!"<<std::endl;
//exception
}
pFunc.reset(new BRepBlend_ConstThroatWithPenetration(S1,S2,OffsetHGuide));
@@ -1554,7 +1554,7 @@ ChFi3d_ChBuilder::PerformSurf(ChFiDS_SequenceOfSurfData& SeqData,
if (OffsetHGuide.IsNull())
{
cout<<endl<<"Construction of offset guide failed!"<<endl;
std::cout<<std::endl<<"Construction of offset guide failed!"<<std::endl;
//exception
}
pFunc.reset(new BRepBlend_ConstThroatWithPenetration(S1,S2,OffsetHGuide));