Programming Reference: OpenDoc Class Hierarchy

# Programming Reference

## OpenDoc Class Hierarchy

The SOMObject class is the root of the OpenDoc class hierarchy. The following figure is an illustration showing the entire class hierarchy for OpenDoc. In this book, each class description shows the location of the class in the OpenDoc class hierarchy by listing its ancestors and its subclasses. The figure also shows the name of the class definition file (IDL) for each OpenDoc class.

Figure 1. Class Hierarchy for Predefined OpenDoc Objects

           CLASS NAME                 CLASS DEFINITION FILE

    SOMObject                               somobj.idl
      * SOMClassMgr                         somcm.idl
      * SOMClass                            somcls.idl
      * ODObject                            odobject.idl
      |   * ODArbitrator                    arbitrat.idl
      |   * ODBaseCanvas                    canvasb.idl
      |   |   * ODCanvas                    canvas.idl
      |   * ODBaseClipboard                 clipbdb.idl
      |   |   * ODClipboard                 clipbd.idl
      |   * ODBaseDispatcher                disptchb.idl
      |   |   * ODDispatcher                disptch.idl
      |   * ODBaseDragAndDrop               dragdrpb.idl
      |   |   * ODDragAndDrop               dragdrp.idl
      |   * ODBaseDragItemIterator          dgitmitb.idl
      |   |   * ODDragItemIterator          dgitmit.idl
      |   * ODBaseFacet                     facetb.idl
      |   |   * ODFacet                     facet.idl
      |   * ODBaseLinkSpec                  linkspcb.idl
      |   |   * ODLinkSpec                  linkspec.idl
      |   * ODBaseNameSpaceManager          nmspcmgb.idl
      |   |   * ODNameSpaceManager          nmspcmg.idl
      |   * ODBaseSession                   odsessnb.idl
      |   |   * ODSession                   odsessn.idl
      |   * ODBaseStorageSystem             odstorb.idl
      |   |   * ODStorageSystem             odstor.idl
      |   * ODBaseTranslation               transltb.idl
      |   |   * ODTranslation               translt.idl
      |   * ODBinding                       odbindng.idl
      |   * ODDispatchModule                dispmod.idl
      |   * ODEmbeddedFramesIterator        embfritr.idl
      |   * ODFacetIterator                 facetitr.idl
      |   * ODFocusModule                   focusmod.idl
      |   * ODFocusOwnerIterator            focusown.idl
      |   * ODFocusSet                      focusset.idl
      |   * ODFocusSetIterator              focusitr.idl
      |   * ODFrameFacetIterator            frfaitr.idl
      |   * ODInfo                          info.idl
      |   * ODLinkManager                   linkmgr.idl
      |   * ODNameSpace                     namspac.idl
      |   |   * ODObjectNameSpace           objectns.idl
      |   |   * ODValueNameSpace            valuens.idl
      |   * ODObjectIterator                objctitr.idl
      |   * ODPlatformCanvas                platcanv.idl
      |   |   * ODAIXCanvas                 aixpcanv.idl
      |   |   |   * ODAIXStandardCanvas     aixscanv.idl
      |   |   |   * ODAIXWindowCanvas       aixwcanv.idl
      |   |   * ODOS2Canvas                 os2pcanv.idl
      |   |   |   * ODOS2StandardCanvas     os2scanv.idl
      |   |   |   * ODOS2WindowCanvas       os2wcanv.idl
      |   |   * ODWin32Canvas               winpcanv.idl
      |   |   |   * ODWin32StandardCanvas   winscanv.idl
      |   |   |   * ODWin32WindowCanvas     winwcanv.idl
      |   * ODPlatformTypeList              pftypls.idl
      |   * ODPlatformTypeListIterator      pftlitr.idl
      |   * ODRefCntObject                  refctobj.idl
      |   |   * ODMenuBar                   menubar.idl
      |   |       * ODPopup                 popup.idl
      |   |   * ODBaseShape                 shapeb.idl
      |   |   |   * ODShape                 shape.idl
      |   |   * ODBaseTransform             trnsfrmb.idl
      |   |   |   * ODTransform             transfrm.idl
      |   |   * ODContainer                 odctr.idl
      |   |   * ODDocument                  document.idl
      |   |   * ODDraft                     draft.idl
      |   |   * ODExtension                 extensn.idl
      |   |   |   * ODSettingsExtension     settings.idl
      |   |   * ODPersistentObject          pstobj.idl
      |   |   |   * ODBaseLink              linkb.idl
      |   |   |   |   * ODLink              link.idl
      |   |   |   * ODBaseLinkSource        linksrcb.idl
      |   |   |   |   * ODLinkSource        linksrc.idl
      |   |   |   * ODFrame                 frame.idl
      |   |   |   * ODPart                  part.idl
      |   |   * ODStorageUnit               storageu.idl
      |   |   * ODWindow                    window.idl
      |   * ODStorageUnitCursor             sucursor.idl
      |   * ODStorageUnitRefIterator        surefitr.idl
      |   * ODStorageUnitView               suview.idl
      |   * ODTemplates                     odtemps.idl
      |   * ODTypeList                      typelist.idl
      |   * ODTypeListIterator              typlsitr.idl
      |   * ODUndo                          undo.idl
      |   * ODValueIterator                 valueitr.idl
      |   * ODWindowIterator                winiter.idl
      *   * ODWindowState                   winstat.idl

The ancestors of a given class are shown as a path down the class hierarchy. The hierarchy of each class begins with the SOMObject class and ends with the class being described. For example, the following branch appears in the class description of the ODDocument class. The branch indicates that ODRefCntObject is a parent of ODDocument, ODObject is the parent of ODRefCntObject, and SOMObject is the parent of ODObject.

    SOMObject
      ODObject
        ODRefCntObject
          ODDocument

Some OpenDoc object classes cannot be instantiated. You cannot create an instance for that object class. These classes are base classes that provide support for descendant classes that can be instantiated.

[ Top | Previous | Next | Contents | Index | Documentation Homepage ]