The Basic API is very similar to the one presented
in the CLIPS OCX. They are NOT identical and do not
share a common code base. Here is a brief description
of the OLE objects exposed by the InProcess server and
some comments on use. For full details refer to the
HTML Help documentation that installs with the product.
|
COM
Object
|
Function
|
|
CLIPSEngine
|
This represents
the CLIPS workspace. You must create one of these
before attempting to create or use any of the
other objects, and maintain at least one of these
for the life of the other objects. At present
ONLY one of these is supported. A future
release will allow you to create multiple engines,
each representing a discrete workspace.
|
|
CLIPSClass
|
represents
a defclass construct.
|
|
CLIPSFact
|
represents
a fact in the CLIPS workspace.
|
|
CLIPSGlobal
|
represents
a defglobal construct.
|
|
CLIPSInstance
|
represents
an instance of a defclass.
|
|
CLIPSInstanceSlot
|
represents
a slot on an instance.
|
|
CLIPSMessage
|
used to
represent a COOL message to be processed by an
instance.
|
|
CLIPSModule
|
represents
a defmodule construct.
|
|
CLIPSRule
|
represents
a defrule construct.
|
|
CLIPSTemplate
|
represents
a deftemplate construct.
|
|
CLIPSTemplateSlot
|
represents
a slot on a template or fact.
|
|
CLIPSRouter
|
this represents
a logical I/O Route. The string data accumulated
by the route can be manipulated much like a SQL
'result set'.
|
|
----------------------------
|
-------Collection
Classes follow ----------------------------------
|
|
CLIPSClasses
|
CLIPSClass
collection
|
|
CLIPSInstances
|
CLIPSInstance
collection
|
|
CLIPSTemplates
|
CLIPSTemplate
colection
|
|
CLIPSFacts
|
CLIPSFact
collection
|
|
CLIPSInstanceSlots
|
CLIPSInstanceSlot
colection
|
|
CLIPSTemplateSlots
|
CLIPSTemplateSlot
collection
|
|
CLIPSGlobals
|
CLIPSGlobal
collection
|
| CLIPSRules |
CLIPSRule collection |