Method for generating an object data structure layout for a clas

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

364DIG1, 3642281, 364280, 364284, G06F 1200

Patent

active

054107059

ABSTRACT:
A method for a computer compiler for an object-oriented programming language for implementing virtual functions and virtual base classes is provided. In preferred embodiments of the present invention, the data structure layout of an object includes a virtual function table pointer, a virtual base table pointer, occurrences of each non-virtual base class, the data members of the class, and occurrences of each virtual base class. If a class introduces a virtual function member and the class has a non-virtual base class with a virtual function table pointer, then the class shares the virtual function table pointer of the non-virtual base class that is first visited in a depth-first, left-to-right traversal of the inheritance tree. In preferred embodiments of the present invention, each instance of a given class shares a set of virtual function tables and virtual base tables for that class. In preferred embodiments, adjusters are used when a function member in a derived class overrides a function member that is defined in more than one base class, and when a derived class has a base class that overrides a function member in a virtual base class of that class and the derived class itself does not override the function member.

REFERENCES:
patent: Re33706 (1991-10-01), Mohri et al.
patent: 4525780 (1985-06-01), Bratt et al.
patent: 5093914 (1992-03-01), Coplien et al.
patent: 5129083 (1992-07-01), Cutler et al.
Turbo C++ Programmers Guide, Borland International, 1990, pp. 102-130.
Smith, P., "OOP With Pascal," EXE, Sep. 1989, v4 n4, p. 18(3).
Ellis, Margaret and Bjarne Stroustrup, The Annotated C++ Reference Manual, Addison-Wesley Publishing Company, New York, 1990, Ch. 10, "Derived Classics," pp. 228-237.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method for generating an object data structure layout for a clas does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method for generating an object data structure layout for a clas, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for generating an object data structure layout for a clas will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1574624

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.