All Frameworks  Class Hierarchy  This Framework  Indexes   

KnowledgeInterfaces Interface CATIInstanceExtension

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


interface CATIInstanceExtension

Interface to declare Knowledgeware access on Feature extensions.
Role: this interface allows a feature extension to publish its types and values to KnowledgeWare and to the Search functionality by granting objects with static type information.
This interface should be implemented by feature extensions.
The extended feature is supposed to delegate its implementation of CATIInstance to the implementation of CATIInstanceExtension on its feature extensions.
Watch out: an extended feature can decide or not to give a Knowledge visibility to its extensions.
Implementations of that interface should derive from CATKweInstanceExtensionAdapter.

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.

See also:
CATIInstance, CATIType, CATIValue


Method Index


o GetValue(CATUnicodeString&)
Gets an attribute value.
o ListSupportedTypes(CATListValCATIType_var&)
Fills the given list with types supported by this feature extension.
o SetValue(CATUnicodeString&,CATIValue_var&)
Sets an attribute value.

Methods


o GetValue
public virtual GetValue( const iKey)
Gets an attribute value.
Parameters:
iKey
Name of the attribute.
Returns:
iValue Value of the attribute (an AddRef is done, if not NULL).
o ListSupportedTypes
public virtual ListSupportedTypes( iolListOfCATIType)
Fills the given list with types supported by this feature extension.
The list is input may not be empty. This method is supposed to add some types to the list.
Parameters:
iolListOfCATIType
the filled list.
o SetValue
public virtual SetValue( const iKey,
const iValue)
Sets an attribute value.
Parameters:
iKey
Name of the attribute.
iValue
Value of the attribute.

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

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