节点文献
用C++设计多态的显示方式
Applying OOP to Design a Polymorphism Screen-show Function
【摘要】 用面向对象设计(OOP)的方法设计一个符合VESA标准的用于显示的对象类.该类封装了多态的操作方式,用以对图像进行显示和保存.它能根据当时任务要求及环境自动地选择最佳存贮空间(常规内存、扩展内存或磁盘),是一种智能型多态显示方法,实现了方便程序设计、缩短开发周期、提高系统重用性、减少后续阶段错误、提高可维护性等C++的优点.由于本文实现的智能型多态显示方法还能根据函数中参数值的大小不同来选择多态的操作(在一般C++中只能根据函数中参数的个数、类型或对象不同来实现),故其对扩展C++的应用范围是有意义的尝试.
【Abstract】 A class for VESA showing function was designed by using Object OrientedProgramming methods. This class is provided with some Artificial Intelligence. It willautochoose the best storing-room (normal memory, expand memory and disk). Thismethod can carry into convenient effect, short developing period, advance re-using ofsoftware, reduce bugs, enhance maintain etc. advantages. Specially, the ArtificialIntelligence Polymorphism is different from usual C++ according different parameter,then widen use of C++ is applied.
【Key words】 Object Oriented Programming; Artificial Intelligence; screen show;
- 【文献出处】 北京服装学院学报 ,JOURNAL OF BEIJING INSTITUTE OF CLOTHING , 编辑部邮箱 ,1999年02期
- 【分类号】TP312
- 【下载频次】34