Title :
Non-intrusive object introspection in C++: architecture and application
Author :
Chuang, Tyng-Ruey ; Kuo, Y.S. ; Wang, Chien-Min
Author_Institution :
Inst. of Inf. Sci., Acad. Sinica, Taipei, Taiwan
Abstract :
We describe the design and implementation of system architecture to support object introspection in C++. In this system, information is collected by parsing class declarations, and used to build a supporting environment for object introspection. Our approach is nonintrusive because it requires no change to the original class declarations and libraries, and it guarantees compatibility between objects before and after the addition of introspective capability. This is critical if one wants to integrate third-party class libraries, which are often supplied as black boxes and allow no modification, into highly dynamic applications. We show two applications: automatic I/O support for C++ objects; and an interactive exercise of dynamically loaded C++ class libraries
Keywords :
C language; object-oriented languages; object-oriented programming; program compilers; software libraries; software reusability; C++; automatic input output support; class declaration parsing; dynamically loaded class libraries; nonintrusive object introspection; object compatibility; object oriented programming; software libraries; software reuse; system architecture; system design; system implementation; Application software; Computer languages; Contracts; Councils; Delay; Java; Object oriented modeling; Object oriented programming; Runtime; Software libraries;
Conference_Titel :
Software Engineering, 1998. Proceedings of the 1998 International Conference on
Conference_Location :
Kyoto
Print_ISBN :
0-8186-8368-6
DOI :
10.1109/ICSE.1998.671360