Just for fun, I wrote an application (unit) to inspect the types (With RTTI info) used on my projects developed using Delphi 2010 and Delphi XE.
This project has these features
- A hierarchical view of all types With Rtti info, tha data is showed following this structure Package->Unit->Type->Fields (Methods, properties, fields)
- Show rtti information about any Rtti element
- Search a particular Rtti Element
- A hierarchical view of all existing classes in your project
Check the Screenshots
If you want use this unit in your own projects (Delphi 2010 or Delphi XE), simply add the unit MainRttiExpl to your project and run the procedure ShowRttiLiteExplorer
The source code is available in Github and the demo app is here.
Links updated, now using Dropbox ;).
October 4, 2010 at 11:52 pm
Very nice, a developer can learn a lot about RTTI browsing the source code!!
October 5, 2010 at 1:35 am
Why use Rapidshare ? I naively assume that when someone publishes some code, he wants his fellow developpers read it as unobstruvely as possible. Downloading your code is a pain in the neck !
October 5, 2010 at 2:47 am
i’m sorry Felix, I Knew wich use rapidshare is annoying sometimes, but I have no other option at the moment, because “wordpress.com”. Does not allow binary attachments as zip or rar, in free plans (like my blog). if you have other suggestions to share files this will be welcome.
October 5, 2010 at 3:35 am
Felix the links was updated to dropbox.
October 5, 2010 at 3:23 am
Maybe You can use https://www.dropbox.com/features which also allows Public sharing files with others?
ChAr
October 5, 2010 at 3:36 am
Thanks for the suggestion, now i’m using Dropbox
October 5, 2010 at 4:03 am
it would be better to host it on Google code or SourceForge, so anyone can browse it without downloading, and also it will be easier for you when you have updated version to publish.
May 27, 2011 at 10:32 pm
Yeah, GoogleCode would be the way to go for sure.
October 5, 2010 at 6:58 am
Muy interesante el tema (personalmente RTTI me parece apasionante) y el código de ejemplo.
Un saludo.
October 5, 2010 at 1:25 pm
Gracias Neftali, por los comentarios.
October 5, 2010 at 1:29 pm
Download links are broken.
October 5, 2010 at 1:37 pm
this is because the dropbox servers are temporally down. you can try later.
or use these links
http://rapidshare.com/#!download|929|423148697|Rtti_Explorer_bin.rar|532
http://rapidshare.com/#!download|918|423148734|RttiExplorerLite.rar|93
October 7, 2010 at 12:54 am
thanks for the anwswer. But don’t worry, I did wait the 2 or 3 minutes to get the code before writing my post. In any case, congratulation for your blog which is among the few ones whith solid code or technical information, an not only off-topic buzz rehash
October 7, 2010 at 1:01 am
Thanks for yours comments Felix. see you ;)
May 27, 2011 at 10:32 pm
Great stuff. Very nicely done.
May 28, 2011 at 11:48 am
Thanks for you comments Nick ;)
July 14, 2012 at 9:58 am
thanks, i connected DumpTypeDefinition() to this project , and now have more information