0031313: Foundation Classes - Dump improvement for classes
[occt.git] / src / XCAFApp / XCAFApp_Application.cxx
index a02d48a..6e5e32a 100644 (file)
@@ -15,6 +15,7 @@
 
 
 #include <Resource_Manager.hxx>
+#include <Standard_Dump.hxx>
 #include <TDF_Label.hxx>
 #include <TDocStd_Document.hxx>
 #include <TPrsStd_DriverTable.hxx>
@@ -67,3 +68,14 @@ void XCAFApp_Application::InitDocument(const Handle(TDocStd_Document)& aDoc) con
 {
   XCAFDoc_DocumentTool::Set(aDoc->Main());
 }
+
+//=======================================================================
+//function : DumpJson
+//purpose  : 
+//=======================================================================
+void XCAFApp_Application::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const
+{
+  OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream)
+
+  OCCT_DUMP_BASE_CLASS (theOStream, theDepth, TDocStd_Application)
+}