All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATIKweActivable

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

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


interface CATIKweActivable

This interface can be used to activate or deactivate a Knowledge feature.


Method Index


o ActivityFacet(CATICkeParm_var&)
Returns the parameter managing relations activity.
o IsActivated(int&)
Tests if the relation is activated.
o SetActivationStatus(int&)
Activates or Deactivates the relation.

Methods


o ActivityFacet
public virtual HRESULT ActivityFacet(CATICkeParm_var& oActivity) const = 0
Returns the parameter managing relations activity.
Returns:
activity (Boolean literal)
o IsActivated
public virtual HRESULT IsActivated(int& oResult) const = 0
Tests if the relation is activated.
Returns:

Legal values: CATCke::True if it is activated CATCke::False if it isn't.
o SetActivationStatus
public virtual HRESULT SetActivationStatus( const int& iStatus) = 0
Activates or Deactivates the relation. if iStatus = 0, the relation is deactivated, nor it is activated. This method may raise activation error (CATKWELifLoopDetected). No ability to catch them in CAA.

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

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