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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user