All Frameworks  Class Hierarchy  This Framework  Indexes   

KnowledgeInterfaces Interface CATIDelegateInstanciation

Usage: you can reimplement this interface by deriving the supplied CATDelegateInstanciationAdapter adapter class.


interface CATIDelegateInstanciation

CATIDelegateInstanciation allows several types to use the same instanciation function: The CATIType created by CATITypeDictionary can specify the name of a class which implements CATIDelegateInstanciation.
It will adhere to CATIInstanciation and delegate the instanciate method to an object implementing CATIDelegateInstanciation which will have been created through cATCoCreateInstance called with the name given duting the CATIType declaration.

BOA information: this interface CAN be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o Instanciate(CATIInstance_var&,CATUnicodeString&,CATUnicodeString&,CATIInstance_var&,CATInstanciationContext*)
Creates an instance oInstanciated, of type typeName, in owner iOwner, and named iKey.

Methods


o Instanciate
public virtual Instanciate( const iOwner,
const iKey,
const typeName,
oInstanciated,
const iContext)
Creates an instance oInstanciated, of type typeName, in owner iOwner, and named iKey.

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

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