RTTI Atributes

shows how to work with RTTI and attributes

RTTI – Run Time Type Library – is approach that helps to manage code when program is running.

Lets say we have code from someOne without docs. RTTI will help to find methods, invoke them,  get / set properties, fields, work with attributes (some meta-information to classes)

defining attributes as derivative from TCustomAttribute

assigning attributes to elements of class

reading attributes



This entry was posted in Delphi. Bookmark the permalink.