1
vote
Vote UpVote

Fun with Delphi Rtti – Building a Unit Dependency Tree

The Road to Delphi – You can build a unit dependency tree, wich shows the direct dependency for each unit in your project using the New Rtti. Here a short description of the algorithm used in this code. For each Type(TRttiType) in the list do the following check if the basetype exist in the same unit else add the unit to the list. for each public field in the current type check if exist in the same unit else add the unit to the list. for each method in the current type with an valid ReturnType check if exist in the same unit else add the unit to the list. for each property in the current type check if ...
Favorite? Off-Topic? Rodrigo @ 2010-10-06 01:09

Statistics

Visits: 648
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)