首页> 外国专利> Method for providing object database independence in a program written using the C++ programming language

Method for providing object database independence in a program written using the C++ programming language

机译:在使用C ++编程语言编写的程序中提供对象数据库独立性的方法

摘要

The method of the present invention is useful in a computer system having a user interface, a CPU, a memory, at least one disk drive and an object database stored in one or more disk drives. The method is used to derive an object database independent standard API from the description of the object in the object database. The method of the present invention, which is executable by the computer system, comprises the following steps: for each database type, TYPE, declared in the database, executing the following steps: opening a file on said at least one disk drive and storing therein the results of the following steps; declaring a surrogate class sTYPE; for each property, PROP, of TYPE, declaring accessors and mutators; declaring construct and destruct member functions; for each operation, OP, of TYPE, declaring member functions; and, declaring special functions.
机译:本发明的方法可用于具有用户界面,CPU,存储器,至少一个磁盘驱动器和存储在一个或多个磁盘驱动器中的对象数据库的计算机系统中。该方法用于从对象数据库中对象的描述中得出与对象数据库无关的标准API。可由计算机系统执行的本发明的方法包括以下步骤:对于在数据库中声明的每种数据库类型TYPE,执行以下步骤:在所述至少一个磁盘驱动器上打开文件并存储在其中以下步骤的结果;声明代理类sTYPE;对于TYPE的每个属性PROP,声明访问器和更改器;声明构造和破坏成员函数;对于TYPE的每个操作,OP声明成员函数;并且,声明特殊功能。

著录项

  • 公开/公告号US5765039A

    专利类型

  • 公开/公告日1998-06-09

    原文格式PDF

  • 申请/专利权人 UNISYS CORPRATION;

    申请/专利号US19950505140

  • 发明设计人 PETER JOHNSON;

    申请日1995-07-21

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-22 02:39:23

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号