0030949: Foundation Classes - Dump improvement for OCCT classes
[occt.git] / src / TopLoc / TopLoc_Datum3D.cxx
index 03984f7..b6ac226 100644 (file)
@@ -19,6 +19,7 @@
 #include <Standard_ConstructionError.hxx>
 #include <Standard_Stream.hxx>
 #include <Standard_Type.hxx>
+#include <Standard_Dump.hxx>
 #include <TopLoc_Datum3D.hxx>
 
 IMPLEMENT_STANDARD_RTTIEXT(TopLoc_Datum3D,Standard_Transient)
@@ -41,6 +42,16 @@ TopLoc_Datum3D::TopLoc_Datum3D (const gp_Trsf& T) :
 {
 }
 
+//=======================================================================
+//function : DumpJson
+//purpose  : 
+//=======================================================================
+void TopLoc_Datum3D::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
+{
+  DUMP_CLASS_BEGIN (theOStream, TopLoc_Datum3D);
+  DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myTrsf);
+}
+
 //=======================================================================
 //function : ShallowDump
 //purpose  :