Method and system for destruction of objects using multiple destructor functions in an object-oriented computer system
US5603030A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Jan 7, 1993 |
| Grant date | Feb 11, 1997 |
| Priority date | — |
| Expiry date | Jan 7, 2013 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4492
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and system for generating code to destroy objects is provided. In a preferred embodiment, a compiler generates a plurality of destructor functions for the class. Each destructor function performs a subset of the destruction process. The compiler generates code to invoke one of the plurality of destructor functions to destroy an object of the class. In a preferred embodiment, destructor functions are generated to destroy an object that is not ultimately derived, to destroy an object that is ultimately derived, to destroy an object that is ultimately derived and to deallocate the object memory, to destroy an array of objects, and to destroy an array of objects and to deallocate the memory of the array.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.