Qt/C++ ) m% g8 k( e {* g$ C ) [7 O4 \4 |9 q5 G/ YQt framework extends C++ with its meta-language and provides reflection ability of member/method reference and query by name for Qt objects with QMetaObject class, which contains meta-information about the Qt objects.
Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.
: [* h$ H: u; C5 h/ M2 X- M
貌似并不能直接支持,但是可以实现类似效果。 % b. Z# R# R9 ?% |7 t y0 Kc++ reflection 3 S8 p+ b' Q/ ], s