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

Home » Public Forums » archive » object wizards
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: object wizards [message #22072 is a reply to message #21978] Fri, 13 October 2000 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Bernard Puc wrote:
>
> Hello,
>
> Apparently, an array created with objarr() can only store one type of
> object. And thats consistent with arrays of structures. But, I want to
> store several different objects together somehow in a single variable.
> A structure doesn't work since I have a variable number of objects to
> store. Therefore, is the only way to do this with an array of pointers,
> where each pointer references an object reference?
>
> Any ideas much appreciated.
> --
> Bernard Puc AETC, INC.
> bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
> (703) 413-0500 Arlington, VA 22202


My advice would be to use a container. These are specifically designed
for this purpose. If you decide to do so, you may want to take a look
at my mgs_container object which you can find on my web pages:
http://www.mpimet.mpg.de/~schultz.martin/idl/
This extends the IDL_Container functionality by allowing object access
by name.

Cheers,
Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: object wizards
Next Topic: Re: Problems with IDL call_external to C shared object

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

Current Time: Fri Oct 10 23:48:37 PDT 2025

Total time taken to generate the page: 1.03960 seconds