Object-oriented functionality class library for use in graphics programming
First Claim
1. A library of class specifications for use in a programming system of a type which specifies objects and classes therefor and which permits class specification by multiple inheritance, the programming system being implemented in a computer system, the library being readable by the programming system, and the library comprising:
- a first class specification for a first entity class which specifies an entity which is represented by an object anda second class specification for a functionality class which specifies an additional functionality for an object which is an entity of the first entity class, the functionality class being inheritable by a second entity class which also inherits the first entity class,whereby the second entity class may be used in the programming system to specify an object which is an entity of the first entity class and has the additional functionality.
12 Assignments
0 Petitions
Accused Products
Abstract
A library of C++ classes for use in writing data visualization programs. The library embodies a general design principle for class libraries: that the classes are partitioned into entity classes and functionality classes. Entity classes in the library specify properties of areas in a display and the functionality classes specify functionalities which the areas may have, for example, being responsive to the mouse or the keyboard or being capable of executing drawing commands. The classes are narrowly defined, and when the C++ programmer specifies a class for an object, he or she can give the object exactly the desired properties by selecting from among the area classes and the functionality classes. Because properties are acquired by inheritance, code generated using the libraries is shorter and faster than code generated using conventional class libraries.
-
Citations
12 Claims
-
1. A library of class specifications for use in a programming system of a type which specifies objects and classes therefor and which permits class specification by multiple inheritance, the programming system being implemented in a computer system, the library being readable by the programming system, and the library comprising:
-
a first class specification for a first entity class which specifies an entity which is represented by an object and a second class specification for a functionality class which specifies an additional functionality for an object which is an entity of the first entity class, the functionality class being inheritable by a second entity class which also inherits the first entity class, whereby the second entity class may be used in the programming system to specify an object which is an entity of the first entity class and has the additional functionality. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of employing a programming system to generate code for a program, the programming system being implemented in a computer system and being of a type which specifies objects and classes therefor and permits class specification by multiple inheritance and the code being executable in that or another computer system,
the method comprising the steps performed by the programming system of: receiving a specification of an object which is of a class which multiply inherits an entity class and a functionality class specified in a library of class specifications which is readable by the programming system, the library of class specifications including a first class specification for the entity class, the entity class specifying an entity which is represented by an object and a second class specification for the functionality class, the functionality class specifying an additional functionality for an object whose class inherits the entity class; receiving a specification of the object'"'"'s class; and employing code generating means in the programming system to generate the code using the first class specification, the second class specification, the object'"'"'s class specification, and the specification for the object.
Specification