首页 | 本学科首页   官方微博 | 高级检索  
     

C++反射机制的一种简单实现
引用本文:鲍亮,陈平. C++反射机制的一种简单实现[J]. 计算机工程, 2006, 32(16): 95-96,9
作者姓名:鲍亮  陈平
作者单位:西安电子科技大学软件工程研究所,西安,710071
摘    要:讨论了C++反射机制的实现问题,介绍了反射机制的概念和分类,比较了向C++添加反射机制的可能性和方式,提出并分析了一种基于宏定义、模板和泛型机制的C++反射机制实现手段——“简单C++反射机制(Simple C++ Reflection SCR)”。

关 键 词:反射  宏定义  模板  简单C++反射
文章编号:1000-3428(2006)16-0095-02
收稿时间:2005-11-20
修稿时间:2005-11-20

A Simple Implementation of C++ Reflection
BAO Liang,CHEN Ping. A Simple Implementation of C++ Reflection[J]. Computer Engineering, 2006, 32(16): 95-96,9
Authors:BAO Liang  CHEN Ping
Affiliation:Software Engineering Institute, Xidian University, Xi’an 710071
Abstract:This paper is focus on the implementation of C++ reflection mechanism.The definition and classification of reflection is simply introduced first.Then,the possibility and methods on how to add reflection mechanism to C++ programming language are discussed.Finally,simple C++ reflection(SCR),a macro definition,template and generic programming based solution,is discussed.
Keywords:Reflection  Marco definition  Template  Simple C++ reflection(SCR)
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号