All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATICkeLaw

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

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


interface CATICkeLaw

Interface dedicated to law management.
Role:

Implementations of that interface should derive from CATCkeLawAdapter.

BOA information: this interface CANNOT 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:
CATICkeFunction


Method Index


o AddFormalParameter(CATICkeParm_var&)
Adds a formal parameter to the law.
o ComputesCompositeLaw()
Computes a CATCompositeLaw.
o GetDomain(double&,double&)
Returns the domain of validity of the law.
o GetFormalParameters()
Returns the list of the formal parameters.
o GetFunction()
Returns the function attributed to the Law.
o RemoveFormalParameter(CATICkeParm_var&)
Removes a formal parameter to the law.

Methods


o AddFormalParameter
public virtual void AddFormalParameter( const CATICkeParm_var& iParm) const = 0
Adds a formal parameter to the law.
Parameters:
iParm
The parameter to be added to the law.
o ComputesCompositeLaw
public virtual CATCompositeLaw* ComputesCompositeLaw()const =0
Computes a CATCompositeLaw.
Returns:
The CATCompositeLaw.
o GetDomain
public virtual void GetDomain(double& oMin,
double& oMax) const =0
Returns the domain of validity of the law.
Parameters:
oMin
Minimum limit of the domain
oMax
Maximum limit of the domain
o GetFormalParameters
public virtual CATCkeListOfParm GetFormalParameters()const =0
Returns the list of the formal parameters.
Returns:
The list of parameters of the law.
o GetFunction
public virtual CATICkeFunction_var GetFunction()const =0
Returns the function attributed to the Law.
Returns:
The function.
o RemoveFormalParameter
public virtual void RemoveFormalParameter( const CATICkeParm_var& iParm) const = 0
Removes a formal parameter to the law.
Parameters:
iParm
Removes the specified formal parameter.

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

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