Claims
- 1. A method in a computer system of referencing source data, the method comprising the steps of:
creating an instance of an identifier object, the identifier object having an internal state to identify the source data and having an indication of a dereferencing function to dereference the identification of the source data; and when storing a reference to the source data, storing a reference to the identifier object whereby the dereferencing function is invoked to dereference the identification of the source data.
- 2. A method in a computer system of identifying a source object, the method comprising the steps of:
creating an instance of an identifier object, the identifier object having an internal state to identify the source object and having a dereferencing member function to dereference the identification of the source object; and when storing a reference to the source object, storing a reference to the identifier object whereby the dereferencing function is invoked to dereference the identification of the source object.
- 3. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a dereferencing function which instantiates a source object and returns a pointer to the instantiated source object.
- 4. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a reducing member function for creating a reduced identifier object that is a canonical form of the identifier object.
- 5. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying an equality member function to determine whether the identifier object is equal to another identifier object.
- 6. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a hashing member function to determine a hash value for the identifier object.
- 7. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a reducing member function, the reducing member function for interpreting a script that identifies the source object and returning another identifier object that is a reduced form of the identifier object.
- 8. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a reducing member function, the reducing member function for interpreting a macro that identifies the source object and returning another identifier object that is a reduced form of the identifier object.
- 9. The method of claim 8 wherein the step of creating an instance of an identifier object includes the step of specifying that the binding member function invokes the reducing member function and then invokes the binding member function of the reduced identifier object to bind to the source object.
- 10. The method of claim 2 wherein the step of creating an instance of an identifier object includes the step of specifying a reducing member function, the reducing member function for interpreting a query that identifies a source object, the query identifying one of a plurality of source objects.
- 11. A method in a computer system for composing a first identifier object with a second identifier object to create a composite identifier object, each identifier object for identifying a source object and having a binding member function for binding to the source object, the method comprising the step of creating an instance of a composite identifier object, the composite identifier object containing a reference to the first identifier object and the second identifier object, the composite identifier object having a binding member function for binding to the object identified by the first identifier object and second identifier object.
- 12. The method of claim 11 wherein the step of creating an instance of a composite identifier object includes the step of specifying a binding member function that invokes the binding member function of the second identifier object passing an indication that the first identifier object is left of the second identifier object and wherein the binding member function of the second identifier object invokes the binding member function of the first identifier object to bind to the source object referenced by the first identifier object.
- 13. A method in a computer system for composing a first identifier object with a second identifier object to create a composite identifier object, each identifier object for identifying a source object and having a binding member function for binding to the source object, the binding member function for receiving a reference to an identifier object that is logically left of the identifier object, the method comprising the steps of:
creating the composite identifier object, the composite identifier object having a left portion indicator and a right portion indicator, the left portion indicator for indicating a left identifier object, the right portion indicator for indicating a right identifier object, the binding member function of the composite identifier object for binding to an object identified by the composition of the left identifier object with the right identifier object; and setting the left portion indicator to indicate the first identifier object and setting the right portion indicating to indicate the second identifier object whereby when the binding member function of the composite identifier object binds to the object identified by the composition of the first identifier object with the second identifier object.
Parent Case Info
[0001] This application is a continuation-in-part of U.S. Ser. No. 07/909,983, filed Jul. 6, 1992, now pending.
Continuations (1)
|
Number |
Date |
Country |
Parent |
08867853 |
Jun 1997 |
US |
Child |
10283627 |
Oct 2002 |
US |