mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-29 00:38:43 +08: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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user