X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIGESDraw%2FIGESDraw_ToolDrawingWithRotation.cxx;h=940e992ac2065c970b97cabc897c400deff5beaf;hb=0ebe5b0a7f0b602336d03567cd0074beba4b04a6;hpb=39c8dc708fd076062eb762c47a4e8d2da4365eea diff --git a/src/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx b/src/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx index ea2478571b..940e992ac2 100644 --- a/src/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx +++ b/src/IGESDraw/IGESDraw_ToolDrawingWithRotation.cxx @@ -282,16 +282,15 @@ void IGESDraw_ToolDrawingWithRotation::OwnCheck void IGESDraw_ToolDrawingWithRotation::OwnDump (const Handle(IGESDraw_DrawingWithRotation)& ent, const IGESData_IGESDumper& dumper, - const Handle(Message_Messenger)& S, const Standard_Integer level) const + Standard_OStream& S, const Standard_Integer level) const { Standard_Integer sublevel = (level <= 4) ? 0 : 1; - S << "IGESDraw_DrawingWithRotation" << Message_EndLine; - - S << "View Entities : " << Message_EndLine - << "Transformed View Origins : " << Message_EndLine - << "Orientation Angles : "; - S << "Count = " << ent->NbViews() << Message_EndLine; + S << "IGESDraw_DrawingWithRotation\n" + << "View Entities :\n" + << "Transformed View Origins :\n" + << "Orientation Angles : " + << "Count = " << ent->NbViews() << "\n"; if (level > 4) // Level = 4 : no Dump. Level = 5 & 6 have same Dump { @@ -299,16 +298,16 @@ void IGESDraw_ToolDrawingWithRotation::OwnDump Standard_Integer up = ent->NbViews(); for (I = 1; I <= up; I++) { - S << "[" << I << "]:" << Message_EndLine; - S << "View Entity : "; + S << "[" << I << "]:\n" + << "View Entity : "; dumper.Dump (ent->ViewItem(I),S, sublevel); - S << Message_EndLine; - S << "Transformed View Origin : "; + S << "\n" + << "Transformed View Origin : "; IGESData_DumpXY(S, ent->ViewOrigin(I)); - S << " Orientation Angle : " << ent->OrientationAngle(I) << Message_EndLine; + S << " Orientation Angle : " << ent->OrientationAngle(I) << "\n"; } } S << "Annotation Entities : "; IGESData_DumpEntities(S,dumper ,level,1, ent->NbAnnotations(),ent->Annotation); - S << Message_EndLine; + S << std::endl; }