comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Properties
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Properties [message #37412] Fri, 12 December 2003 17:24 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 12 Dec 2003 15:13:44 -0700, David Fanning wrote:

> David Fanning writes:
>
>> What you are missing are GetProperty and SetProperty methods that allow
>> use of the keyword MY_FIRST_PROPERTY. Add those, and you will be in
>> business! :-)
>
> Be sure, by the way, to call the IDLitComponent superclass GetProperty
> and SetProperty methods from within your own! This means the GetPropery
> method will probably need a _REF_EXTRA keyword.
>
> Sheesh! Doesn't this stuff get deep quickly! :-(
>
> Like this:
>
> PRO TestProps, MY_FIRST_PROPERTY=my_first_property, _Ref_Extra=extra
> my_first_property = self.data
> self -> IDLitComponent::GetProperty, _Extra=extra
> END
>
>
Thanks David. And, to my utter and complete surprise, you actually have a
to implement the getting and setting of a property via the keyword in the
(Get|Set)Property methods, you can't fool it by just putting the keyword
there. I gather it must give a value a round trip through
obj->Set,obj->Get to see whether your (Get|Set)Property methods actually
do as advertised. Very sneaky, actually checking on you like that. Makes
me feel like big brother is watching.

JD
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Permanently changing shell
Next Topic: Using callable intf to C w/ READ_TIFF

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:53:44 PDT 2025

Total time taken to generate the page: 0.01405 seconds