All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowHow Interface CATIRule

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---KnowHow.CATIGenericRuleBaseComponent
        |
        +---KnowHow.CATIRuleBaseComponent
          |
          +---CATIRule
 

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


interface CATIRule

Interface dedicated to describing expert rules.
Role An expert rule is a component able to act on objects verifying a certain condition.
As many rules can be applied at the same time on an object (their conditions are simultaneously true), these rules can be specified to act in a certain order, determined by their priorities. The rule with the highest priority is selected first.


Method Index


o GetPriority()
Gets the priority of the rule.
o SetPriority(double)
Sets the priority of the rule.

Methods


o GetPriority
public virtual double GetPriority()=0
Gets the priority of the rule.
Returns:
the priority.
o SetPriority
public virtual void SetPriority(double iPriority)=0
Sets the priority of the rule.
Parameters:
iPriority
the priority.

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

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