All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATICkeExpressionFactory

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

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


interface CATICkeExpressionFactory

Interface dedicated to Knowledge expressions creation.
Role: manages the creation of Knowledge expressions. This interface is implemented on feature container and volatile factory (CATCkeGlobalFunctions::GetVolatileFactory())

See also:
CATICkeExpression


Method Index


o CopyExpression(CATICkeExpression_var&)
Copy an expression .
o CreateConstraint(CATUnicodeString,CATUnicodeString,CATUnicodeString,CATUnicodeString)
Creates a check expression.
o CreateFunctionalExpression(CATUnicodeString,CATUnicodeString,CATUnicodeString,CATUnicodeString)
Creates a functional expression (to be used in a knowledgeware formula).
o CreateOptConstraint(CATUnicodeString,CATUnicodeString,CATUnicodeString,CATUnicodeString)
Creates an optimization constraint expression.
o CreateProgram(CATUnicodeString,CATUnicodeString,CATUnicodeString,CATUnicodeString)
Creates a rule expression.

Methods


o CopyExpression
public virtual CATICkeExpression_var CopyExpression( const CATICkeExpression_var& iExpToCopy) = 0
Copy an expression .
The object must be aggregated.
o CreateConstraint
public virtual CATICkeExpression_var CreateConstraint(CATUnicodeString name,
CATUnicodeString comment,
CATUnicodeString formalSignature,
CATUnicodeString body) =0
Creates a check expression.
Parameters:
name
name of the expression
comment
comment of the expression
formalSignature
This string describes the type of used parameters and the returned type of the expression.
For a check, no value is returned
body
the body of the check expression
in the case of a feature, this object must be aggregated.
o CreateFunctionalExpression
public virtual CATICkeExpression_var CreateFunctionalExpression(CATUnicodeString name,
CATUnicodeString comment,
CATUnicodeString formalSignature,
CATUnicodeString body) = 0
Creates a functional expression (to be used in a knowledgeware formula).
Parameters:
name
name of the expression
comment
comment of the expression
formalSignature
This string describes the type of used parameters and the returned type of the expression.
For a formula, the returned value is the type of the output parameter of the formula
body
the body of the functional expression
in the case of a feature, this object must be aggregated.
o CreateOptConstraint
public virtual CATICkeExpression_var CreateOptConstraint(CATUnicodeString name,
CATUnicodeString comment,
CATUnicodeString formalSignature,
CATUnicodeString body) =0
Creates an optimization constraint expression.
Parameters:
name
name of the expression
comment
comment of the expression
formalSignature
This string describes the type of used parameters and the returned type of the expression.
For an optimization constraint, no value is returned
body
the body of the expression This method requires the PEO license (Product Engineering Optimizer product.
in the case of a feature, this object must be aggregated.
o CreateProgram
public virtual CATICkeExpression_var CreateProgram(CATUnicodeString name,
CATUnicodeString comment,
CATUnicodeString formalSignature,
CATUnicodeString body) = 0
Creates a rule expression.
Parameters:
name
name of the expression
comment
comment of the expression
formalSignature
This string describes the type of used parameters and the returned type of the expression.
For a rule, no value is returned
body
the body of the rule expression
in the case of a feature, this object must be aggregated.

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

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