On Fri, Nov 22, 2013 at 9:26 AM, Martin Schreiber <[email protected]> wrote:
> On Friday 22 November 2013 13:03:08 Marcos Douglas wrote:
>> On Fri, Nov 22, 2013 at 5:33 AM, Martin Schreiber <[email protected]>
> wrote:
>> > On Friday 22 November 2013 09:09:21 Michael Schnell wrote:
>> >> While I think, private, protected and public are enough visibility
>> >> complexity (omitting published and all the new fancy stuff invented by
>> >> Embarcadero), I supposed "abstract" is one of the concepts that should
>> >> be added to the description.
>> >
>> > In Delphi 'published' is used to switch on RTTI for streaming, we need
>> > another way to define streamed properties independent of visibility
>> > level. 'abstract' and 'reintroduce' or equivalents are planned.
>>
>> Maybe:
>> tfoo = class
>> func exec(); rtti;
>> end;
>>
> Or with compiler switch:
> "
> tfoo = class
> private
> fprop1: int32;
> fprop2: int32;
> protected
> {$rtti streaming}
> property prop1: int32 read fprop1 write fprop1;
> public
> property prop2: int32 read fprop2 write fprop2;
> end;
> "
But you need to close the compiler switch, right?
"
tfoo = class
private
fprop1: int32;
fprop2: int32;
protected
{$rtti on}
property prop1: int32 read fprop1 write fprop1;
public
property prop2: int32 read fprop2 write fprop2;
{$rtti off}
end;
"
--
Marcos Douglas
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk