All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ObjectSpecsModeler Interface CATIOsmExtensionFactory

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

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


interface CATIOsmExtensionFactory

Interface to create a startup of extension.
Role: CATIOsmExtensionFactory should be used on a container of a CATfct catalog to create the startup of an extension in that catalog.
The created startup implements CATIOsmExtension and its instances can be associated to a unique base feature implementing CATIOsmExtendable.
A startup of extension should have a resource associated which indicates : the base features the extension can be added on,
the container identifier in which the extension instances will be instantiated in
and if this extension is local or not (local means not instantiated when base feature is).
Refer first to the CAA technical article "How to add data on a feature" of the CAA encyclopedia and particularly to the section
dedicated to extension features mechanism.


Method Index


o CreateExtension(char*,char*,CATIOsmExtension**)
Creates the startup of an extension.

Methods


o CreateExtension
public virtual HRESULT CreateExtension( const char* iExtensionId,
const char* iFatherExtensionId=NULL,
CATIOsmExtension** oExtension=NULL)=0
Creates the startup of an extension.
Parameters:
iExtensionId
The identifier type of the startup to be created
iFatherExtensionId
The identifier type of the derived extension, NULL if it does not derive from any other extension
oExtension
The startup created

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

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