BUG#:8669
[tpot/pegasus/.git] / src / Pegasus / Common / SCMODump.h
index 0f2e755d45e5ca9fb663375f7714cb0ba18b0fb1..e4f0631a3cfd590890bc99ff27a3ccc6562dc895 100644 (file)
@@ -54,7 +54,7 @@ public:
     SCMODump(const char *filename);
     // Methods for SCMOClass only
     void hexDumpSCMOClass(SCMOClass& testCls) const;
-    void dumpSCMOClass(SCMOClass& testCls) const;
+    void dumpSCMOClass(SCMOClass& testCls,Boolean inclMemHdr = true) const;
     void dumpSCMOClassQualifiers(SCMOClass& testCls) const;
     void dumpKeyPropertyMask(SCMOClass& testCls) const;
     void dumpClassProperties(SCMOClass& testCls) const;
@@ -64,7 +64,9 @@ public:
     void dumpClassKeyBindingNodeArray(SCMOClass& testCls) const;
 
     // Methods for SCMOInstance only
-    void dumpSCMOInstance(SCMOInstance& testInst) const;
+    void dumpSCMOInstance(
+        SCMOInstance& testInst,
+        Boolean inclMemHdr = true) const;
     void dumpSCMOInstanceKeyBindings(
         SCMOInstance& testInst,
         Boolean verbose = false) const ;
@@ -124,11 +126,13 @@ private:
         const SCMBClassProperty& prop,
         char* clsbase) const;
 
-   void _hexDump(char* buffer,Uint64 length) const;
+    void _dumpSCMBMgmt_Header(SCMBMgmt_Header& header,char* base) const;
+
+    void _hexDump(char* buffer,Uint64 length) const;
 
-   Boolean _fileOpen;
-   FILE *_out;
-   String _filename;
+    Boolean _fileOpen;
+    FILE *_out;
+    String _filename;
 };
 
 PEGASUS_NAMESPACE_END