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

@@ -132,19 +132,19 @@ void IGESGraph_ToolLineFontDefPattern::OwnDump
(const Handle(IGESGraph_LineFontDefPattern)& ent, const IGESData_IGESDumper& /*dumper*/,
const Handle(Message_Messenger)& S, const Standard_Integer level) const
{
S << "IGESGraph_LineFontDefPattern" << endl;
S << "IGESGraph_LineFontDefPattern" << Message_EndLine;
S << "Visible-Blank Segments : ";
Standard_Integer nb = ent->NbSegments();
IGESData_DumpVals(S ,level,1, nb,ent->Length);
S <<endl << "Display Pattern : ";
S <<Message_EndLine << "Display Pattern : ";
IGESData_DumpString(S,ent->DisplayPattern());
S << endl;
S << Message_EndLine;
if (level > 4) {
S << " -> Which Segments are Visible (the others are Blank) : " << endl;
S << " -> Which Segments are Visible (the others are Blank) : " << Message_EndLine;
for (Standard_Integer I = 1; I <= nb; I ++) {
if (ent->IsVisible(I)) S << " " << I;
}
S << endl;
S << Message_EndLine;
}
}