4
votes
Vote UpVote

Using RTTI to convert record to/from string

Behind the connection – Delphi RTTI can be easily used to convert a record (Or a class by the way) to a string representation without taking care of how the record is changed during software maintenance. RTTI has a set of methods to handle metadata collected by the compiler at compile time. For example, you can iterate thru all fields of a record to find out his name, data type and get or set his value. I used those
Favorite? Off-Topic? François Piette @ 2013-07-27 16:46

Statistics

Visits: 1396
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Chris
Jeroen Pluimers
Raizal Islami NP
SimaWB
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)