1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

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

@@ -279,7 +279,7 @@ Standard_Integer XSDRAW_WHAT (const Handle(Standard_Transient)& ent)
Handle(Interface_InterfaceModel) model = XSDRAW::Model();
if (model.IsNull()) { std::cout<<"(No model) Type:"<<ent->DynamicType()->Name()<<std::endl; return 0; }
std::cout<<" Num/Id :";
model->Print (ent, Message::DefaultMessenger(), 0);
model->Print (ent, std::cout, 0);
std::cout<<" -- Recorded Type:"<<model->TypeName (ent)<<std::endl;
return model->Number(ent);
}