cannot make idl_container::get(isa='foo') to work [message #9885] |
Tue, 16 September 1997 00:00 |
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
|
|
|