1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0030997: Foundation Classes - name correction of dump macros

This commit is contained in:
nds
2019-09-25 09:12:41 +03:00
committed by bugmaster
parent 8aafd5f9e3
commit 3de0f78449
40 changed files with 244 additions and 257 deletions

View File

@@ -73,9 +73,9 @@ void Prs3d_ArrowAspect::SetAngle (const Standard_Real theAngle)
// =======================================================================
void Prs3d_ArrowAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_ArrowAspect);
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_ArrowAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAngle);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myLength);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAngle);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myLength);
}

View File

@@ -176,14 +176,14 @@ Prs3d_DatumParts Prs3d_DatumAspect::ArrowPartForAxis (Prs3d_DatumParts thePart)
// =======================================================================
void Prs3d_DatumAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_DatumAspect);
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_DatumAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myPointAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myPointAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAxes);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawLabels);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawArrows);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAxes);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawLabels);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawArrows);
}

View File

@@ -67,21 +67,21 @@ void Prs3d_DimensionAspect::SetCommonColor (const Quantity_Color& theColor)
// =======================================================================
void Prs3d_DimensionAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_DimensionAspect);
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_DimensionAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myLineAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myLineAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myValueStringFormat);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myExtensionSize);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowTailSize);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowOrientation);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTextHPosition);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTextVPosition);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDisplayUnits);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsText3d);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsTextShaded);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsArrows3d);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myValueStringFormat);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myExtensionSize);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowTailSize);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowOrientation);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTextHPosition);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTextVPosition);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDisplayUnits);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsText3d);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsTextShaded);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsArrows3d);
}

View File

@@ -1417,6 +1417,6 @@ bool Prs3d_Drawer::SetShadingModel (Graphic3d_TypeOfShadingModel theModel,
// =======================================================================
void Prs3d_Drawer::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_Drawer);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myShadingAspect.get());
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_Drawer);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myShadingAspect.get());
}

View File

@@ -36,7 +36,7 @@ Prs3d_LineAspect::Prs3d_LineAspect (const Quantity_Color& theColor,
// =======================================================================
void Prs3d_LineAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_LineAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_LineAspect);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
}

View File

@@ -46,21 +46,21 @@ Prs3d_PlaneAspect::Prs3d_PlaneAspect()
// =======================================================================
void Prs3d_PlaneAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_PlaneAspect);
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_PlaneAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myEdgesAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myIsoAspect.get());
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myEdgesAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myIsoAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myArrowAspect.get());
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsLength);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsSize);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsAngle);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPlaneXLength);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPlaneYLength);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsoDistance);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawCenterArrow);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawEdgesArrows);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawEdges);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawIso);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsLength);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsSize);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myArrowsAngle);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPlaneXLength);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPlaneYLength);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsoDistance);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawCenterArrow);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawEdgesArrows);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawEdges);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDrawIso);
}

View File

@@ -49,7 +49,7 @@ Prs3d_PointAspect::Prs3d_PointAspect (const Quantity_Color& theColor,
// =======================================================================
void Prs3d_PointAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_PointAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_PointAspect);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
}

View File

@@ -176,7 +176,7 @@ Standard_Real Prs3d_ShadingAspect::Transparency (const Aspect_TypeOfFacingModel
// =======================================================================
void Prs3d_ShadingAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_ShadingAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_ShadingAspect);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myAspect.get());
}

View File

@@ -55,13 +55,13 @@ Prs3d_TextAspect::Prs3d_TextAspect (const Handle(Graphic3d_AspectText3d)& theAsp
// =======================================================================
void Prs3d_TextAspect::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Prs3d_TextAspect);
OCCT_DUMP_CLASS_BEGIN (theOStream, Prs3d_TextAspect);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myTextAspect.get());
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHeight);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHorizontalJustification);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myVerticalJustification);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myOrientation);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHeight);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHorizontalJustification);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myVerticalJustification);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myOrientation);
}