mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
"endl" manipulator for Message_Messenger is renamed to "Message_EndLine". The following entities from std namespace are now used with std:: explicitly specified (from Standard_Stream.hxx): std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream, std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr, std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision, std::hex,std::dec.
This commit is contained in:
@@ -165,21 +165,21 @@ void IGESDraw_ToolCircArraySubfigure::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_CircArraySubfigure" << endl;
|
||||
S << "IGESDraw_CircArraySubfigure" << Message_EndLine;
|
||||
|
||||
S << "Base Entity : ";
|
||||
dumper.Dump(ent->BaseEntity(),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Total Number Of Possible Instance Locations : " << ent->NbLocations()
|
||||
<< endl;
|
||||
<< Message_EndLine;
|
||||
S << "Imaginary Circle. Radius : " << ent->CircleRadius() << " Center : ";
|
||||
IGESData_DumpXYZL(S, level, ent->CenterPoint(), ent->Location()); S << endl;
|
||||
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() << endl;
|
||||
S << "Delta Angle (in radians) : " << ent->DeltaAngle() << Message_EndLine;
|
||||
S << "Do-Dont Flag : ";
|
||||
if (ent->DoDontFlag()) S << "Dont" << endl;
|
||||
else S << "Do" << endl;
|
||||
if (ent->DoDontFlag()) S << "Dont" << Message_EndLine;
|
||||
else S << "Do" << Message_EndLine;
|
||||
S << "The Do-Dont List : ";
|
||||
IGESData_DumpVals(S ,level,1, ent->ListCount(),ent->ListPosition);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -207,28 +207,28 @@ void IGESDraw_ToolConnectPoint::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_ConnectPoint" << endl;
|
||||
S << "IGESDraw_ConnectPoint" << Message_EndLine;
|
||||
|
||||
S << "Connection Point Coordinate : ";
|
||||
IGESData_DumpXYZL(S, level, ent->Point(), ent->Location());
|
||||
S << "Display Symbol Geometry Entity : ";
|
||||
dumper.Dump(ent->DisplaySymbol(),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Type Flag : " << ent->TypeFlag() << " "
|
||||
<< "Function Flag : " << ent->FunctionFlag() << endl;
|
||||
<< "Function Flag : " << ent->FunctionFlag() << Message_EndLine;
|
||||
S << "Function Identifier : ";
|
||||
IGESData_DumpString(S,ent->FunctionIdentifier());
|
||||
S << endl << "Text Display Template Entity for CID : ";
|
||||
S << Message_EndLine << "Text Display Template Entity for CID : ";
|
||||
dumper.Dump(ent->IdentifierTemplate(),S, tempSubLevel);
|
||||
S << endl << "Function Name : ";
|
||||
S << Message_EndLine << "Function Name : ";
|
||||
IGESData_DumpString(S,ent->FunctionName());
|
||||
S << endl << "Text Display Template Entity for CFN : ";
|
||||
S << Message_EndLine << "Text Display Template Entity for CFN : ";
|
||||
dumper.Dump(ent->FunctionTemplate(),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << "Point Identifier : " << ent->PointIdentifier() << endl
|
||||
S << Message_EndLine;
|
||||
S << "Point Identifier : " << ent->PointIdentifier() << Message_EndLine
|
||||
<< "Function Code : " << ent->FunctionCode()
|
||||
<< "Swap Flag : " << ( ent->SwapFlag() ? "True" : "False" ) << endl;
|
||||
<< "Swap Flag : " << ( ent->SwapFlag() ? "True" : "False" ) << Message_EndLine;
|
||||
S << "Owner Subfigure Entity : ";
|
||||
dumper.Dump(ent->OwnerSubfigure(),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -266,17 +266,17 @@ void IGESDraw_ToolDrawing::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_Drawing" << endl;
|
||||
S << "IGESDraw_Drawing" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << endl
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Transformed View Origins : ";
|
||||
S << "Count = " << ent->NbViews();
|
||||
switch (level)
|
||||
{
|
||||
case 4 : S << " [ ask level > 4 for content ]" << endl;
|
||||
case 4 : S << " [ ask level > 4 for content ]" << Message_EndLine;
|
||||
break; // Nothing to be dumped here
|
||||
case 5 : // Presently level 5 and 6 have the same Dump
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
Standard_FALLTHROUGH
|
||||
case 6 :
|
||||
{
|
||||
@@ -284,17 +284,17 @@ void IGESDraw_ToolDrawing::OwnDump
|
||||
Standard_Integer up = ent->NbViews();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << endl << "[" << I << "] ";
|
||||
S << Message_EndLine << "[" << I << "] ";
|
||||
S << "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Transformed View Origin : ";
|
||||
IGESData_DumpXY(S, ent->ViewOrigin(I));
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
S << endl << "Annotation Entities : ";
|
||||
S << Message_EndLine << "Annotation Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbAnnotations(),ent->Annotation);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -286,12 +286,12 @@ void IGESDraw_ToolDrawingWithRotation::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_DrawingWithRotation" << endl;
|
||||
S << "IGESDraw_DrawingWithRotation" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << endl
|
||||
<< "Transformed View Origins : " << endl
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Transformed View Origins : " << Message_EndLine
|
||||
<< "Orientation Angles : ";
|
||||
S << "Count = " << ent->NbViews() << endl;
|
||||
S << "Count = " << ent->NbViews() << Message_EndLine;
|
||||
|
||||
if (level > 4) // Level = 4 : no Dump. Level = 5 & 6 have same Dump
|
||||
{
|
||||
@@ -299,16 +299,16 @@ void IGESDraw_ToolDrawingWithRotation::OwnDump
|
||||
Standard_Integer up = ent->NbViews();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << "[" << I << "]:" << endl;
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Transformed View Origin : ";
|
||||
IGESData_DumpXY(S, ent->ViewOrigin(I));
|
||||
S << " Orientation Angle : " << ent->OrientationAngle(I) << endl;
|
||||
S << " Orientation Angle : " << ent->OrientationAngle(I) << Message_EndLine;
|
||||
}
|
||||
}
|
||||
S << "Annotation Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbAnnotations(),ent->Annotation);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -208,35 +208,35 @@ void IGESDraw_ToolLabelDisplay::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_LabelDisplay" << endl;
|
||||
S << "IGESDraw_LabelDisplay" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << endl
|
||||
<< "Text Locations : " << endl
|
||||
<< "Leader Entities : " << endl
|
||||
<< "Label Level Numbers : " << endl
|
||||
S << "View Entities : " << Message_EndLine
|
||||
<< "Text Locations : " << Message_EndLine
|
||||
<< "Leader Entities : " << Message_EndLine
|
||||
<< "Label Level Numbers : " << Message_EndLine
|
||||
<< "Displayed Entities : ";
|
||||
S << "Count = " << ent->NbLabels() << endl;
|
||||
S << "Count = " << ent->NbLabels() << Message_EndLine;
|
||||
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 << "]:" << endl;
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "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 << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Entity Label Level Number : ";
|
||||
S << ent->LabelLevel(I) << " ";
|
||||
S << "Displayed Entity : ";
|
||||
dumper.Dump (ent->DisplayedEntity(I),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
}
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -230,20 +230,20 @@ void IGESDraw_ToolNetworkSubfigure::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_NetworkSubfigure" << endl;
|
||||
S << "IGESDraw_NetworkSubfigure" << Message_EndLine;
|
||||
|
||||
S << "Network Subfigure Definition Entity : ";
|
||||
dumper.Dump(ent->SubfigureDefinition(),S, sublevel);
|
||||
S << endl << "Translation Data : ";
|
||||
S << Message_EndLine << "Translation Data : ";
|
||||
IGESData_DumpXYZL(S,level, ent->Translation(), ent->Location());
|
||||
S << endl << "Scale Factors : ";
|
||||
S << Message_EndLine << "Scale Factors : ";
|
||||
IGESData_DumpXYZ(S, ent->ScaleFactors());
|
||||
S << endl << "Type Flag : " << ent->TypeFlag() << endl;
|
||||
S << Message_EndLine << "Type Flag : " << ent->TypeFlag() << Message_EndLine;
|
||||
S << "Primary Reference Designator : ";
|
||||
IGESData_DumpString(S,ent->ReferenceDesignator());
|
||||
S << endl << "Text Display Template Entity : ";
|
||||
S << Message_EndLine << "Text Display Template Entity : ";
|
||||
dumper.Dump(ent->DesignatorTemplate(),S, sublevel);
|
||||
S << endl << "Connect Points : ";
|
||||
S << Message_EndLine << "Connect Points : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbConnectPoints(),ent->ConnectPoint);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -227,19 +227,19 @@ void IGESDraw_ToolNetworkSubfigureDef::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_NetworkSubfigureDef" << endl;
|
||||
S << "IGESDraw_NetworkSubfigureDef" << Message_EndLine;
|
||||
|
||||
S << "Depth Of Subfigure(Nesting) : " << ent->Depth() << endl;
|
||||
S << "Depth Of Subfigure(Nesting) : " << ent->Depth() << Message_EndLine;
|
||||
S << "Name Of Subfigure : ";
|
||||
IGESData_DumpString(S,ent->Name());
|
||||
S << endl << "Associated Entities : ";
|
||||
S << Message_EndLine << "Associated Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbEntities(),ent->Entity);
|
||||
S << endl << "Type Flag : " << ent->TypeFlag() << endl;
|
||||
S << Message_EndLine << "Type Flag : " << ent->TypeFlag() << Message_EndLine;
|
||||
S << "Primary Reference Designator : ";
|
||||
IGESData_DumpString(S,ent->Designator());
|
||||
S << endl << "Text Display Template Entity : ";
|
||||
S << Message_EndLine << "Text Display Template Entity : ";
|
||||
dumper.Dump(ent->DesignatorTemplate(),S, tempSubLevel);
|
||||
S << endl << "Connect Point Entities : ";
|
||||
S << Message_EndLine << "Connect Point Entities : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbPointEntities(),ent->PointEntity);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -170,32 +170,32 @@ void IGESDraw_ToolPerspectiveView::OwnDump
|
||||
(const Handle(IGESDraw_PerspectiveView)& ent, const IGESData_IGESDumper& /*dumper*/,
|
||||
const Handle(Message_Messenger)& S, const Standard_Integer level) const
|
||||
{
|
||||
S << "IGESDraw_PerspectiveView" << endl;
|
||||
S << "IGESDraw_PerspectiveView" << Message_EndLine;
|
||||
|
||||
S << "View Number : " << ent->ViewNumber() << " ";
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << endl;
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << Message_EndLine;
|
||||
S << "View Plane Normal Vector : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewNormalVector(), ent->Location());
|
||||
S << endl << "View Reference Point : ";
|
||||
S << Message_EndLine << "View Reference Point : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewReferencePoint() , ent->Location());
|
||||
S << endl << "Center Of Projection : ";
|
||||
S << Message_EndLine << "Center Of Projection : ";
|
||||
IGESData_DumpXYZL(S,level, ent->CenterOfProjection() , ent->Location());
|
||||
S << endl << "View Up Vector : ";
|
||||
S << Message_EndLine << "View Up Vector : ";
|
||||
IGESData_DumpXYZL(S,level, ent->ViewUpVector() , ent->Location());
|
||||
S << endl << "View Plane Distance : " << ent->ViewPlaneDistance()<<endl;
|
||||
S << "Left Side Of Clipping Window : " << ent->TopLeft().X() << endl;
|
||||
S << "Right Side Of Clipping Window : " << ent->BottomRight().X() << endl;
|
||||
S << "Bottom Side Of Clipping Window : " << ent->BottomRight().Y() << endl;
|
||||
S << "Top Side Of Clipping Window : " << ent->TopLeft().Y() << endl;
|
||||
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();
|
||||
switch (ent->DepthClip()) {
|
||||
case 0 : S << " (No Depth Clipping)" << endl; break;
|
||||
case 1 : S << " (Back Clipping Plane ON)" << endl; break;
|
||||
case 2 : S << " (Front Clipping Plane ON)" << endl; break;
|
||||
case 3 : S << " (Front and Back Clipping Planes ON)" << endl; break;
|
||||
default : S << " (Invalid Value)" << endl; break;
|
||||
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;
|
||||
}
|
||||
S << "Back Plane Distance : " << ent->BackPlaneDistance() << " ";
|
||||
S << "Front Plane Distance : " << ent->FrontPlaneDistance() << endl;
|
||||
S << endl;
|
||||
S << "Front Plane Distance : " << ent->FrontPlaneDistance() << Message_EndLine;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -172,7 +172,7 @@ void IGESDraw_ToolPlanar::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_Planar" << endl;
|
||||
S << "IGESDraw_Planar" << Message_EndLine;
|
||||
|
||||
S << "No. of Transformation Matrices : " << ent->NbMatrices() << " ";
|
||||
S << "i.e. : ";
|
||||
@@ -180,8 +180,8 @@ void IGESDraw_ToolPlanar::OwnDump
|
||||
S << "Null Handle";
|
||||
else
|
||||
dumper.OwnDump (ent->TransformMatrix(),S, sublevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Array of Entities on the specified plane : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbEntities(),ent->Entity);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -178,23 +178,23 @@ void IGESDraw_ToolRectArraySubfigure::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_RectArraySubfigure" << endl;
|
||||
S << "IGESDraw_RectArraySubfigure" << Message_EndLine;
|
||||
|
||||
S << "Base Entity : ";
|
||||
dumper.Dump(ent->BaseEntity(),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << " ";
|
||||
S << "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() << endl;
|
||||
S << "Horizontal Distance Between Columns : " << ent->ColumnSeparation()<<endl;
|
||||
S << "Vertical Distance Between Rows : " << ent->RowSeparation() <<endl;
|
||||
S << "Rotation Angle (in radians) : " << ent->RotationAngle() <<endl;
|
||||
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 : ";
|
||||
if (ent->DoDontFlag()) S << "(1)Dont ";
|
||||
else S << "(0)Do ";
|
||||
S << "Do-Dont List : ";
|
||||
IGESData_DumpVals(S ,level,1, ent->ListCount(),ent->ListPosition);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -281,20 +281,20 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
{
|
||||
Standard_Integer sublevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_SegmentedViewsVisible" << endl;
|
||||
S << "IGESDraw_SegmentedViewsVisible" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << endl
|
||||
<< "Breakpoint parameters : " << endl
|
||||
<< "Display flags : " << endl
|
||||
<< "Color Values : " << endl
|
||||
<< "Color Definitions : " << endl
|
||||
<< "LineFont Values : " << endl
|
||||
<< "LineFont Definitions : " << endl
|
||||
<< "Line Weights : " << endl;
|
||||
S << "Count Of Blocks = " << ent->NbSegmentBlocks() << endl;
|
||||
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;
|
||||
switch (level)
|
||||
{
|
||||
case 4 : S << " [ for content, ask level > 4 ]" << endl;
|
||||
case 4 : S << " [ for content, ask level > 4 ]" << Message_EndLine;
|
||||
break; // Nothing to be dumped here
|
||||
case 5 : // Presently level 5 and 6 have the same Dump
|
||||
case 6 :
|
||||
@@ -303,12 +303,12 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
Standard_Integer up = ent->NbSegmentBlocks();
|
||||
for (I = 1; I <= up; I++)
|
||||
{
|
||||
S << "[" << I << "]:" << endl;
|
||||
S << "[" << I << "]:" << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, sublevel);
|
||||
S << endl;
|
||||
S << "Breakpoint parameter : " <<ent->BreakpointParameter(I)<<endl;
|
||||
S << "Display Flag : " << ent->DisplayFlag(I) << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Breakpoint parameter : " <<ent->BreakpointParameter(I)<<Message_EndLine;
|
||||
S << "Display Flag : " << ent->DisplayFlag(I) << Message_EndLine;
|
||||
if ( (ent->ColorDefinition(I)).IsNull() )
|
||||
{
|
||||
S << "Color Value : ";
|
||||
@@ -319,7 +319,7 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
S << "Color Definition : ";
|
||||
dumper.Dump (ent->ColorDefinition(I),S, sublevel);
|
||||
}
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
if ( (ent->LineFontDefinition(I)).IsNull() )
|
||||
{
|
||||
S << "LineFont Value : " << ent->LineFontValue(I);
|
||||
@@ -329,11 +329,11 @@ void IGESDraw_ToolSegmentedViewsVisible::OwnDump
|
||||
S << "LineFont Definition : ";
|
||||
dumper.Dump (ent->LineFontDefinition(I),S, sublevel);
|
||||
}
|
||||
S << endl;
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << Message_EndLine;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
@@ -157,20 +157,20 @@ void IGESDraw_ToolView::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_View" << endl;
|
||||
S << "IGESDraw_View" << Message_EndLine;
|
||||
|
||||
S << "View Number : " << ent->ViewNumber() << endl;
|
||||
S << "Scale Factor : " << ent->ScaleFactor() << endl;
|
||||
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 << endl;
|
||||
dumper.Dump(ent->LeftPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "Top Plane Of View Volume : ";
|
||||
dumper.Dump(ent->TopPlane(),S, tempSubLevel); S << endl;
|
||||
dumper.Dump(ent->TopPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "Right Plane Of View Volume : ";
|
||||
dumper.Dump(ent->RightPlane(),S, tempSubLevel); S << endl;
|
||||
dumper.Dump(ent->RightPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "Bottom Plane Of View Volume : ";
|
||||
dumper.Dump(ent->BottomPlane(),S, tempSubLevel); S << endl;
|
||||
dumper.Dump(ent->BottomPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "Back Plane Of View Volume : ";
|
||||
dumper.Dump(ent->BackPlane(),S, tempSubLevel); S << endl;
|
||||
dumper.Dump(ent->BackPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
S << "Front Plane Of View Volume : ";
|
||||
dumper.Dump(ent->FrontPlane(),S, tempSubLevel); S << endl;
|
||||
dumper.Dump(ent->FrontPlane(),S, tempSubLevel); S << Message_EndLine;
|
||||
}
|
||||
|
@@ -229,15 +229,15 @@ void IGESDraw_ToolViewsVisible::OwnDump
|
||||
(const Handle(IGESDraw_ViewsVisible)& ent, const IGESData_IGESDumper& dumper,
|
||||
const Handle(Message_Messenger)& S, const Standard_Integer level) const
|
||||
{
|
||||
S << "IGESDraw_ViewsVisible" << endl;
|
||||
S << "IGESDraw_ViewsVisible" << Message_EndLine;
|
||||
|
||||
S << "Views Visible : ";
|
||||
IGESData_DumpEntities(S,dumper ,level,1, ent->NbViews(),ent->ViewItem);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
S << "Entities Displayed : ";
|
||||
IGESData_DumpEntities
|
||||
(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
||||
Standard_Boolean IGESDraw_ToolViewsVisible::OwnCorrect
|
||||
|
@@ -341,44 +341,44 @@ void IGESDraw_ToolViewsVisibleWithAttr::OwnDump
|
||||
{
|
||||
Standard_Integer tempSubLevel = (level <= 4) ? 0 : 1;
|
||||
|
||||
S << "IGESDraw_ViewsVisibleWithAttr" << endl;
|
||||
S << "IGESDraw_ViewsVisibleWithAttr" << Message_EndLine;
|
||||
|
||||
S << "View Entities : " << endl
|
||||
<< "Line Font Values : " << endl
|
||||
<< "Line Font Definitions : " << endl
|
||||
<< "Color Number/Definitions : " << endl
|
||||
<< "Line Weights : " << endl;
|
||||
S << "Count of View Blocks : " << ent->NbViews() << endl;
|
||||
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;
|
||||
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 << "]: " << endl;
|
||||
S << "[" << I << "]: " << Message_EndLine;
|
||||
S << "View Entity : ";
|
||||
dumper.Dump (ent->ViewItem(I),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
|
||||
if (ent->IsFontDefinition(I)) {
|
||||
S << "Line Font Definition : ";
|
||||
dumper.Dump (ent->FontDefinition(I),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
else S << "Line Font Value : " << ent->LineFontValue(I) << endl;
|
||||
else S << "Line Font Value : " << ent->LineFontValue(I) << Message_EndLine;
|
||||
|
||||
if (ent->IsColorDefinition(I)) {
|
||||
S << "Color Definition : ";
|
||||
dumper.Dump (ent->ColorDefinition(I),S, tempSubLevel);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
else S << "Color Value : " << ent->ColorValue(I) << endl;
|
||||
else S << "Color Value : " << ent->ColorValue(I) << Message_EndLine;
|
||||
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << endl;
|
||||
S << "Line Weight : " << ent->LineWeightItem(I) << Message_EndLine;
|
||||
}
|
||||
}
|
||||
S << "Displayed Entities : ";
|
||||
IGESData_DumpEntities
|
||||
(S,dumper ,level,1, ent->NbDisplayedEntities(),ent->DisplayedEntity);
|
||||
S << endl;
|
||||
S << Message_EndLine;
|
||||
}
|
||||
|
||||
Standard_Boolean IGESDraw_ToolViewsVisibleWithAttr::OwnCorrect
|
||||
|
Reference in New Issue
Block a user