检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安邮电学院,陕西西安710061
出 处:《微型机与应用》2012年第5期11-13,16,共4页Microcomputer & Its Applications
摘 要:为了说明BREW中如何实现用C语言来模拟C++中的面向对象的特性,实现接口的声明与实现的分离、对多个接口的支持和接口的易扩展性。通过实例,阐述了BREW通过虚拟函数表将接口与实现分离,使用ISHELL接口对多个接口支持及扩展。该方法与普通的C语言实现的接口相比较,修改接口而不会影响到应用程序,而接口有更好的可扩展性,更容易管理。In order to illustrate how to use C language to simulate the C + +, object-oriented features in BREW, achieve the separation oflnterface declaration and implementation support for multiple interfaces and interfaces easy scalability. In this paper, for example, BREW virtual function table describes the interface and implementation separation. Use ISHELL this interface to support multiple interfaces and expansion. The methods compare with common C language interface, modify the interface without affecting the application. The interface has better scalability and easier management.
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7