All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ObjectModelerBase Interface CATIDocRoots

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIDocRoots
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDocRoots

Interface allowing access to document's root element.
Note: V5 documents should not implement this interface which is only used for import in ProductStructure.
To get the root element of a document, use GetRootContainer of CATInit.

See also:
CATInit


Method Index


o GiveDocRoots()
Returns the root element.

Methods


o GiveDocRoots
public virtual CATListValCATBaseUnknown_var* GiveDocRoots()=0
Returns the root element.
Returns:
it's suppose to return a list of objects, but nowadays there is only one root in each document and it's the first element returned in the list.

This object is included in the file: CATIDocRoots.h
If needed, your Imakefile.mk should include the module: CATObjectModelerBase

Copyright © 2003, Dassault Systèmes. All rights reserved.