[fpc-pascal] ObjectBinaryToText - how to write only selected property?

Krzysztof dibo20 at wp.pl
Tue May 8 12:00:18 CEST 2012


Thanks to all for tips

@Graeme. I tried download tiOPS source but can't extract archive on
linux. I never had problems with compressed files on linux. Which
format is this? Can you send mi tiRTTI file via e-mail?

Thanks

2012/5/7 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> On 5 May 2012 18:15, Krzysztof <dibo20 at wp.pl> wrote:
>> I could use RTTI and TypeInfo, but
>> ObjectBinaryToText can parse property hierarchy
>> (Propery1.Subproperty1.Color etc).
>
>
> Out of interest, I have written an "extended" RTTI unit which is used
> in the tiOPF project. All the functions in that unit support what I
> call "property paths", which means you can get and set properties like
> 'myobject.Propery1.Subproperty1.Color' on a object. The unit is called
> tiRTTI.pas, and tiOPF is hosted on SourceForge. The unit handles nil
> valued sub-properties correctly as well. The tiRTTI unit has minimal
> dependency on the other tiOPF units, so it will be very easy to make
> it a pure stand-alone unit.
>
>  http://sourceforge.net/projects/tiopf/
>
>
> --
> Regards,
>   - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://fpgui.sourceforge.net
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list