com::declarativa::interprolog::ObjectExamplePair Class Reference


Public Member Functions

 ObjectExamplePair (Object A)
 ObjectExamplePair (String n, Object A)
 ObjectExamplePair (Object A, Object B)
 ObjectExamplePair (String n, Object A, Object B)
String toString ()

Package Attributes

String name
Object A
Object B

Detailed Description

The class wrapping the information that will allow Prolog to later specify Java objects. An optional Prolog-friendly name can be specified. This class must be ***strictly in sync*** with the corresponding Prolog code, which is critical to InterProlog's startup, cf. predicate ipProcessExamples/1 in interprolog.P.

Definition at line 15 of file ObjectExamplePair.java.


Constructor & Destructor Documentation

com::declarativa::interprolog::ObjectExamplePair::ObjectExamplePair String  n,
Object  A,
Object  B
[inline]
 

Create an object pair, adequate for later teaching it to a Prolog engine and have this produce an ipObjectSpec fact on the Prolog side.

Parameters:
n Optional name for the class, as viewed from the Prolog side.
A An object instance.
n Another object instance, may or not be different from the first.
See also:
com.declarativa.interprolog.PrologEngine::teachMoreObjects(ObjectExamplePair[])

Definition at line 28 of file ObjectExamplePair.java.

References name.


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 13:30:52 2006 for XSB by  doxygen 1.4.5