mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -375,15 +375,15 @@ void IGESSolid_ToolLoop::OwnDump(const Handle(IGESSolid_Loop)& ent,
|
||||
Standard_Integer nbedges = ent->NbEdges();
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESSolid_Loop" << endl;
|
||||
S << "IGESSolid_Loop" << Message_EndLine;
|
||||
|
||||
S << "Edge types : " << endl;
|
||||
S << "Edges : " << endl;
|
||||
S << "List index : " << endl;
|
||||
S << "Orientation flags : " << endl;
|
||||
S << "Edge types : " << Message_EndLine;
|
||||
S << "Edges : " << Message_EndLine;
|
||||
S << "List index : " << Message_EndLine;
|
||||
S << "Orientation flags : " << Message_EndLine;
|
||||
S << "Parametric flags : ";
|
||||
IGESData_DumpEntities(S,dumper,-level,1, nbedges,ent->Edge);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
if (level > 4)
|
||||
{
|
||||
S << "[ ";
|
||||
@@ -409,14 +409,14 @@ void IGESSolid_ToolLoop::OwnDump(const Handle(IGESSolid_Loop)& ent,
|
||||
<< ( ent->IsIsoparametric(i,j) ? "True" : "False" ) << " ";
|
||||
S << "Parametric curve : ";
|
||||
dumper.Dump (ent->ParametricCurve(i,j),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
S << " ]";
|
||||
}
|
||||
}
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
S << " ]";
|
||||
}
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
Reference in New Issue
Block a user