首页 | 本学科首页   官方微博 | 高级检索  
     检索      

利用模板实现持久类
引用本文:杨柱.利用模板实现持久类[J].华中科技大学学报(自然科学版),1996(10).
作者姓名:杨柱
作者单位:汕头大学
摘    要:介绍了利用模板技术在母语中定义持久类的实现方法.该方法通过抽象持久类的一般特性定义出持久类的共同的类模板,定义持久类的过程就是由类模板生成模板类的过程.该方法完全区分持久语义和挥发语义,能很好地处理属性的多态性,易于管理持久对象,为最终实现面向对象数据库和持久性程序设计语言提供了很好的基础

关 键 词:面向对象技术  面向对象数据库  持久性语言

The Realization of the Persistent Class Using a Template
Yang Zhu Dept. of Computer,Shantou University,Shantou ,China..The Realization of the Persistent Class Using a Template[J].JOURNAL OF HUAZHONG UNIVERSITY OF SCIENCE AND TECHNOLOGY.NATURE SCIENCE,1996(10).
Authors:Yang Zhu Dept of Computer  Shantou University  Shantou  China
Institution:Yang Zhu Dept. of Computer,Shantou University,Shantou 515063,China.
Abstract:A new way to declare and process the persistent class in the host object oriented programming language is discussed. By the general characteristics of the persistent classes, a common class template structure for all persistent classes is defined. Passing a volatile class as a parameter to the class template, a persistent template class of certain volatile class is formed. It makes the difference between persistent and volatile semantemes very clear and the multimodality of the attribute can be well handled with any persistent object easily managed. It will provide a sound basis for the realization of the object oriented database management system and the persistent programming language.
Keywords:object  oriented programming  object  oriented database management system  persistent programming language
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号