0031313: Foundation Classes - Dump improvement for classes
[occt.git] / src / TDataStd / TDataStd_NoteBook.cxx
index 005e023..a385f35 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
+#include <TDataStd_NoteBook.hxx>
 
 #include <Standard_DomainError.hxx>
+#include <Standard_Dump.hxx>
 #include <Standard_GUID.hxx>
 #include <Standard_Type.hxx>
 #include <TDataStd_Integer.hxx>
-#include <TDataStd_NoteBook.hxx>
 #include <TDataStd_Real.hxx>
 #include <TDF_Attribute.hxx>
 #include <TDF_Label.hxx>
@@ -166,4 +167,13 @@ Standard_OStream& TDataStd_NoteBook::Dump (Standard_OStream& anOS) const
   return anOS;
 }
 
+//=======================================================================
+//function : DumpJson
+//purpose  : 
+//=======================================================================
+void TDataStd_NoteBook::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const
+{
+  OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream)
 
+  OCCT_DUMP_BASE_CLASS (theOStream, theDepth, TDF_Attribute)
+}