All Frameworks Class Hierarchy This Framework Previous Next Indexes
KnowledgeInterfaces Interface CATICkeSetOfEquationsFactory
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATICkeSetOfEquationsFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICkeSetOfEquationsFactory
Interface dedicated to the creation of Set of Equation features.
Method Index
- o
CreateSetOfEquations(CATUnicodeString&,CATUnicodeString&,CATCkeListOfParm,CATUnicodeString&,CATIParmPublisher_var&,CATCke::Boolean&,CATCke::Boolean&)
- Create a set of equations between parameters
(example : x+y=z and x*2=y).
Methods
o CreateSetOfEquations
-
Create a set of equations between parameters
(example : x+y=z and x*2=y).
if a syntax error occurs, NULL_var is returned and a
CATCkeParseException exception is raised
- Parameters:
-
- iRelationName
- = set of equations' name
- iComment
- = comment
- iListOfParameters
- = (pointer on list of CATBaseUnknown_var) contains literal used in inputs or outputs
(x, y and z in our example)
- iBody
- = contains the string describing the set of equations ("x+y=z and x*2=y" in our example)
- iRoot
- = (CATIParmPublisher) used to name parameters with RelativeName (root) method and so to be able to
recognize parameters by their name
Not used in realnames = false mode
- iRealnames
- = 2 possibilities to name a parameter in the body. CATCke::True names used are the one returned by RelativeName
(root) and we try to recognize names used in the
body with parameters of iListParameters..
CATCke::False names used are a1,a2,a3,etc...
a1 meaning the first parameter of iListParameters,
a2, the second one, etc....
We advise you strongly to use this second method in your application to
avoid NLS problems .
- Returns:
- = Set of equations created or NULL_var if syntax error
This object is included in the file: CATICkeSetOfEquationsFactory.h
If needed, your Imakefile.mk should include the module: KnowledgeItf