All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowHow Interface CATIGenericRuleBaseComponent

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

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


interface CATIGenericRuleBaseComponent

Interface dedicated to defining the basic properties of the Knowledge Expert hierarchy of rulebase, rulesets, checks and rules.


Method Index


o CheckInContext()
Parses and adds the component to the inference engine.
o GetActivate()
Gets the activity of the component.
o GetFatherRuleSet()
Gets the ruleset the component belongs directly to.
o GetGenericRuleBaseComponentName()
Gets the name of the component.
o GetInferenceEngineType()
Gets the type of the inference engine.
o GetRuntimeBase()
Gets the rulebase the component belongs (directly or through rulesets) to.
o IsUseOnly()
Gets the "use-only-ness" of the component.
o SetActivate(CATCke::Boolean)
Sets the activity of the component.
o SetGenericRuleBaseComponentName(CATUnicodeString)
Sets the name of the component.
o SetInferenceEngineType(CATExpertRuleEnum::InferenceEngineType)
Sets the type of the inference engine.
o SetUseOnly()
Forces the component to be use-only (not editable, not removable).

Methods


o CheckInContext
public virtual CATUnicodeString CheckInContext()=0
Parses and adds the component to the inference engine.
Returns:
string containing parse errors.
o GetActivate
public virtual CATCke::Boolean GetActivate()=0
Gets the activity of the component.
Returns:
TRUE or FALSE.
o GetFatherRuleSet
public virtual CATIRuleSet_var GetFatherRuleSet()=0
Gets the ruleset the component belongs directly to.
Returns:
a ruleset
o GetGenericRuleBaseComponentName
public virtual CATUnicodeString GetGenericRuleBaseComponentName()=0
Gets the name of the component.
Returns:
name of the component
o GetInferenceEngineType
public virtual CATExpertRuleEnum::InferenceEngineType GetInferenceEngineType()=0
Gets the type of the inference engine.
Returns:
type of the inference engine ( CATExpertRuleEnum.InferenceEngineType ).
o GetRuntimeBase
public virtual CATIRuleBase_var GetRuntimeBase()=0
Gets the rulebase the component belongs (directly or through rulesets) to.
Returns:
a rulebase.
o IsUseOnly
public virtual boolean IsUseOnly()=0
Gets the "use-only-ness" of the component.
Returns:
Use only status of the component
o SetActivate
public virtual void SetActivate(CATCke::Boolean iActivity)=0
Sets the activity of the component.
Parameters:
iActivity
TRUE or FALSE.
o SetGenericRuleBaseComponentName
public virtual void SetGenericRuleBaseComponentName(CATUnicodeString iName)=0
Sets the name of the component.
Parameters:
iName
name of the component
o SetInferenceEngineType
public virtual void SetInferenceEngineType(CATExpertRuleEnum::InferenceEngineType iSolverType)=0
Sets the type of the inference engine.
Parameters:
iSolverType
type of the inference engine (
CATExpertRuleEnum.InferenceEngineType ).
o SetUseOnly
public virtual HRESULT SetUseOnly()=0
Forces the component to be use-only (not editable, not removable). Be careful : once done, it cannot be undone.
Returns:
S_OK or E_FAIL

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

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