Method and system for implementing software objects
AssigneeMicrosoft Corporation
InventorsMarc B. McDonald, Michael B. Orr
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsMarc B. McDonald, Michael B. Orr
Estimating the term…
The present invention provides a new system for implementing software objects using an object-prototype model. Objects are defined as collections of properties, each having a unique property name. A collection of property names defines a “shape.” The use of shapes frees the representation of an object in memory from the order in which the properties of the object are declared. Methods are defined independently of objects and are applicable to a specified shape, rather than to objects that are derived from a class in which the method is defined. Methods can be applied to any object that has the specified shape or that has a superset of the properties defining the specified shape, regardless of the place of the object in any inheritance hierarchy. The definition of a shape can also include additional selection criteria, such as restrictions on the values of properties, so that the application of a method can be restricted to objects satisfying the specified criteria. The. properties of objects can be divided into subgroups representing different aspects of the object and different subgroups of an object can be inherited from different parent objects, based upon either a has-a or an is-a hierarchy. The shape of an object is determine by all of its properties and is not confined by subgroup boundaries.
An object-oriented method for controlling execution of a program in a digital computer, comprising the steps of:
Dependencies are inferred from the claim text.