Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Introspection, also known as reflection, is the name given to the ability to obtain information dynamically about GOOPS metaobjects. It is perhaps best illustrated by considering an object oriented language that does not provide any introspection, namely C++.
Nothing in C++ allows a running program to obtain answers to the following types of question:
Employee::adjustHoliday(), what class contains the
adjustHoliday()method that will be applied?
In C++, answers to such questions can only be determined by looking at the source code, if you have access to it. GOOPS, on the other hand, includes procedures that allow answers to these questions -- or their GOOPS equivalents -- to be obtained dynamically, at run time.
3.10.1 Classes 3.10.2 Slots 3.10.3 Instances 3.10.4 Generic Functions 3.10.5 Generic Function Methods
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|