mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -44,7 +44,6 @@
|
||||
#include <IGESDraw_ViewsVisible.hxx>
|
||||
#include <IGESDraw_ViewsVisibleWithAttr.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(IGESDraw_SpecificModule,IGESData_SpecificModule)
|
||||
@@ -57,7 +56,7 @@ IGESDraw_SpecificModule::IGESDraw_SpecificModule() { }
|
||||
|
||||
void IGESDraw_SpecificModule::OwnDump
|
||||
(const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent,
|
||||
const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S,
|
||||
const IGESData_IGESDumper& dumper, Standard_OStream& S,
|
||||
const Standard_Integer own) const
|
||||
{
|
||||
switch (CN) {
|
||||
|
@@ -25,8 +25,6 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
class IGESData_IGESEntity;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
class IGESDraw_SpecificModule;
|
||||
DEFINE_STANDARD_HANDLE(IGESDraw_SpecificModule, IGESData_SpecificModule)
|
||||
@@ -43,7 +41,7 @@ public:
|
||||
Standard_EXPORT IGESDraw_SpecificModule();
|
||||
|
||||
//! Specific Dump (own parameters) for IGESDraw
|
||||
Standard_EXPORT void OwnDump (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const Standard_OVERRIDE;
|
||||
Standard_EXPORT void OwnDump (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const Standard_OVERRIDE;
|
||||
|
||||
//! Performs non-ambiguous Corrections on Entities which support
|
||||
//! them (Planar)
|
||||
|
@@ -32,7 +32,6 @@
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Interface_ShareTool.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
|
||||
@@ -161,25 +160,24 @@ void IGESDraw_ToolCircArraySubfigure::OwnCheck
|
||||
|
||||
void IGESDraw_ToolCircArraySubfigure::OwnDump
|
||||
(const Handle(IGESDraw_CircArraySubfigure)& 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_CircArraySubfigure" << Message_EndLine;
|
||||
|
||||
S << "Base Entity : ";
|
||||
S << "IGESDraw_CircArraySubfigure\n"
|
||||
<< "Base Entity : ";
|
||||
dumper.Dump(ent->BaseEntity(),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << "Total Number Of Possible Instance Locations : " << ent->NbLocations()
|
||||
<< Message_EndLine;
|
||||
S << "Imaginary Circle. Radius : " << ent->CircleRadius() << " Center : ";
|
||||
IGESData_DumpXYZL(S, level, ent->CenterPoint(), ent->Location()); S << Message_EndLine;
|
||||
S << "Start Angle (in radians) : " << ent->StartAngle() << " ";
|
||||
S << "Delta Angle (in radians) : " << ent->DeltaAngle() << Message_EndLine;
|
||||
S << "Do-Dont Flag : ";
|
||||
if (ent->DoDontFlag()) S << "Dont" << Message_EndLine;
|
||||
else S << "Do" << Message_EndLine;
|
||||
S << "\n"
|
||||
<< "Total Number Of Possible Instance Locations : " << ent->NbLocations()
|
||||
<< "\n"
|
||||
<< "Imaginary Circle. Radius : " << ent->CircleRadius() << " Center : ";
|
||||
IGESData_DumpXYZL(S, level, ent->CenterPoint(), ent->Location()); S << "\n";
|
||||
S << "Start Angle (in radians) : " << ent->StartAngle() << " "
|
||||
<< "Delta Angle (in radians) : " << ent->DeltaAngle() << "\n"
|
||||
<< "Do-Dont Flag : ";
|
||||
if (ent->DoDontFlag()) S << "Dont\n";
|
||||
else S << "Do\n";
|
||||
S << "The 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;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a CircArraySubfigure. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_CircArraySubfigure)& entfrom, const Handle(IGESDraw_CircArraySubfigure)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_CircArraySubfigure)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_CircArraySubfigure)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -203,32 +203,31 @@ void IGESDraw_ToolConnectPoint::OwnCheck
|
||||
|
||||
void IGESDraw_ToolConnectPoint::OwnDump
|
||||
(const Handle(IGESDraw_ConnectPoint)& 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_ConnectPoint" << Message_EndLine;
|
||||
|
||||
S << "Connection Point Coordinate : ";
|
||||
S << "IGESDraw_ConnectPoint\n"
|
||||
<< "Connection Point Coordinate : ";
|
||||
IGESData_DumpXYZL(S, level, ent->Point(), ent->Location());
|
||||
S << "Display Symbol Geometry Entity : ";
|
||||
dumper.Dump(ent->DisplaySymbol(),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << "Type Flag : " << ent->TypeFlag() << " "
|
||||
<< "Function Flag : " << ent->FunctionFlag() << Message_EndLine;
|
||||
S << "Function Identifier : ";
|
||||
S << "\n"
|
||||
<< "Type Flag : " << ent->TypeFlag() << " "
|
||||
<< "Function Flag : " << ent->FunctionFlag() << "\n"
|
||||
<< "Function Identifier : ";
|
||||
IGESData_DumpString(S,ent->FunctionIdentifier());
|
||||
S << Message_EndLine << "Text Display Template Entity for CID : ";
|
||||
S << "\nText Display Template Entity for CID : ";
|
||||
dumper.Dump(ent->IdentifierTemplate(),S, tempSubLevel);
|
||||
S << Message_EndLine << "Function Name : ";
|
||||
S << "\nFunction Name : ";
|
||||
IGESData_DumpString(S,ent->FunctionName());
|
||||
S << Message_EndLine << "Text Display Template Entity for CFN : ";
|
||||
S << "\nText Display Template Entity for CFN : ";
|
||||
dumper.Dump(ent->FunctionTemplate(),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << "Point Identifier : " << ent->PointIdentifier() << Message_EndLine
|
||||
S << "\n"
|
||||
<< "Point Identifier : " << ent->PointIdentifier() << "\n"
|
||||
<< "Function Code : " << ent->FunctionCode()
|
||||
<< "Swap Flag : " << ( ent->SwapFlag() ? "True" : "False" ) << Message_EndLine;
|
||||
S << "Owner Subfigure Entity : ";
|
||||
<< "Swap Flag : " << ( ent->SwapFlag() ? "True" : "False" ) << "\n"
|
||||
<< "Owner Subfigure Entity : ";
|
||||
dumper.Dump(ent->OwnerSubfigure(),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a ConnectPoint. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_ConnectPoint)& entfrom, const Handle(IGESDraw_ConnectPoint)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ConnectPoint)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ConnectPoint)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -262,21 +262,20 @@ void IGESDraw_ToolDrawing::OwnCheck
|
||||
|
||||
void IGESDraw_ToolDrawing::OwnDump
|
||||
(const Handle(IGESDraw_Drawing)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_Drawing" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Transformed View Origins : ";
|
||||
S << "Count = " << ent->NbViews();
|
||||
S << "IGESDraw_Drawing\n"
|
||||
<< "View Entities :\n"
|
||||
<< "Transformed View Origins : "
|
||||
<< "Count = " << ent->NbViews();
|
||||
switch (level)
|
||||
{
|
||||
case 4 : S << " [ ask level > 4 for content ]" << Message_EndLine;
|
||||
case 4 : S << " [ ask level > 4 for content ]\n";
|
||||
break; // Nothing to be dumped here
|
||||
case 5 : // Presently level 5 and 6 have the same Dump
|
||||
S << Message_EndLine;
|
||||
S << "\n";
|
||||
Standard_FALLTHROUGH
|
||||
case 6 :
|
||||
{
|
||||
@@ -284,17 +283,17 @@ void IGESDraw_ToolDrawing::OwnDump
|
||||
Standard_Integer up = ent->NbViews();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << Message_EndLine << "[" << I << "] ";
|
||||
S << "View Entity : ";
|
||||
S << "\n[" << I << "] "
|
||||
<< "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Transformed View Origin : ";
|
||||
S << "\n"
|
||||
<< "Transformed View Origin : ";
|
||||
IGESData_DumpXY(S, ent->ViewOrigin(I));
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
S << Message_EndLine << "Annotation Entities : ";
|
||||
S << "\nAnnotation Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbAnnotations(),ent->Annotation);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -34,8 +34,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a Drawing. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -74,7 +72,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_Drawing)& entfrom, const Handle(IGESDraw_Drawing)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_Drawing)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_Drawing)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -282,16 +282,15 @@ void IGESDraw_ToolDrawingWithRotation::OwnCheck
|
||||
|
||||
void IGESDraw_ToolDrawingWithRotation::OwnDump
|
||||
(const Handle(IGESDraw_DrawingWithRotation)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_DrawingWithRotation" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Transformed View Origins : " << Message_EndLine
|
||||
<< "Orientation Angles : ";
|
||||
S << "Count = " << ent->NbViews() << Message_EndLine;
|
||||
S << "IGESDraw_DrawingWithRotation\n"
|
||||
<< "View Entities :\n"
|
||||
<< "Transformed View Origins :\n"
|
||||
<< "Orientation Angles : "
|
||||
<< "Count = " << ent->NbViews() << "\n";
|
||||
|
||||
if (level > 4) // Level = 4 : no Dump. Level = 5 & 6 have same Dump
|
||||
{
|
||||
@@ -299,16 +298,16 @@ void IGESDraw_ToolDrawingWithRotation::OwnDump
|
||||
Standard_Integer up = ent->NbViews();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
S << "[" << I << "]:\n"
|
||||
<< "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Transformed View Origin : ";
|
||||
S << "\n"
|
||||
<< "Transformed View Origin : ";
|
||||
IGESData_DumpXY(S, ent->ViewOrigin(I));
|
||||
S << " Orientation Angle : " << ent->OrientationAngle(I) << Message_EndLine;
|
||||
S << " Orientation Angle : " << ent->OrientationAngle(I) << "\n";
|
||||
}
|
||||
}
|
||||
S << "Annotation Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbAnnotations(),ent->Annotation);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -34,8 +34,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a DrawingWithRotation. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -74,7 +72,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_DrawingWithRotation)& entfrom, const Handle(IGESDraw_DrawingWithRotation)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_DrawingWithRotation)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_DrawingWithRotation)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -204,39 +204,38 @@ void IGESDraw_ToolLabelDisplay::OwnCheck
|
||||
|
||||
void IGESDraw_ToolLabelDisplay::OwnDump
|
||||
(const Handle(IGESDraw_LabelDisplay)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_LabelDisplay" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Text Locations : " << Message_EndLine
|
||||
<< "Leader Entities : " << Message_EndLine
|
||||
<< "Label Level Numbers : " << Message_EndLine
|
||||
<< "Displayed Entities : ";
|
||||
S << "Count = " << ent->NbLabels() << Message_EndLine;
|
||||
S << "IGESDraw_LabelDisplay\n"
|
||||
<< "View Entities :\n"
|
||||
<< "Text Locations :\n"
|
||||
<< "Leader Entities :\n"
|
||||
<< "Label Level Numbers :\n"
|
||||
<< "Displayed Entities : "
|
||||
<< "Count = " << ent->NbLabels() << "\n";
|
||||
if (level > 4) // Level = 4 : no Dump. Level = 5 & 6 : same Dump
|
||||
{
|
||||
Standard_Integer I;
|
||||
Standard_Integer up = ent->NbLabels();
|
||||
for (I = 1; I <= up; I ++)
|
||||
{
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
S << "[" << I << "]:\n"
|
||||
<< "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Text Location in View : ";
|
||||
S << "\n"
|
||||
<< "Text Location in View : ";
|
||||
IGESData_DumpXYZL(S,level, ent->TextLocation(I), ent->Location());
|
||||
S << " Leader Entity in View : ";
|
||||
dumper.Dump (ent->LeaderEntity(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Entity Label Level Number : ";
|
||||
S << ent->LabelLevel(I) << " ";
|
||||
S << "Displayed Entity : ";
|
||||
S << "\n"
|
||||
<< "Entity Label Level Number : "
|
||||
<< ent->LabelLevel(I) << " "
|
||||
<< "Displayed Entity : ";
|
||||
dumper.Dump (ent->DisplayedEntity(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "\n";
|
||||
}
|
||||
}
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a LabelDisplay. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_LabelDisplay)& entfrom, const Handle(IGESDraw_LabelDisplay)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_LabelDisplay)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_LabelDisplay)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -226,24 +226,23 @@ void IGESDraw_ToolNetworkSubfigure::OwnCheck
|
||||
|
||||
void IGESDraw_ToolNetworkSubfigure::OwnDump
|
||||
(const Handle(IGESDraw_NetworkSubfigure)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_NetworkSubfigure" << Message_EndLine;
|
||||
|
||||
S << "Network Subfigure Definition Entity : ";
|
||||
S << "IGESDraw_NetworkSubfigure\n"
|
||||
<< "Network Subfigure Definition Entity : ";
|
||||
dumper.Dump(ent->SubfigureDefinition(),S, sublevel);
|
||||
S << Message_EndLine << "Translation Data : ";
|
||||
S << "\nTranslation Data : ";
|
||||
IGESData_DumpXYZL(S,level, ent->Translation(), ent->Location());
|
||||
S << Message_EndLine << "Scale Factors : ";
|
||||
S << "\nScale Factors : ";
|
||||
IGESData_DumpXYZ(S, ent->ScaleFactors());
|
||||
S << Message_EndLine << "Type Flag : " << ent->TypeFlag() << Message_EndLine;
|
||||
S << "Primary Reference Designator : ";
|
||||
S << "\nType Flag : " << ent->TypeFlag() << "\n"
|
||||
<< "Primary Reference Designator : ";
|
||||
IGESData_DumpString(S,ent->ReferenceDesignator());
|
||||
S << Message_EndLine << "Text Display Template Entity : ";
|
||||
S << "\nText Display Template Entity : ";
|
||||
dumper.Dump(ent->DesignatorTemplate(),S, sublevel);
|
||||
S << Message_EndLine << "Connect Points : ";
|
||||
S << "\nConnect Points : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbConnectPoints(),ent->ConnectPoint);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a NetworkSubfigure. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_NetworkSubfigure)& entfrom, const Handle(IGESDraw_NetworkSubfigure)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_NetworkSubfigure)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_NetworkSubfigure)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -223,23 +223,22 @@ void IGESDraw_ToolNetworkSubfigureDef::OwnCheck
|
||||
|
||||
void IGESDraw_ToolNetworkSubfigureDef::OwnDump
|
||||
(const Handle(IGESDraw_NetworkSubfigureDef)& 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_NetworkSubfigureDef" << Message_EndLine;
|
||||
|
||||
S << "Depth Of Subfigure(Nesting) : " << ent->Depth() << Message_EndLine;
|
||||
S << "Name Of Subfigure : ";
|
||||
S << "IGESDraw_NetworkSubfigureDef\n"
|
||||
<< "Depth Of Subfigure(Nesting) : " << ent->Depth() << "\n"
|
||||
<< "Name Of Subfigure : ";
|
||||
IGESData_DumpString(S,ent->Name());
|
||||
S << Message_EndLine << "Associated Entities : ";
|
||||
S << "\nAssociated Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbEntities(),ent->Entity);
|
||||
S << Message_EndLine << "Type Flag : " << ent->TypeFlag() << Message_EndLine;
|
||||
S << "Primary Reference Designator : ";
|
||||
S << "\nType Flag : " << ent->TypeFlag() << "\n"
|
||||
<< "Primary Reference Designator : ";
|
||||
IGESData_DumpString(S,ent->Designator());
|
||||
S << Message_EndLine << "Text Display Template Entity : ";
|
||||
S << "\nText Display Template Entity : ";
|
||||
dumper.Dump(ent->DesignatorTemplate(),S, tempSubLevel);
|
||||
S << Message_EndLine << "Connect Point Entities : ";
|
||||
S << "\nConnect Point Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbPointEntities(),ent->PointEntity);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a NetworkSubfigureDef. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_NetworkSubfigureDef)& entfrom, const Handle(IGESDraw_NetworkSubfigureDef)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_NetworkSubfigureDef)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_NetworkSubfigureDef)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -168,34 +168,33 @@ void IGESDraw_ToolPerspectiveView::OwnCheck
|
||||
|
||||
void IGESDraw_ToolPerspectiveView::OwnDump
|
||||
(const Handle(IGESDraw_PerspectiveView)& ent, const IGESData_IGESDumper& /*dumper*/,
|
||||
const Handle(Message_Messenger)& S, const Standard_Integer level) const
|
||||
Standard_OStream& S, const Standard_Integer level) const
|
||||
{
|
||||
S << "IGESDraw_PerspectiveView" << Message_EndLine;
|
||||
|
||||
S << "View Number : " << ent->ViewNumber() << " ";
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << Message_EndLine;
|
||||
S << "View Plane Normal Vector : ";
|
||||
S << "IGESDraw_PerspectiveView\n"
|
||||
<< "View Number : " << ent->ViewNumber() << " "
|
||||
<< "Scale Factor : " << ent->ScaleFactor() << "\n"
|
||||
<< "View Plane Normal Vector : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewNormalVector(), ent->Location());
|
||||
S << Message_EndLine << "View Reference Point : ";
|
||||
S << "\nView Reference Point : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewReferencePoint() , ent->Location());
|
||||
S << Message_EndLine << "Center Of Projection : ";
|
||||
S << "\nCenter Of Projection : ";
|
||||
IGESData_DumpXYZL(S,level, ent->CenterOfProjection() , ent->Location());
|
||||
S << Message_EndLine << "View Up Vector : ";
|
||||
S << "\nView Up Vector : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewUpVector() , ent->Location());
|
||||
S << Message_EndLine << "View Plane Distance : " << ent->ViewPlaneDistance()<<Message_EndLine;
|
||||
S << "Left Side Of Clipping Window : " << ent->TopLeft().X() << Message_EndLine;
|
||||
S << "Right Side Of Clipping Window : " << ent->BottomRight().X() << Message_EndLine;
|
||||
S << "Bottom Side Of Clipping Window : " << ent->BottomRight().Y() << Message_EndLine;
|
||||
S << "Top Side Of Clipping Window : " << ent->TopLeft().Y() << Message_EndLine;
|
||||
S << "Depth Clipping : " << ent->DepthClip();
|
||||
S << "\nView Plane Distance : " << ent->ViewPlaneDistance()<< "\n"
|
||||
<< "Left Side Of Clipping Window : " << ent->TopLeft().X() << "\n"
|
||||
<< "Right Side Of Clipping Window : " << ent->BottomRight().X() << "\n"
|
||||
<< "Bottom Side Of Clipping Window : " << ent->BottomRight().Y() << "\n"
|
||||
<< "Top Side Of Clipping Window : " << ent->TopLeft().Y() << "\n"
|
||||
<< "Depth Clipping : " << ent->DepthClip();
|
||||
switch (ent->DepthClip()) {
|
||||
case 0 : S << " (No Depth Clipping)" << Message_EndLine; break;
|
||||
case 1 : S << " (Back Clipping Plane ON)" << Message_EndLine; break;
|
||||
case 2 : S << " (Front Clipping Plane ON)" << Message_EndLine; break;
|
||||
case 3 : S << " (Front and Back Clipping Planes ON)" << Message_EndLine; break;
|
||||
default : S << " (Invalid Value)" << Message_EndLine; break;
|
||||
case 0 : S << " (No Depth Clipping)\n"; break;
|
||||
case 1 : S << " (Back Clipping Plane ON)\n"; break;
|
||||
case 2 : S << " (Front Clipping Plane ON)\n"; break;
|
||||
case 3 : S << " (Front and Back Clipping Planes ON)\n"; break;
|
||||
default : S << " (Invalid Value)\n"; break;
|
||||
}
|
||||
S << "Back Plane Distance : " << ent->BackPlaneDistance() << " ";
|
||||
S << "Front Plane Distance : " << ent->FrontPlaneDistance() << Message_EndLine;
|
||||
S << Message_EndLine;
|
||||
S << "Back Plane Distance : " << ent->BackPlaneDistance() << " "
|
||||
<< "Front Plane Distance : " << ent->FrontPlaneDistance() << "\n"
|
||||
<< std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a PerspectiveView. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_PerspectiveView)& entfrom, const Handle(IGESDraw_PerspectiveView)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_PerspectiveView)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_PerspectiveView)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -168,20 +168,19 @@ void IGESDraw_ToolPlanar::OwnCheck
|
||||
|
||||
void IGESDraw_ToolPlanar::OwnDump
|
||||
(const Handle(IGESDraw_Planar)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_Planar" << Message_EndLine;
|
||||
|
||||
S << "No. of Transformation Matrices : " << ent->NbMatrices() << " ";
|
||||
S << "i.e. : ";
|
||||
S << "IGESDraw_Planar\n"
|
||||
<< "No. of Transformation Matrices : " << ent->NbMatrices() << " "
|
||||
<< "i.e. : ";
|
||||
if ( ent->TransformMatrix().IsNull() )
|
||||
S << "Null Handle";
|
||||
else
|
||||
dumper.OwnDump (ent->TransformMatrix(),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Array of Entities on the specified plane : ";
|
||||
S << "\n"
|
||||
<< "Array of Entities on the specified plane : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbEntities(),ent->Entity);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -34,8 +34,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a Planar. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -74,7 +72,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_Planar)& entfrom, const Handle(IGESDraw_Planar)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_Planar)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_Planar)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a RectArraySubfigure. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_RectArraySubfigure)& entfrom, const Handle(IGESDraw_RectArraySubfigure)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_RectArraySubfigure)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_RectArraySubfigure)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -35,7 +35,6 @@
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Interface_ShareTool.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
@@ -277,24 +276,23 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnCheck
|
||||
|
||||
void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
(const Handle(IGESDraw_SegmentedViewsVisible)& 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 sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_SegmentedViewsVisible" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Breakpoint parameters : " << Message_EndLine
|
||||
<< "Display flags : " << Message_EndLine
|
||||
<< "Color Values : " << Message_EndLine
|
||||
<< "Color Definitions : " << Message_EndLine
|
||||
<< "LineFont Values : " << Message_EndLine
|
||||
<< "LineFont Definitions : " << Message_EndLine
|
||||
<< "Line Weights : " << Message_EndLine;
|
||||
S << "Count Of Blocks = " << ent->NbSegmentBlocks() << Message_EndLine;
|
||||
S << "IGESDraw_SegmentedViewsVisible\n"
|
||||
<< "View Entities :\n"
|
||||
<< "Breakpoint parameters :\n"
|
||||
<< "Display flags :\n"
|
||||
<< "Color Values :\n"
|
||||
<< "Color Definitions :\n"
|
||||
<< "LineFont Values :\n"
|
||||
<< "LineFont Definitions :\n"
|
||||
<< "Line Weights :\n"
|
||||
<< "Count Of Blocks = " << ent->NbSegmentBlocks() << "\n";
|
||||
switch (level)
|
||||
{
|
||||
case 4 : S << " [ for content, ask level > 4 ]" << Message_EndLine;
|
||||
case 4 : S << " [ for content, ask level > 4 ]\n";
|
||||
break; // Nothing to be dumped here
|
||||
case 5 : // Presently level 5 and 6 have the same Dump
|
||||
case 6 :
|
||||
@@ -303,23 +301,22 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
Standard_Integer up = ent->NbSegmentBlocks();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
S << "[" << I << "]:\n"
|
||||
<< "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << Message_EndLine;
|
||||
S << "Breakpoint parameter : " <<ent->BreakpointParameter(I)<<Message_EndLine;
|
||||
S << "Display Flag : " << ent->DisplayFlag(I) << Message_EndLine;
|
||||
S << "\n"
|
||||
<< "Breakpoint parameter : " <<ent->BreakpointParameter(I)<< "\n"
|
||||
<< "Display Flag : " << ent->DisplayFlag(I) << "\n";
|
||||
if ( (ent->ColorDefinition(I)).IsNull() )
|
||||
{
|
||||
S << "Color Value : ";
|
||||
S << ent->ColorValue(I);
|
||||
S << "Color Value : " << ent->ColorValue(I);
|
||||
}
|
||||
else
|
||||
{
|
||||
S << "Color Definition : ";
|
||||
dumper.Dump (ent->ColorDefinition(I),S, sublevel);
|
||||
}
|
||||
S << Message_EndLine;
|
||||
S << "\n";
|
||||
if ( (ent->LineFontDefinition(I)).IsNull() )
|
||||
{
|
||||
S << "LineFont Value : " << ent->LineFontValue(I);
|
||||
@@ -329,11 +326,11 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
S << "LineFont Definition : ";
|
||||
dumper.Dump (ent->LineFontDefinition(I),S, sublevel);
|
||||
}
|
||||
S << Message_EndLine;
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << Message_EndLine;
|
||||
S << "\n"
|
||||
<< "Line Weight : " << ent->LineWeightItem(I) << "\n";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a SegmentedViewsVisible. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_SegmentedViewsVisible)& entfrom, const Handle(IGESDraw_SegmentedViewsVisible)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_SegmentedViewsVisible)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_SegmentedViewsVisible)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -31,7 +31,6 @@
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Interface_ShareTool.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
IGESDraw_ToolView::IGESDraw_ToolView () { }
|
||||
@@ -153,24 +152,23 @@ void IGESDraw_ToolView::OwnCheck
|
||||
|
||||
void IGESDraw_ToolView::OwnDump
|
||||
(const Handle(IGESDraw_View)& 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_View" << Message_EndLine;
|
||||
|
||||
S << "View Number : " << ent->ViewNumber() << Message_EndLine;
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << Message_EndLine;
|
||||
S << "Left Plane Of View Volume : ";
|
||||
dumper.Dump(ent->LeftPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "IGESDraw_View\n"
|
||||
<< "View Number : " << ent->ViewNumber() << "\n"
|
||||
<< "Scale Factor : " << ent->ScaleFactor() << "\n"
|
||||
<< "Left Plane Of View Volume : ";
|
||||
dumper.Dump(ent->LeftPlane(),S, tempSubLevel); S << "\n";
|
||||
S << "Top Plane Of View Volume : ";
|
||||
dumper.Dump(ent->TopPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
dumper.Dump(ent->TopPlane(),S, tempSubLevel); S << "\n";
|
||||
S << "Right Plane Of View Volume : ";
|
||||
dumper.Dump(ent->RightPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
dumper.Dump(ent->RightPlane(),S, tempSubLevel); S << "\n";
|
||||
S << "Bottom Plane Of View Volume : ";
|
||||
dumper.Dump(ent->BottomPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
dumper.Dump(ent->BottomPlane(),S, tempSubLevel); S << "\n";
|
||||
S << "Back Plane Of View Volume : ";
|
||||
dumper.Dump(ent->BackPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
dumper.Dump(ent->BackPlane(),S, tempSubLevel); S << "\n";
|
||||
S << "Front Plane Of View Volume : ";
|
||||
dumper.Dump(ent->FrontPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
dumper.Dump(ent->FrontPlane(),S, tempSubLevel); S << std::endl;
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a View. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -69,7 +67,7 @@ public:
|
||||
Standard_EXPORT void OwnCopy (const Handle(IGESDraw_View)& entfrom, const Handle(IGESDraw_View)& entto, Interface_CopyTool& TC) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_View)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_View)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
|
||||
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Interface_ShareTool.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -227,17 +226,15 @@ void IGESDraw_ToolViewsVisible::OwnWhenDelete
|
||||
|
||||
void IGESDraw_ToolViewsVisible::OwnDump
|
||||
(const Handle(IGESDraw_ViewsVisible)& ent, const IGESData_IGESDumper& dumper,
|
||||
const Handle(Message_Messenger)& S, const Standard_Integer level) const
|
||||
Standard_OStream& S, const Standard_Integer level) const
|
||||
{
|
||||
S << "IGESDraw_ViewsVisible" << Message_EndLine;
|
||||
|
||||
S << "Views Visible : ";
|
||||
S << "IGESDraw_ViewsVisible\n"
|
||||
<< "Views Visible : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbViews(),ent->ViewItem);
|
||||
S << Message_EndLine;
|
||||
S << "Entities Displayed : ";
|
||||
IGESData_DumpEntities
|
||||
(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << Message_EndLine;
|
||||
S << "\n"
|
||||
<< "Entities Displayed : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << std::endl;
|
||||
}
|
||||
|
||||
Standard_Boolean IGESDraw_ToolViewsVisible::OwnCorrect
|
||||
|
@@ -34,8 +34,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a ViewsVisible. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -83,7 +81,7 @@ public:
|
||||
Standard_EXPORT void OwnWhenDelete (const Handle(IGESDraw_ViewsVisible)& ent) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ViewsVisible)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ViewsVisible)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
//! Sets automatic unambiguous Correction on a ViewsVisible
|
||||
//! (all displayed entities must refer to <ent> in directory part,
|
||||
|
@@ -38,7 +38,6 @@
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Interface_ShareTool.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
|
||||
@@ -337,48 +336,46 @@ void IGESDraw_ToolViewsVisibleWithAttr::OwnWhenDelete
|
||||
|
||||
void IGESDraw_ToolViewsVisibleWithAttr::OwnDump
|
||||
(const Handle(IGESDraw_ViewsVisibleWithAttr)& 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_ViewsVisibleWithAttr" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Line Font Values : " << Message_EndLine
|
||||
<< "Line Font Definitions : " << Message_EndLine
|
||||
<< "Color Number/Definitions : " << Message_EndLine
|
||||
<< "Line Weights : " << Message_EndLine;
|
||||
S << "Count of View Blocks : " << ent->NbViews() << Message_EndLine;
|
||||
S << "IGESDraw_ViewsVisibleWithAttr\n"
|
||||
<< "View Entities :\n"
|
||||
<< "Line Font Values :\n"
|
||||
<< "Line Font Definitions :\n"
|
||||
<< "Color Number/Definitions :\n"
|
||||
<< "Line Weights :\n"
|
||||
<< "Count of View Blocks : " << ent->NbViews() << "\n";
|
||||
if (level > 4) { // Level = 4 : nothing to Dump. Level = 5 & 6 : same Dump
|
||||
Standard_Integer I;
|
||||
Standard_Integer upper = ent->NbViews();
|
||||
for (I = 1; I <= upper; I++) {
|
||||
S << "[" << I << "]: " << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
S << "[" << I << "]:\n"
|
||||
<< "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << "\n";
|
||||
|
||||
if (ent->IsFontDefinition(I)) {
|
||||
S << "Line Font Definition : ";
|
||||
dumper.Dump (ent->FontDefinition(I),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << "\n";
|
||||
}
|
||||
else S << "Line Font Value : " << ent->LineFontValue(I) << Message_EndLine;
|
||||
else S << "Line Font Value : " << ent->LineFontValue(I) << "\n";
|
||||
|
||||
if (ent->IsColorDefinition(I)) {
|
||||
S << "Color Definition : ";
|
||||
dumper.Dump (ent->ColorDefinition(I),S, tempSubLevel);
|
||||
S << Message_EndLine;
|
||||
S << std::endl;
|
||||
}
|
||||
else S << "Color Value : " << ent->ColorValue(I) << Message_EndLine;
|
||||
else S << "Color Value : " << ent->ColorValue(I) << "\n";
|
||||
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << Message_EndLine;
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << "\n";
|
||||
}
|
||||
}
|
||||
S << "Displayed Entities : ";
|
||||
IGESData_DumpEntities
|
||||
(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << Message_EndLine;
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << std::endl;
|
||||
}
|
||||
|
||||
Standard_Boolean IGESDraw_ToolViewsVisibleWithAttr::OwnCorrect
|
||||
|
@@ -34,8 +34,6 @@ class Interface_ShareTool;
|
||||
class Interface_Check;
|
||||
class Interface_CopyTool;
|
||||
class IGESData_IGESDumper;
|
||||
class Message_Messenger;
|
||||
|
||||
|
||||
//! Tool to work on a ViewsVisibleWithAttr. Called by various Modules
|
||||
//! (ReadWriteModule, GeneralModule, SpecificModule)
|
||||
@@ -84,7 +82,7 @@ public:
|
||||
Standard_EXPORT void OwnWhenDelete (const Handle(IGESDraw_ViewsVisibleWithAttr)& ent) const;
|
||||
|
||||
//! Dump of Specific Parameters
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ViewsVisibleWithAttr)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
|
||||
Standard_EXPORT void OwnDump (const Handle(IGESDraw_ViewsVisibleWithAttr)& ent, const IGESData_IGESDumper& dumper, Standard_OStream& S, const Standard_Integer own) const;
|
||||
|
||||
//! Sets automatic unambiguous Correction on a ViewsVisibleWithAttr
|
||||
//! (all displayed entities must refer to <ent> in directory part,
|
||||
|
Reference in New Issue
Block a user