Implementing object class inheritance in Ada
作者:
WilliamCheng‐Chung Chu,
期刊:
Journal of the Chinese Institute of Engineers
(Taylor Available online 1996)
卷期:
Volume 19,
issue 5
页码: 533-550
ISSN:0253-3839
年代: 1996
DOI:10.1080/02533839.1996.9677818
出版商: Taylor & Francis Group
关键词: object oriented;inheritance;reuse;class hierarchy
数据来源: Taylor
摘要:
The concept of inheritance of object‐oriented model is important in the analysis and design of software intensive systems as a mechanism for building abstractions, for reusing structural and functional information, and for closely modeling the real world. True object‐oriented programming languages are characterized as providing features for directly implementing inheritance models. Although Ada provides features that support other characteristics of object‐oriented designs (such as information hiding, encapsulation, and modularity), it does not directly support the inheritance model and, therefore, typically is referred to as an object‐oriented language. This paper discusses the importance of incorporating the inheritance into an Ada implementation. Our approach seeks to preserve the important qualities of the inheritance model while using only the standard features of Ada without using preprocessors and specialized object‐oriented runtime environments. The approach is evaluated in terms of understandability, efficiency, support for information hiding, class construction, extensibility, and polymorphism.
点击下载:
PDF (1269KB)
返 回