Qt/C++ 4 S0 Q8 m0 `( X s 8 A/ A; `3 z& G+ ZQt 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.
% n O5 B' [$ @- X; Z( s+ R5 ?# N貌似并不能直接支持,但是可以实现类似效果。 ( H; `8 \; \" Mc++ reflection1 O! Y0 t4 [- e5 L6 l, L