0031313: Foundation Classes - Dump improvement for classes
[occt.git] / src / Graphic3d / Graphic3d_PresentationAttributes.cxx
index 69ce5ae..25f40c4 100644 (file)
 
 #include <Graphic3d_PresentationAttributes.hxx>
 
+#include <Standard_Dump.hxx>
+
 IMPLEMENT_STANDARD_RTTIEXT (Graphic3d_PresentationAttributes, Standard_Transient)
+
+// =======================================================================
+// function : DumpJson
+// purpose  :
+// =======================================================================
+void Graphic3d_PresentationAttributes::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const
+{
+  OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myBasicFillAreaAspect.get())
+
+  OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myBasicColor)
+
+  OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHiMethod)
+  OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myZLayer)
+  OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDispMode)
+}