| 摘要: |
| 需求工程知识库/PL——RKB/PL(requirement—engineeringknowledgebase/PL)是保持C++原有风格对C++进行的持久性扩充.为支持对象的持久性,RKB/PL在C++对象类的基础上扩充了以约束声明加强对象状态的用户监控;引入簇来表达对象类的集合含义;引入集合、簇、簇闭包的遍历机制来支持对象查询.为支持这些语言机制,RKB/PL具有一个由一组build—in对象类层次、类型信息库及接口函数、系统状态表以及系统服务函数等构成的运行时系统.本文讨论了RKB/PL中这些机制的表示、相应的运行时系统的组成以及它们的主要实现技术.RKB/PL已成功地用于实现“软件需求获取助手FRA”系统的需求工程知识库子系统. |
| 关键词: 持久性 面向对象 簇 约束 查询 |
| DOI: |
| 分类号: |
| 基金项目:本文研究得到国家863高科技项目基金资助. |
|
| RKB/PL:THE PERSISTENCE EXTENSION OF C++ |
|
Tian Zhong,Liu Chang,Chen Ying,Qian Leqiu
|
| Abstract: |
| KB/PL (requirement - engineering knowledge base/PL) is a persistence extension of the C+ + programming language, while adhering to the style of C+ +. In order to support persistence in RKB/PL, constraint declaration is introduced into the C+ + class declaration to facilitate user's monitoring of object state; the notion of cluster is introduced to capture the "set-of-objects" conception of class 3 set iterator, cluster iterator, cluster closure iterator are also introduced to support object query. RKB/PL run -time system facilitating these new language mechanisms is composed of a set of building class hierarchies, type information base interface functions, system service functions and also a set of system state tables. RKB/PL has been used to implement the RKB(requirement-engineering knowledge base) of the "software requirements assistant FRA"system. |
| Key words: Persistence object-orientation cluster constraint query. |