期刊文献+

MFC中RTTI技术实现的研究 被引量:3

Research of RTTI Technology in MFC
下载PDF
导出
摘要 RTTI是C++的主要特性之一,它允许用一个匿名的多态指针来发现类型信息。为了从本质上理解RTTI的精髓,充分发挥它的特性,以MFC为例,讨论了如何在库中实现自己的RTTI,通过对MFC中与RTTI有关的宏展开代码的抽象和改进,从概念和理论上简要模拟了RTTI的部分实现机制。经过证明,在理论上是可行的。 RTTI is one of the primary characteristics of C++ language. Information of type with a anonymous polymorphous pointer by the technology Can be discovered. In order to understand the essence of RTTI and make the best use of it's characteristics, take the MFC for example, discuss how to realize your own RTTI in the library. Through abstracting and improving the code of macro about RTTI, simulate part of the mechanism of RTTI in conception and theory. It's proved to be feasible in theory.
作者 刘强
出处 《微机发展》 2003年第a01期62-64,共3页 Microcomputer Development
  • 相关文献

参考文献7

二级参考文献66

  • 1[1]Gamma E,Helm R,Johnson R,et al.Design Patterns-element of Reusable Object-oriented Software.Addison-Wesley,1995
  • 2[2]Johnson R.Frameworks=(Components+Patterns).The Communications of ACM,1997,40(10)
  • 3[3]Fayad M,Schmidt D.Object-oriented Application Frameworks.The Communications of ACM,1997,40(10)
  • 4[4]Johnson R,Foote B.Designing Reusable Classes .Journal of Objectoriented Program ming,1988,1 (2)
  • 5[5]Johnson R.Documenting Framework Using Patterns.OOPSLA′92Proceedings,1992
  • 6Alan W Brown,Kurt C Wallnau.The Current State of CBSE[J].IEEE software, 1998; 15(5) :37~46
  • 7Clemens Szyperski. Component Software_Beyond Object Oriented Programming[M].Addison Wesley, 1997
  • 8Ted Lewis.The next 10,000 years,part 2[J].IEEE Computer,1996;29(5): 78~86
  • 9Ugo Buy,Carlo Ghezzi,Alessandro Orso et al.A Framework for Testing Object-Oriented Components[C].In:Proc First International ICSE Workshop on TESTING DISTRIBUTED COMPONENT-BASED SYSTEMS, 1999: 84~92
  • 10The Common Object Request Broker:Architecture and Specification.URL ftp : / /ftp.omg.org/ pub/ docs/formal/01-12-01 .pdf

共引文献54

同被引文献17

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部