[Lazarus] List the procedures of a object.

Michael Van Canneyt michael at freepascal.org
Tue Mar 27 21:00:07 CEST 2012



On Tue, 27 Mar 2012, Marco van de Voort wrote:

> On Tue, Mar 27, 2012 at 04:51:52PM +0200, Sven Barth wrote:
>>> Is there any how to list the procedures of a object?
>>
>> If you mean in runtime code: there isn't currently any supported method
>> for this. We'd need the extended RTTI of Delphi 2009 for this.
>
> 2010 actually. And since this list has been _very_ sensitive about bloat
> recently, I would not even dare to suggest that way ;-)

I would.

Under command of some switch, of course, it surely would come in handy.

The rtti unit they made for it is of course totally convoluted, but the idea 
to be able to use introspection on all aspects of a class is definitely useful 
and would make RPC frameworks a breeze.

Michael.




More information about the Lazarus mailing list