All Frameworks  Class Hierarchy  This Framework  Indexes   

KnowledgeInterfaces Interface 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 CopyExpression( const iExpToCopy)
Copy an expression .
The object must be aggregated.
o CreateConstraint
public virtual CreateConstraint( name,
comment,
formalSignature,
body)
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 CreateFunctionalExpression( name,
comment,
formalSignature,
body)
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 CreateOptConstraint( name,
comment,
formalSignature,
body)
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 CreateProgram( name,
comment,
formalSignature,
body)
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.