Patents
US 7,516,449 B2#3636698 Most CitedExpiredUnited States (USPTO)Utility

Run-time type conversion

22Forward Citations (#3636698 Global)
1.3/yrCitation Velocity (#4521016 Global)
4.25Citation PageRank (#4319301 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, system and computer program product for converting, at run-time, a class of an object from a source class to a destination class. A statement in intermediate code indicating the conversion of the object from the source class to destination class is identified. The destination class is determined to be polymorphic to the source class. Memory space required for the destination class is determined to be less than or equal to the memory space required for the source class. A class hierarchy is traversed up and down at compile time to generate conversion code. At runtime and via up and down traversals of the class hierarchy, the pointer to a virtual function table (v-table) of the object is updated from referencing the v-table of the source class to referencing the v-table of the destination class.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 22.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method of converting, at run-time, a class of an object in an object-oriented programming environment, said method comprising: defining a plurality of classes in said object-oriented programming environment; receiving C++ source code by a computing system and subsequent to said defining said plurality of classes; generating intermediate code from said source code during compile time, wherein said generating said intermediate code is performed by said computing system and subsequent to said receiving said source code; identifying, by said computing system and subsequent t

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Lippman et al., "C++ Primer, Third Edition", Apr. 1998, Addison Wesley Professional.
  • Samek, "Portable Inheritance and Polymorphism in C", Dec. 1997, Embedded Systems Programming.