Patent · US Expired

Implementing virtual bases with fixed offsets in object oriented applications

US7380234B2 · kind B2 · utility

5Cited by
8References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 24, 2004
Grant dateMay 27, 2008
Priority date
Expiry dateApr 18, 2026

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/4492
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for implementing virtual bases with fixed offsets in a class hierarchy graph, having nodes representing object classes and edges representing immediate inheritance therebetween, corresponding to an object oriented program includes determining whether a set N including all nodes is empty. A node x is removed from N, when N is not empty. It is determined whether a set Y is empty, Y including nodes that directly and virtually inherit from x. When Y is empty, return to determining whether N is empty, otherwise a node y is removed from Y. It is determined whether y is duplicated. When y is duplicated, return to determining whether Y is empty, otherwise an edge e, representing that y virtually inherits from x, is replaced with an edge e′, representing that x has a fixed offset with respect to y. Upon replacing e, return to determining whether N is empty.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.