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

Home » Public Forums » archive » cannot make idl_container::get(isa='foo') to work
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cannot make idl_container::get(isa='foo') to work [message #9885] Tue, 16 September 1997 00:00
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
the subject says it all

I have an object that has idl_container as a superclass (inherits
idl_container), and has a couple of additional instances of data. When
I try to retrieve an object from it using the ISA='foo' keyword, the
object returned is the first one in the container. I can get all the
objects using \all, and then use the position=index keyword, but that is
not very friendly.

Or, am I missing the purpose of that keyword?

In addition, how do I delete all the objects from and idl_container,
including the container itself. I have found no better way than to
explicitly delete all the contained objects one by one, and then delete
the container. I was unable to make the idl_container::cleanup method
to work (even when called from the subclasse's method).

Finally, idlgrmodel has some great stuff regarding containers (getbyname
keyword) but one cannot put anything but graphics objects in it (hint,
hint, rsi).

In short, HELP!!!

tia,

--
Mirko Vukovic, Ph.D 3075 Hansen Way M/S K-109
Novellus Systems Palo Alto, CA, 94304
415/424-4969 mirko.vukovic@varian.grc.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem whith half filled symbols
Next Topic: Q: variable dimension arrays in objects

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

Current Time: Wed Oct 08 15:12:55 PDT 2025

Total time taken to generate the page: 0.00701 seconds