class_docstr: OLE2 Directory Entry
class_docstr_tok: ["OLE2","Directory","Entry"]
docstr: Dump this entry, and all its subentries (for debug purposes only)
docstr_tok: ["Dump","this","entry",",","and","all","its","subentries","(","for","debug","purposes","only",")"]
code: def dump(self, tab=0):
      "Dump this entry, and all its subentries (for debug purposes only)"
      TYPES = [
          "(invalid)",
          "(storage)",
          "(stream)",
          "(lockbytes)",
          "(property)",
          "(root)",
      ]
      try:
          type_name = TYPES[self.entry_type]
      except IndexError:
          type_name = "(UNKNOWN)"
      print(" " * tab + repr(self.name), type_name, end=" ")
      if self.entry_type in (STGTY_STREAM, STGTY_ROOT):
          print(self.size, "bytes", end=" ")
      print()
      if self.entry_type in (STGTY_STORAGE, STGTY_ROOT) and self.clsid:
          print(" " * tab + "{%s}" % self.clsid)
  
      for kid in self.kids:
          kid.dump(tab + 2)
  
imports: from __future__ import print_function
  import io
  import sys
  import struct, array, os.path, datetime, logging
label_desc: Use image node_id 9 for calling the OleDirectoryEntry obj's underlying member method code with example usage: obj.dump(tab) without return types