0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- prepar...
[occt.git] / src / IGESDraw / IGESDraw_ToolRectArraySubfigure.cxx
index 6595a92..10a196d 100644 (file)
@@ -174,27 +174,26 @@ void IGESDraw_ToolRectArraySubfigure::OwnCheck
 
 void IGESDraw_ToolRectArraySubfigure::OwnDump
   (const Handle(IGESDraw_RectArraySubfigure)& 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 tempSubLevel = (level <= 4) ? 0 : 1;
 
-  S << "IGESDraw_RectArraySubfigure" << Message_EndLine;
-
-  S << "Base Entity : ";
+  S << "IGESDraw_RectArraySubfigure\n"
+    << "Base Entity : ";
   dumper.Dump(ent->BaseEntity(),S, tempSubLevel);
-  S << Message_EndLine;
-  S << "Scale Factor : " << ent->ScaleFactor() << "  ";
-  S << "Lower Left Corner Of Array : ";
+  S << "\n"
+    << "Scale Factor : " << ent->ScaleFactor() << "  "
+    << "Lower Left Corner Of Array : ";
   IGESData_DumpXYZL(S,level, ent->LowerLeftCorner(),gp_GTrsf()); // no location
-  S << "Number Of Columns : " << ent->NbColumns()   << "  ";
-  S << "Number Of Rows    : " << ent->NbRows()      << Message_EndLine;
-  S << "Horizontal Distance Between Columns : " << ent->ColumnSeparation()<<Message_EndLine;
-  S << "Vertical Distance Between Rows      : " << ent->RowSeparation() <<Message_EndLine;
-  S << "Rotation Angle (in radians)         : " << ent->RotationAngle() <<Message_EndLine;
-  S << "Do-Dont Flag : ";
+  S << "Number Of Columns : " << ent->NbColumns()   << "  "
+    << "Number Of Rows    : " << ent->NbRows()      << "\n"
+    << "Horizontal Distance Between Columns : " << ent->ColumnSeparation()<< "\n"
+    << "Vertical Distance Between Rows      : " << ent->RowSeparation() << "\n"
+    << "Rotation Angle (in radians)         : " << ent->RotationAngle() << "\n"
+    << "Do-Dont Flag : ";
   if (ent->DoDontFlag()) S << "(1)Dont  ";
   else                   S << "(0)Do  ";
   S << "Do-Dont List : ";
-  IGESData_DumpVals(S ,level,1, ent->ListCount(),ent->ListPosition);
-  S << Message_EndLine;
+  IGESData_DumpVals(S,level,1, ent->ListCount(),ent->ListPosition);
+  S << std::endl;
 }