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

@@ -530,10 +530,10 @@ Handle(StepBasic_ProductDefinition) STEPConstruct_ValidationProps::GetPropPD (co
Handle(StepRepr_ShapeAspect) SA = CD.ShapeAspect();
if ( SA.IsNull() ) {
#ifdef OCCT_DEBUG
Handle(Message_Messenger) sout = Message::DefaultMessenger();
Message_Messenger::StreamBuffer sout = Message::SendInfo();
sout << "Error: Cannot find target entity (SA) for geometric_validation_property ";
Model()->PrintLabel ( PD, sout );
sout << Message_EndLine;
Model()->PrintLabel (PD, sout);
sout << std::endl;
#endif
return ProdDef;
}
@@ -555,10 +555,10 @@ Handle(StepBasic_ProductDefinition) STEPConstruct_ValidationProps::GetPropPD (co
}
#ifdef OCCT_DEBUG
if ( ProdDef.IsNull() ) {
Handle(Message_Messenger) sout = Message::DefaultMessenger();
Message_Messenger::StreamBuffer sout = Message::SendInfo();
sout << "Error: Cannot find target entity (SDR) for geometric_validation_property ";
Model()->PrintLabel ( PD, sout );
sout << Message_EndLine;
Model()->PrintLabel (PD, sout);
sout << std::endl;
}
#endif
return ProdDef;
@@ -608,10 +608,10 @@ TopoDS_Shape STEPConstruct_ValidationProps::GetPropShape (const Handle(StepBasic
//}
#ifdef OCCT_DEBUG
if ( S.IsNull() ) {
Handle(Message_Messenger) sout = Message::DefaultMessenger();
Message_Messenger::StreamBuffer sout = Message::SendInfo();
sout << "Warning: Entity ";
Model()->PrintLabel ( ProdDef, sout );
sout << " is not mapped to shape" << Message_EndLine;
Model()->PrintLabel (ProdDef, sout);
sout << " is not mapped to shape" << std::endl;
}
#endif
return S;