Object Oriented Software in Ada 95, Second Edition

简介:
本书面向希望学习面向对象语言 Ada 95 的学生和程序员。本书通过展示如何使用面向对象方法编写程序来说明该语言。本书将 Ada 95 视为一种独立的语言,而不仅仅是 Ada 83 的扩展。
第一章介绍了使用面向对象设计方法解决问题的方法。
本介绍性章节中说明的方法基于 Fusion。
接下来的三章集中介绍了 Ada 95 语言的基本构造。特别是鼓励使用
类型和子类型。通过在程序中使用类型和子类型,编译器可以帮助在编译时而不是运行时发现许多
错误和不一致之处。
然后,本书继续讨论该语言的面向对象特性,并使用大量示例来说明封装、继承和多态性的思想。本书还包含一个使用面向对象设计方法设计和实现程序的详细案例研究。本书还介绍了 Ada 的任务功能。最后,本书开发了一个文本用户界面 API,以实际方式说明面向对象组件在程序中的使用。本书展示了几个使用此界面的程序,以说明所涉及的过程。本书在每章末尾为读者提供了练习和自我评估问题,以便读者练习使用图示的 Ada 组件,并帮助读者巩固对本章内容的理解。本书末尾给出了许多实际练习的答案。我特别要感谢 Corinna 忍受我在“计算机室”的漫长时光,并感谢她对本书材料的呈现和风格提出了许多有用的建议。
英文简介:
This book is aimed at students and programmers who wish to learn the object-oriented language Ada 95. Thebook illustrates the language by showing how programs can be written using an object-oriented approach. Thebook treats Ada 95 as a language in its own right and not just as an extension to Ada 83.The first chapter provides an introduction to problem solving using an object-oriented design methodology.The methodology illustrated in this introductory chapter is based on Fusion.The next three chapters concentrate on the basic constructs in the Ada 95 language. In particular the use oftypes and subtypes is encouraged. By using types and subtypes in a program the compiler can help spot manyerrors and inconsistencies at compile-time rather than run-time.The book then moves on to discuss the object-oriented features of the language, using numerous examples toillustrate the ideas of encapsulation, inheritance and polymorphism. A detailed case study of the design andimplementation of a program using an object-oriented design methodology is included.An introduction to the tasking features of Ada is included. Finally a text user interface API is developed toillustrate in a practical way the use of object-oriented components in a program. Several programs that use thisinterface are shown to illustrate the processes involved.Exercises and self assessment questions are suggested for the reader at the end of each chapter to allow thereader to practise the use of the Ada components illustrated and to help reinforce, the reader's understanding of thematerial in the chapter. Answers to many of the practical exercises are given at the end of the book.I would in particular like to thank Corinna for putting up with my many long hours in the ‘computer room’ andher many useful suggestions on the presentation and style used for the material in this book.
- 书名
- Object Oriented Software in Ada 95, Second Edition
- 译名
- Ada 95 中的面向对象软件,第二版
- 语言
- 英语
- 年份
- 1999
- 页数
- 446页
- 大小
- 1.41 MB
- 标签
- Ada
- 下载
Object Oriented Software in Ada 95, Second Edition.pdf
- 密码
- 65536
最后更新:2025-04-12 23:58:14