0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- preparation

Operators << for Handle(Message_Messenger) are removed; their use is replaced by use of Message_Messenger::StreamBuffer
Message_Messenger has been replaced by Standard_OStream within Interface_InterfaceModel,IFSelect,IGES,STEP dump interfaces.
This commit is contained in:
abv
2020-04-30 15:45:31 +03:00
committed by bugmaster
parent 39c8dc708f
commit 0ebe5b0a7f
382 changed files with 3109 additions and 3576 deletions

View File

@@ -30,7 +30,6 @@
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
#include <TColStd_HArray1OfReal.hxx>
@@ -130,21 +129,20 @@ void IGESGraph_ToolLineFontDefPattern::OwnCheck
void IGESGraph_ToolLineFontDefPattern::OwnDump
(const Handle(IGESGraph_LineFontDefPattern)& ent, const IGESData_IGESDumper& /*dumper*/,
const Handle(Message_Messenger)& S, const Standard_Integer level) const
Standard_OStream& S, const Standard_Integer level) const
{
S << "IGESGraph_LineFontDefPattern" << Message_EndLine;
S << "Visible-Blank Segments : ";
S << "IGESGraph_LineFontDefPattern\n"
<< "Visible-Blank Segments : ";
Standard_Integer nb = ent->NbSegments();
IGESData_DumpVals(S ,level,1, nb,ent->Length);
S <<Message_EndLine << "Display Pattern : ";
IGESData_DumpVals(S,level,1, nb,ent->Length);
S << "\nDisplay Pattern : ";
IGESData_DumpString(S,ent->DisplayPattern());
S << Message_EndLine;
S << "\n";
if (level > 4) {
S << " -> Which Segments are Visible (the others are Blank) : " << Message_EndLine;
S << " -> Which Segments are Visible (the others are Blank) :\n";
for (Standard_Integer I = 1; I <= nb; I ++) {
if (ent->IsVisible(I)) S << " " << I;
}
S << Message_EndLine;
S << std::endl;
}
}