All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Class CATDelegateInstanciationAdapter

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---KnowledgeInterfaces.CATIDelegateInstanciation
        |
        +---CATDelegateInstanciationAdapter
 

Usage: you can derive this class.


public class CATDelegateInstanciationAdapter

CAA2 Adapter to CATIDelegateInstanciation Interface.
Role: This class must be derived to implement extension to CATIDelegateInstanciation.
CATIDelegateInstanciation is the interface used by Knowledgeware to instanciate objects.

See also:
CATIDelegateInstanciation


Constructor and Destructor Index


o CATDelegateInstanciationAdapter()
Constructs the extension.
o ~CATDelegateInstanciationAdapter()
Deletes the extension.

Method Index


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

Constructor and Destructor


o CATDelegateInstanciationAdapter
public CATDelegateInstanciationAdapter()
Constructs the extension.
o ~CATDelegateInstanciationAdapter
public virtual ~CATDelegateInstanciationAdapter()
Deletes the extension.

Methods


o Instanciate
public virtual HRESULT Instanciate( const CATIInstance_var& iOwner,
const CATUnicodeString& iKey,
const CATUnicodeString& typeName,
CATIInstance_var& oInstanciated)
Creates an instance oInstanciated, of type typeName, in owner iOwner, and named iKey. default implementation returns E_FAIL.
o InstanciateObject
public virtual HRESULT InstanciateObject( const CATIInstance_var& iOwner,
const CATUnicodeString& iKey,
const CATUnicodeString& typeName,
CATIInstance_var& oInstanciated,
const CATInstanciationContext* iContext)
Creates an instance oInstanciated, of type typeName, in owner iOwner, and named iKey. default implementation calls Instanciate method.

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

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