Practical usage for Delphi's new RTTI - Attributes,Values
I found a great explanation about the new RTTI in Delphi ,but I don't understand one important thing about all I have read - Where can I use that? What is it supposed to replace? Runner The extended RTTI works like Reflection in .NET. It gives you access to your internal application structure information. You can access class properties, methods etc.. at runtime, at extent you could not do it before. Some ways of using it: Serialization / Deserialization of classes to XML or other media Mapping of objects to databases. ORM. Cloning of objects Dynamic invocation of methods "Scanning" of object