首页>
外国专利>
Method and apparatus for generating executable code from object-oriented C++ source code
Method and apparatus for generating executable code from object-oriented C++ source code
展开▼
机译:从面向对象的c ++源代码生成可执行代码的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention provides an improved method and apparatus for generating executable computer code for an application program written in C++ source code. In typical prior art systems, application program source code that has not itself been modified must still generally be recompiled in the event that object-oriented class definitions used by the application program and contained in separate header files have been modified. The methods and apparatus of the present invention reduce the need for such recompilation, by using procedural interfaces to implement object-oriented interfaces at the compiled code level. Thus, in accordance with the present invention, compiled header file code is generated that includes accessors for accessing object instances of the class definitions, each of the accessors being a procedure operative to access the object instances of the corresponding class definition. Compiled application program code is generated which replaces object references with procedure calls to appropriate accessors. In this way, the application program and the header file class definitions remain relatively independent of each other with respect to implementation details, even at the compiled code level.
展开▼