{"title":"在c++中引入反射的一种方法","authors":"Chen Ping, C. Xiyao, Jin Yimin","doi":"10.1109/CMPSAC.1990.139320","DOIUrl":null,"url":null,"abstract":"The authors report on their work to introduce the reflective architecture in a popular compilation-based language, C++, without modifying the compiler. The reflective architecture provides a disciplined split between the object level and the meta-object level in a class-based form. The unit of causal connections is the class member function. Mechanisms based on the methods diversion are constructed to support a kind of implicitly causal connection. A delegation mechanism is constructed for sharing meta-methods whose classes are not designed as having inheritance. A prototype has been constructed in the Advantage C++ 1.1 M4 running on MSDOS.<<ETX>>","PeriodicalId":127509,"journal":{"name":"Proceedings., Fourteenth Annual International Computer Software and Applications Conference","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An approach to introduce the reflection to C++\",\"authors\":\"Chen Ping, C. Xiyao, Jin Yimin\",\"doi\":\"10.1109/CMPSAC.1990.139320\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The authors report on their work to introduce the reflective architecture in a popular compilation-based language, C++, without modifying the compiler. The reflective architecture provides a disciplined split between the object level and the meta-object level in a class-based form. The unit of causal connections is the class member function. Mechanisms based on the methods diversion are constructed to support a kind of implicitly causal connection. A delegation mechanism is constructed for sharing meta-methods whose classes are not designed as having inheritance. A prototype has been constructed in the Advantage C++ 1.1 M4 running on MSDOS.<<ETX>>\",\"PeriodicalId\":127509,\"journal\":{\"name\":\"Proceedings., Fourteenth Annual International Computer Software and Applications Conference\",\"volume\":\"98 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1990-10-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings., Fourteenth Annual International Computer Software and Applications Conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CMPSAC.1990.139320\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings., Fourteenth Annual International Computer Software and Applications Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CMPSAC.1990.139320","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
作者报告了他们在不修改编译器的情况下,在流行的基于编译的语言c++中引入反射体系结构的工作。反射体系结构以基于类的形式在对象层和元对象层之间提供了严格的分离。因果关系的单位是类成员函数。在方法转移的基础上构建了支持一种隐含因果关系的机制。为了共享那些类没有被设计为具有继承的元方法,构建了一种委托机制。在MSDOS上运行的Advantage c++ 1.1 M4构建了一个原型。
The authors report on their work to introduce the reflective architecture in a popular compilation-based language, C++, without modifying the compiler. The reflective architecture provides a disciplined split between the object level and the meta-object level in a class-based form. The unit of causal connections is the class member function. Mechanisms based on the methods diversion are constructed to support a kind of implicitly causal connection. A delegation mechanism is constructed for sharing meta-methods whose classes are not designed as having inheritance. A prototype has been constructed in the Advantage C++ 1.1 M4 running on MSDOS.<>