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

Home » Public Forums » archive » Re: IDLgrLegend broken
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: IDLgrLegend broken [message #22842 is a reply to message #22814] Thu, 07 December 2000 00:00 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I just tested this, and I maintain that saving methods to explicitly
named files overrides precompiled superclasses methods with identical names.

What I mean is, for MyObject whos superclass is SuperObject, and both
have Get method, the following happens. IDL *first* searches for
compiled method for MyObject. Then, it searches for a *file* with the
right name, myobject__get.pro, and then, *if not found only*, it
searches for compiled GET method for SuperClass, and, if not found, for superclass__get.pro.

I tested it and it is exactly what happened. I made an instance of
IDLgrModel and an instance of a subclass MYOBJECT that inhereted from
it. I called SetProperty and GetProperty on IDLgrModel to make sure they
are compiled. In advance, I made a file called
myobject__getproperty.pro. When I called myobject -> getproperty *after*
using GetProperty on IDLgrModel, the MYOBJECT::GETPROPERTY module got
compiled and executed, despite the availability of precompiled method
for the superclass.
This means that saving methods in separate files will always work, as
long as they are in the IDL path.

Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: postscript file sizes
Next Topic: GAUSS2DFIT - TILT ?

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

Current Time: Wed Dec 03 20:32:50 PST 2025

Total time taken to generate the page: 0.87987 seconds