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

Home » Public Forums » archive » Re: Duplicate objects
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: Duplicate objects [message #61973] Tue, 19 August 2008 06:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Wox writes:

> Is there an easy way of duplication IDL objects (not their
> references)? You can off course make a new object with obj_new and use
> set/getproperty to transfer all properties, but that's a bit silly no?

The only way I know to do a "deep" copy of an object
is to SAVE and RESTORE it. Alas, this is typically such
a slow process that most of the time it is unusable in
a working program. In every practical case, I've had
to transfer properties.

Join me in asking ITTVIS for a true object COPY mechanism.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Could the platform and locales of IDL 7 be changed?
Next Topic: Re: Transformation of Objects and Models

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

Current Time: Fri Oct 10 14:08:59 PDT 2025

Total time taken to generate the page: 0.64152 seconds