首页>
外国专利>
How to Grant Persistence to Objects in the C ++ Object-Oriented Programming System
How to Grant Persistence to Objects in the C ++ Object-Oriented Programming System
展开▼
机译:如何在C ++面向对象的编程系统中为对象赋予持久性
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention proposes an interface that can create an object in the same concept as the concept of creating an object in an existing C ++ application to give a user a persistent method to an object created in a C ++ application, and the implementation method In order to provide persistence to objects created in C ++ applications, the object creation operator (new ()) is overloaded with the persistent class (OM_POBJECT) using the C ++ application interface of the object-oriented database system.;Parameterless object creation operator (OM_POBJECT :: new ());Object creation operator with or without persistence as parameter (OM_POBJECT :: new (persistent));Object creation operator with parameters of persistence and type name (OM_POBJECT :: new (persistent, typename));Using the operation step of the persistent object creation operator to be called and the operation step for the constructor function.
展开▼